/* =========================================================
   NOVALIA — الهيدر (v2) · ثيم رائد Twig
   القسم 1 من التصور: الشريط العلوي + الهيدر + قائمة الجوال
   يعتمد على data-testid وأصناف رائد الثابتة فقط.
   ========================================================= */
/* الخطوط نفسها. خط النصوص (IBM Plex Sans Arabic) بـ display=fallback: يُستعمل إن وصل خلال ~3 ث، وبعدها لا يُبدَّل
   في هذه الصفحة (لا قفزة نص متأخرة على الشبكات البطيئة) ويُستعمل من الكاش في الصفحة التالية. خطوط العناوين واللاتيني تبقى swap. */
/* r3b (P-03): الخطوط قواعد font-face مباشرة بدل استيراد ملف Google (كان طلبًا متسلسلًا يحجب الرسم): لا طلب إلى fonts.googleapis.com،
   وملفات woff2 تُطلب من fonts.gstatic.com عند الحاجة فقط. المجموعات: عربي + لاتيني + لاتيني موسّع. المصدر work-r2/perf/fonts.inline.css
   (روابط gstatic بإصدارات ثابتة v6/v21/v15؛ إن غيّرت Google الإصدار تبقى القديمة تعمل). */
/* Alexandria · arabic */
@font-face { font-family: 'Alexandria'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(https://fonts.gstatic.com/s/alexandria/v6/UMBXrPdDqW66y0Y2usFeaijdA4M5.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* Alexandria · latin-ext */
@font-face { font-family: 'Alexandria'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(https://fonts.gstatic.com/s/alexandria/v6/UMBXrPdDqW66y0Y2usFeaiPdA4M5.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Alexandria · latin */
@font-face { font-family: 'Alexandria'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(https://fonts.gstatic.com/s/alexandria/v6/UMBXrPdDqW66y0Y2usFeai3dAw.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond · latin-ext */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/cormorantgaramond/v21/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYp3tKgS4.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond · latin */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/cormorantgaramond/v21/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYqXtK.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond · latin-ext */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url(https://fonts.gstatic.com/s/cormorantgaramond/v21/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYp3tKgS4.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond · latin */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url(https://fonts.gstatic.com/s/cormorantgaramond/v21/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYqXtK.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond · latin-ext */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url(https://fonts.gstatic.com/s/cormorantgaramond/v21/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYp3tKgS4.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cormorant Garamond · latin */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url(https://fonts.gstatic.com/s/cormorantgaramond/v21/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYqXtK.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans Arabic · arabic */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: fallback; src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3CZRtWPQCuHme67tEYUIx3Kh0PHR9N6Ys43PWrfQ.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* IBM Plex Sans Arabic · latin-ext */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: fallback; src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3CZRtWPQCuHme67tEYUIx3Kh0PHR9N6Ysz3PWrfQ.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Sans Arabic · latin */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: fallback; src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3CZRtWPQCuHme67tEYUIx3Kh0PHR9N6Ys93PU.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans Arabic · arabic */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: fallback; src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YPO_-CRXMR5Kw.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* IBM Plex Sans Arabic · latin-ext */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: fallback; src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YPO_-CaXMR5Kw.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Sans Arabic · latin */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: fallback; src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YPO_-CUXMQ.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans Arabic · arabic */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: fallback; src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YPi-OCRXMR5Kw.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* IBM Plex Sans Arabic · latin-ext */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: fallback; src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YPi-OCaXMR5Kw.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Sans Arabic · latin */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: fallback; src: url(https://fonts.gstatic.com/s/ibmplexsansarabic/v15/Qw3NZRtWPQCuHme67tEYUIx3Kh0PHR9N6YPi-OCUXMQ.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html:root {
  --nv-ivory: #FFF7EF; --nv-paper: #FFFBF6; --nv-cream: #FEE6CE; --nv-peach: #F9DABE; --nv-champagne: #E7C7AE;
  --nv-gold: #AC791B; --nv-gold-text: #7A520F; --nv-brown: #522C00; --nv-ink: #171310; --nv-muted: #6B5444;
  --nv-line: rgba(172, 121, 27, .24); --nv-line-soft: rgba(172, 121, 27, .14);
  --nv-ease: cubic-bezier(.32, .72, 0, 1);
  --nv-bar-h: 38px; --nv-row1-h: 96px; --nv-row2-h: 54px;
  --nv-font: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --nv-display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --nv-espresso: #1E1108; --nv-espresso-2: #3A2008;
  --nv-latin: "Cormorant Garamond", "Times New Roman", serif;
  --nv-i-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.2' r='3.7'/%3E%3Cpath d='M4.6 20.2c.9-3.7 3.8-5.7 7.4-5.7s6.5 2 7.4 5.7'/%3E%3C/svg%3E");
  --nv-i-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 8.6h13.6l-.9 11.6H6.1L5.2 8.6z'/%3E%3Cpath d='M9 8.6V7.2a3 3 0 016 0v1.4'/%3E%3C/svg%3E");
  --nv-i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.35' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.6'/%3E%3Cpath d='M20 20l-4.2-4.2'/%3E%3C/svg%3E");
  --nv-i-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
}

body.theme-raed { background: var(--nv-ivory); font-family: var(--nv-font); }

/* ---------- 1. الشريط العلوي ---------- */
.nv-bar {
  height: var(--nv-bar-h); background: var(--nv-ink); color: #F6E7D6;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font: 400 13.5px/1 var(--nv-font);
}
.nv-bar__list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.nv-bar__list li { display: flex; align-items: center; white-space: nowrap; }
.nv-bar__list li + li::before {
  content: ""; width: 5px; height: 5px; margin-inline: 22px; background: var(--nv-gold); transform: rotate(45deg);
}

/* ---------- 2. الهيدر: الهيكل ---------- */
body.theme-raed .store-header {
  position: sticky; top: calc(-1 * (var(--nv-bar-h) + var(--nv-row1-h))); z-index: 60; background: var(--nv-ivory);
}
body.theme-raed .store-header .top-navbar { display: none !important; }
body.theme-raed .store-header > .lg\:hidden:empty { display: none; }
body.theme-raed #mainnav {
  background: var(--nv-ivory) !important; box-shadow: none !important; display: block !important; height: auto !important;
  border-bottom: 1px solid var(--nv-line-soft); transition: background .5s var(--nv-ease), box-shadow .5s var(--nv-ease);
}
body.theme-raed #mainnav .inner {
  background: transparent !important; position: static !important; transform: none !important; animation: none !important;
  box-shadow: none !important; top: auto !important; width: 100% !important;
}
body.theme-raed #mainnav .container { max-width: 1320px; }
body.theme-raed #mainnav .container > .flex {
  display: grid !important; position: relative;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: var(--nv-row1-h) var(--nv-row2-h);
  grid-template-areas: "search brand tools" "menu menu menu";
  align-items: center;
}
body.theme-raed #mainnav .container > .flex > .flex.items-center:not(.justify-end):not(.header-search) { display: contents !important; }

/* ---------- 3. الشعار ---------- */
body.theme-raed [data-testid="store-header-logo"] {
  grid-area: brand; justify-self: center; margin: 0 !important; padding: 0 !important;
  display: grid !important; grid-template-columns: auto auto; grid-template-areas: "mark word" "mark tag";
  column-gap: 16px; align-items: center; align-content: center; text-decoration: none; direction: ltr;
  max-width: none !important; width: auto !important; height: auto !important;
}
body.theme-raed [data-testid="store-header-logo"] img {
  grid-area: mark; width: 54px !important; height: 54px !important; max-width: none !important; max-height: none !important;
  object-fit: cover; border-radius: 50%; padding: 3px; background: var(--nv-paper);
  border: 1px solid var(--nv-line); box-shadow: 0 6px 18px -10px rgba(82, 44, 0, .45);
  transition: transform .7s var(--nv-ease);
}
body.theme-raed [data-testid="store-header-logo"]:hover img { transform: rotate(-6deg) scale(1.04); }
body.theme-raed [data-testid="store-header-logo"]::before {
  content: "NOVALIA"; grid-area: word; align-self: end;
  font: 500 28px/1 var(--nv-latin); letter-spacing: .34em; margin-inline-end: -.34em; color: var(--nv-ink);
}
body.theme-raed [data-testid="store-header-logo"]::after {
  content: "PERFUME  ·  OUD"; grid-area: tag; align-self: start; margin-top: 8px; white-space: pre;
  font: 500 11.5px/1 var(--nv-latin); letter-spacing: .46em; margin-inline-end: -.46em; color: var(--nv-gold-text); text-align: center;
}

/* ---------- 4. البحث (ديسكتوب) ---------- */
body.theme-raed #mainnav .header-search {
  grid-area: search; justify-self: start; width: min(300px, 100%); flex: none;
}
body.theme-raed #mainnav .header-search .s-search-input-wrapper {
  position: relative; background: transparent !important; border: 1px solid var(--nv-line) !important; border-radius: 999px !important;
  height: 46px; display: flex; align-items: center; box-shadow: none !important;
  transition: border-color .4s var(--nv-ease), background .4s var(--nv-ease), box-shadow .4s var(--nv-ease);
}
body.theme-raed #mainnav .header-search .s-search-input-wrapper:hover {
  border-color: var(--nv-gold) !important; background: var(--nv-paper) !important; box-shadow: 0 10px 24px -18px rgba(82, 44, 0, .5) !important;
}
body.theme-raed #mainnav .header-search .s-search-input {
  height: 44px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; cursor: pointer;
  font: 400 14.5px/1 var(--nv-font) !important; color: var(--nv-ink) !important; padding-inline: 46px 18px !important; width: 100%;
}
body.theme-raed #mainnav .header-search .s-search-input::placeholder { color: var(--nv-muted); opacity: 1; }
body.theme-raed #mainnav .header-search .s-search-icon-wrap {
  position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; pointer-events: none;
}
body.theme-raed #mainnav .header-search .s-search-icon svg { display: none; }
body.theme-raed #mainnav .header-search .s-search-icon {
  display: block; width: 20px; height: 20px; background: var(--nv-gold);
  -webkit-mask: var(--nv-i-search) center / contain no-repeat; mask: var(--nv-i-search) center / contain no-repeat;
}

/* ---------- 5. الأدوات: الحساب، البحث المصغّر، السلة ---------- */
body.theme-raed #mainnav .container > .flex > .flex.justify-end {
  grid-area: tools; justify-self: end; margin: 0 !important; gap: 10px; display: flex !important; align-items: center;
  /* حجز المساحة من أول رسم: مكوّنا سلة (الحساب والسلة) يُرسمان لاحقًا فلا يتحرك شيء */
  height: 46px; min-width: 102px; justify-content: flex-end;
}
body.theme-raed #mainnav salla-user-menu { display: flex; flex: none; min-width: 46px; min-height: 46px; align-items: center; justify-content: center; }
body.theme-raed #mainnav salla-cart-summary { margin: 0 !important; display: flex; width: fit-content !important; min-width: 46px !important; min-height: 46px; flex: none; align-items: center; justify-content: center; }
body.theme-raed #mainnav .s-cart-summary-wrapper { margin: 0 !important; gap: 0 !important; }
body.theme-raed #mainnav #s-cart-icon { margin: 0 !important; }
body.theme-raed #mainnav .s-user-menu-login-btn,
body.theme-raed #mainnav .s-cart-summary-wrapper,
.nv-search-btn {
  position: relative; width: 46px; height: 46px; padding: 0 !important; border-radius: 50% !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  background: transparent !important; border: 1px solid var(--nv-line) !important; color: var(--nv-ink) !important; cursor: pointer;
  transition: background .4s var(--nv-ease), border-color .4s var(--nv-ease), transform .4s var(--nv-ease);
}
body.theme-raed #mainnav .s-user-menu-login-btn:hover,
body.theme-raed #mainnav .s-cart-summary-wrapper:hover,
.nv-search-btn:hover { background: var(--nv-cream) !important; border-color: var(--nv-gold) !important; }
body.theme-raed #mainnav .s-user-menu-login-btn:active,
body.theme-raed #mainnav .s-cart-summary-wrapper:active,
.nv-search-btn:active { transform: scale(.94); }
body.theme-raed #mainnav .s-user-menu-login-btn svg,
body.theme-raed #mainnav #s-cart-icon > * { display: none !important; }
body.theme-raed #mainnav .s-user-menu-login-btn::before,
body.theme-raed #mainnav #s-cart-icon::before,
.nv-search-btn::before {
  content: ""; display: block; width: 23px; height: 23px; background: currentColor;
  -webkit-mask: var(--nv-i-user) center / contain no-repeat; mask: var(--nv-i-user) center / contain no-repeat;
}
body.theme-raed #mainnav #s-cart-icon { display: flex; }
body.theme-raed #mainnav #s-cart-icon::before { -webkit-mask-image: var(--nv-i-bag); mask-image: var(--nv-i-bag); }
.nv-search-btn::before { -webkit-mask-image: var(--nv-i-search); mask-image: var(--nv-i-search); }
.nv-search-btn { display: none !important; }
body.theme-raed #mainnav .s-cart-summary-content { display: none !important; }
body.theme-raed #mainnav .s-cart-summary-count {
  position: absolute; top: -5px; inset-inline-end: -5px; inset-inline-start: auto; left: -5px; right: auto; min-width: 22px; width: auto !important; height: 22px; padding: 0 4px !important; margin: 0 !important;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  background: var(--nv-brown) !important; color: var(--nv-ivory) !important; font: 500 13px/1 var(--nv-font); font-variant-numeric: tabular-nums;
  border: 2px solid var(--nv-ivory); box-sizing: border-box;
}

body.theme-raed #mainnav .s-cart-summary-count.nv-zero { display: none !important; }

/* ---------- 6. القائمة (ديسكتوب) ---------- */
@media (min-width: 1025px) {
  body.theme-raed custom-main-menu {
    grid-area: menu; justify-self: stretch; align-self: stretch; display: flex; justify-content: center;
    border-top: 1px solid var(--nv-line-soft);
  }
  body.theme-raed #mobile-menu { display: flex; align-items: stretch; }
  body.theme-raed .main-menu { display: flex !important; align-items: stretch; gap: 4px; margin: 0; padding: 0; flex-wrap: nowrap; }
  body.theme-raed .main-menu > li.root-level { display: flex !important; align-items: stretch; position: relative; height: var(--nv-row2-h); margin: 0 !important; padding: 0 !important; }
  body.theme-raed .main-menu > li.root-level[style*="none"] { display: none !important; }
  body.theme-raed custom-main-menu, body.theme-raed #mobile-menu, body.theme-raed .main-menu { height: var(--nv-row2-h); }
  body.theme-raed .main-menu > li#blog,
  body.theme-raed .main-menu > li:has(> a[href*="/brands"]) { display: none !important; }
  body.theme-raed .main-menu > li.root-level > a {
    position: relative; display: inline-flex !important; flex-direction: row; align-items: center; gap: 6px; padding: 0 17px !important; white-space: nowrap;
    height: var(--nv-row2-h) !important; min-height: 0 !important; margin: 0 !important;
    font: 500 15px/1 var(--nv-font) !important; color: var(--nv-ink) !important; background: transparent !important;
    transition: color .4s var(--nv-ease);
  }
  body.theme-raed .main-menu > li.root-level > a::before {
    content: ""; position: absolute; inset-inline: 17px; bottom: 12px; height: 1px; background: var(--nv-gold);
    transform: scaleX(0); transform-origin: center; transition: transform .55s var(--nv-ease);
  }
  body.theme-raed .main-menu > li.root-level:hover > a,
  body.theme-raed .main-menu > li.root-level:focus-within > a { color: var(--nv-brown) !important; }
  body.theme-raed .main-menu > li.root-level:hover > a::before,
  body.theme-raed .main-menu > li.root-level:focus-within > a::before { transform: scaleX(1); }
  body.theme-raed .main-menu > li.has-children > a::after {
    content: "" !important; position: static !important; inset: auto !important; width: 14px; height: 14px; background: var(--nv-gold); flex: none; font-size: 0; margin: 0 !important; opacity: 1 !important; align-self: center !important; transform: none;
    -webkit-mask: var(--nv-i-chev) center / contain no-repeat; mask: var(--nv-i-chev) center / contain no-repeat;
    transition: transform .5s var(--nv-ease);
  }
  body.theme-raed .main-menu > li.has-children:hover > a::after { transform: rotate(180deg); }
  body.theme-raed .main-menu > li.nv-offers > a { color: var(--nv-gold-text) !important; }
  body.theme-raed .main-menu > li.nv-offers > a > span::before {
    content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-end: 8px; vertical-align: 2px;
    background: var(--nv-gold); transform: rotate(45deg);
  }

  /* القائمة المنسدلة */
  body.theme-raed .main-menu > li > .sub-menu {
    top: 100% !important; inset-inline-start: 4px; width: auto !important; min-width: 248px; margin-top: 0; padding: 10px !important;
    background: var(--nv-paper) !important; border: 1px solid var(--nv-line) !important; border-radius: 0 0 18px 18px !important;
    box-shadow: 0 28px 50px -28px rgba(82, 44, 0, .45) !important;
    opacity: 0; visibility: hidden; transform: translateY(8px); display: block !important;
    transition: opacity .35s var(--nv-ease), transform .45s var(--nv-ease), visibility .35s;
  }
  body.theme-raed .main-menu > li:hover > .sub-menu,
  body.theme-raed .main-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
  body.theme-raed .main-menu .sub-menu ul { margin: 0; padding: 0; }
  body.theme-raed .main-menu .sub-menu li { display: block !important; }
  body.theme-raed .main-menu .sub-menu li > a {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px !important; border-radius: 12px; white-space: nowrap;
    font: 400 14.5px/1.3 var(--nv-font) !important; color: var(--nv-ink) !important; background: transparent !important;
    transition: background .35s var(--nv-ease), padding .45s var(--nv-ease), color .35s;
  }
  body.theme-raed .main-menu .sub-menu li > a::before {
    content: ""; width: 0; height: 1px; background: var(--nv-gold); transition: width .45s var(--nv-ease);
  }
  body.theme-raed .main-menu .sub-menu li > a:hover { background: var(--nv-cream) !important; color: var(--nv-brown) !important; }
  body.theme-raed .main-menu .sub-menu li > a:hover::before { width: 14px; }

  /* ---------- 7. حالة التمرير (ديسكتوب): يبقى صف القائمة ومعه الشعار والأدوات ---------- */
  body.nv-scrolled #mainnav {
    background: rgba(255, 247, 239, .9) !important; -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
    box-shadow: 0 18px 36px -30px rgba(82, 44, 0, .55) !important; border-bottom-color: var(--nv-line);
  }
  body.nv-scrolled custom-main-menu { border-top-color: transparent; }
  body.nv-scrolled #mainnav [data-testid="store-header-logo"],
  body.nv-scrolled #mainnav .container > .flex > .flex.justify-end {
    grid-area: 2 / 1 / 3 / -1; align-self: center; z-index: 2; animation: nv-drop .5s var(--nv-ease) both; pointer-events: auto;
  }
  body.nv-scrolled #mainnav [data-testid="store-header-logo"] { justify-self: start; column-gap: 12px; grid-template-areas: "mark word"; }
  body.nv-scrolled #mainnav [data-testid="store-header-logo"] img { width: 38px !important; height: 38px !important; padding: 2px; box-shadow: none; }
  body.nv-scrolled #mainnav [data-testid="store-header-logo"]::before { font-size: 20px; letter-spacing: .28em; align-self: center; }
  body.nv-scrolled #mainnav [data-testid="store-header-logo"]::after { display: none; }
  body.nv-scrolled #mainnav .container > .flex > .flex.justify-end { justify-self: end; gap: 4px; }
  /* القائمة لا تتغير إطلاقًا عند التمرير (لا حشوة ولا حجم خط ولا محاذاة) ⇒ لا إزاحة تخطيط؛ الشعار والأدوات فقط ينزلان بجوارها */
  body.nv-scrolled #mainnav .s-user-menu-login-btn,
  body.nv-scrolled #mainnav .s-cart-summary-wrapper,
  body.nv-scrolled .nv-search-btn { width: 40px; height: 40px; border-color: transparent !important; }
  body.nv-scrolled .nv-search-btn { display: inline-flex !important; }
  body.nv-scrolled #mainnav .s-cart-summary-count { top: -1px; left: -5px; min-width: 21px; height: 21px; font-size: 13px; border-width: 1.5px; padding: 0 3px !important; }
}
@keyframes nv-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (min-width: 1025px) and (max-width: 1279px) {
  body.theme-raed .main-menu > li.root-level > a { padding: 0 12px !important; font-size: 14.5px !important; }
  body.theme-raed .main-menu > li.root-level > a::before { inset-inline: 12px; }
  body.nv-scrolled #mainnav [data-testid="store-header-logo"]::before { display: none; }
}

/* ---------- 8. الجوال والتابلت (حتى 1024) ---------- */
@media (max-width: 1024px) {
  html:root { --nv-bar-h: 36px; }
  .nv-bar { font-size: 13px; }
  .nv-bar__list { position: relative; width: 100%; height: 100%; }
  .nv-bar__list li {
    position: absolute; inset: 0; justify-content: center; opacity: 0; transform: translateY(8px);
    transition: opacity .6s var(--nv-ease), transform .6s var(--nv-ease);
  }
  .nv-bar__list li::before { display: none !important; }
  .nv-bar__list li.is-on { opacity: 1; transform: none; }

  body.theme-raed .store-header { top: calc(-1 * var(--nv-bar-h)); }
  body.theme-raed #mainnav .container { padding-inline: 10px; }
  body.theme-raed #mainnav .container > .flex {
    grid-template-columns: 44px 44px minmax(0, 1fr) 88px; grid-template-rows: 62px;
    grid-template-areas: "burger find brand tools";
  }
  body.theme-raed #mainnav .header-search { display: none !important; }
  body.theme-raed custom-main-menu { position: absolute; }

  body.theme-raed .mburger {
    grid-area: burger; display: inline-flex !important; width: 44px; height: 44px; margin: 0 !important; padding: 0 !important;
    flex-direction: column; align-items: center; justify-content: center; gap: 7px; border-radius: 50%;
  }
  body.theme-raed .mburger i { display: none !important; }
  body.theme-raed .mburger::before, body.theme-raed .mburger::after {
    content: ""; display: block; height: 1.5px; border-radius: 2px; background: var(--nv-ink); transition: width .4s var(--nv-ease);
  }
  body.theme-raed .mburger::before { width: 22px; }
  body.theme-raed .mburger::after { width: 14px; align-self: flex-start; margin-inline-start: 11px; }
  body.theme-raed .mburger:active::after { width: 22px; }

  .nv-search-btn { grid-area: find; display: inline-flex !important; }
  body.theme-raed #mainnav .s-user-menu-login-btn,
  body.theme-raed #mainnav .s-cart-summary-wrapper,
  .nv-search-btn { width: 44px; height: 44px; border-color: transparent !important; }
  body.theme-raed #mainnav .container > .flex > .flex.justify-end { gap: 0; height: 44px; min-width: 88px; }
  body.theme-raed #mainnav salla-user-menu, body.theme-raed #mainnav salla-cart-summary { min-width: 44px !important; min-height: 44px; }
  body.theme-raed #mainnav .s-cart-summary-count { top: 1px; left: -4px; min-width: 21px; height: 21px; font-size: 13px; border-width: 1.5px; padding: 0 3px !important; }

  body.theme-raed [data-testid="store-header-logo"] { grid-template-areas: "mark word"; column-gap: 9px; min-height: 44px; }
  body.theme-raed [data-testid="store-header-logo"] img { width: 38px !important; height: 38px !important; padding: 2px; box-shadow: none; }
  body.theme-raed [data-testid="store-header-logo"]::before { font-size: 19px; letter-spacing: .22em; margin-inline-end: -.22em; align-self: center; }
  body.theme-raed [data-testid="store-header-logo"]::after { display: none; }

  body.nv-scrolled #mainnav {
    background: rgba(255, 247, 239, .9) !important; -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
    box-shadow: 0 14px 30px -26px rgba(82, 44, 0, .6) !important; border-bottom-color: var(--nv-line);
  }
}
@media (max-width: 374px) {
  body.theme-raed [data-testid="store-header-logo"]::before { font-size: 17px; letter-spacing: .2em; margin-inline-end: -.2em; }
  body.theme-raed [data-testid="store-header-logo"] img { width: 36px !important; height: 36px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.theme-raed .store-header *, .nv-bar * { transition: none !important; animation: none !important; }
}

/* ---------- 9. قائمة الجوال الجانبية (mmenu-light) ---------- */
@media (max-width: 1024px) {
  body.theme-raed .mm-ocd { z-index: 80; }
  body.theme-raed .mm-ocd__backdrop { background: rgba(23, 19, 16, .46); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
  body.theme-raed .mm-ocd__content { width: 86% !important; max-width: 380px !important; background: var(--nv-ivory); box-shadow: -30px 0 60px -30px rgba(23, 19, 16, .5); }
  body.theme-raed .mm-ocd__content::after {
    content: "NOVALIA"; position: absolute; inset-inline: 0; bottom: calc(26px + env(safe-area-inset-bottom)); text-align: center; pointer-events: none;
    font: 500 20px/1 var(--nv-latin); letter-spacing: .5em; color: var(--nv-champagne); z-index: 3;
  }
  body.theme-raed #mobile-menu.mm-spn {
    background: var(--nv-ivory) !important; color: var(--nv-ink) !important; font-family: var(--nv-font);
    --mm-spn-item-height: 54px; --mm-spn-item-indent: 24px; --mm-spn-line-height: 26px;
  }
  body.theme-raed #mobile-menu.mm-spn.mm-spn--navbar::after {
    font: 500 15px/var(--mm-spn-item-height) var(--nv-font); color: var(--nv-ink); opacity: 1; height: 64px; line-height: 64px;
    text-align: start; padding-inline: 24px 72px; border: 0;
  }
  body.theme-raed #mobile-menu.mm-spn.mm-spn--navbar ul { top: 64px; }
  body.theme-raed #mobile-menu.mm-spn.mm-spn--navbar ul::before { border-top: 1px solid var(--nv-line); opacity: 1; }
  body.theme-raed #mobile-menu.mm-spn ul { background: var(--nv-ivory) !important; }
  body.theme-raed #mobile-menu.mm-spn li { font-weight: 400 !important; font-size: 15px !important; }
  body.theme-raed #mobile-menu.mm-spn li::after { border-top: 1px solid var(--nv-line-soft); opacity: 1; margin-inline: 24px; }
  body.theme-raed #mobile-menu.mm-spn li::before { border-color: var(--nv-gold); opacity: 1; width: 9px; height: 9px; border-width: 1.5px; }
  body.theme-raed #mobile-menu.mm-spn a, body.theme-raed #mobile-menu.mm-spn span { color: var(--nv-ink) !important; }
  body.theme-raed #mobile-menu.mm-spn a:not(:last-child)::after { border-color: var(--nv-line-soft); }
  body.theme-raed #mobile-menu.mm-spn li#blog,
  body.theme-raed #mobile-menu.mm-spn li:has(> a[href*="/brands"]) { display: none !important; }
  body.theme-raed #mobile-menu .close-mobile-menu, body.theme-raed .close-mobile-menu {
    background: transparent !important; color: var(--nv-ink) !important; width: 44px; height: 44px; top: 10px; inset-inline-end: 12px; inset-inline-start: auto;
    border: 1px solid var(--nv-line); border-radius: 50%; font-size: 15px; display: inline-flex; align-items: center; justify-content: center;
  }
}
@media (max-width: 340px) {
  body.theme-raed [data-testid="store-header-logo"]::before { display: none; }
}

/* ---------- 10. التركيز المرئي (لوحة المفاتيح) ---------- */
body.theme-raed #mainnav a:focus-visible,
body.theme-raed #mainnav button:focus-visible,
body.theme-raed #mainnav .s-search-input:focus-visible,
body.theme-raed #mainnav .s-user-menu-trigger:focus-visible,
.nv-search-btn:focus-visible { outline: 2px solid var(--nv-gold-text) !important; outline-offset: 2px; }
body.theme-raed .main-menu > li.root-level > a:focus-visible { outline-offset: -6px; border-radius: 12px; }
body.theme-raed #mainnav .header-search .s-search-input-wrapper:focus-within { border-color: var(--nv-gold) !important; background: var(--nv-paper) !important; }

/* ---------- 11. العميلة المسجلة: زر الحساب وقائمته (سلة: s-user-menu-trigger / s-user-menu-dropdown) ----------
   سلة ترسم بعد الدخول صورة رمزية في مربع أبيض ونقطة حمراء؛ هنا نفس دائرة زر الزائرة بأيقونة المستخدم،
   ونقطة ذهبية للإشعارات، والقائمة بألوان الهوية (ورقة سفلية على الجوال). */
body.theme-raed #mainnav .s-user-menu-trigger-slot { display: flex; padding: 0 !important; background: none !important; }
body.theme-raed #mainnav .s-user-menu-trigger {
  position: relative; width: 46px; height: 46px; padding: 0 !important; margin: 0 !important; border-radius: 50% !important; cursor: pointer;
  display: inline-flex !important; align-items: center; justify-content: center; gap: 0 !important;
  background: transparent !important; border: 1px solid var(--nv-line) !important; color: var(--nv-ink) !important; box-shadow: none !important;
  transition: background .4s var(--nv-ease), border-color .4s var(--nv-ease), transform .4s var(--nv-ease);
}
body.theme-raed #mainnav .s-user-menu-trigger:hover { background: var(--nv-cream) !important; border-color: var(--nv-gold) !important; }
body.theme-raed #mainnav .s-user-menu-trigger:active { transform: scale(.94); }
body.theme-raed #mainnav .s-user-menu-avatar-wrap {
  width: 23px !important; height: 23px !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: currentColor !important; -webkit-mask: var(--nv-i-user) center / contain no-repeat; mask: var(--nv-i-user) center / contain no-repeat;
}
body.theme-raed #mainnav .s-user-menu-avatar-wrap::after,
body.theme-raed #mainnav .s-user-menu-trigger-avatar,
body.theme-raed #mainnav .s-user-menu-trigger-content,
body.theme-raed #mainnav .s-user-menu-trigger-icon { display: none !important; }
body.theme-raed #mainnav .s-user-menu-red-dot .s-user-menu-trigger::after {
  content: ""; position: absolute; top: 8px; inset-inline-end: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--nv-gold); box-shadow: 0 0 0 2px var(--nv-ivory);
}
@media (max-width: 1024px) {
  body.theme-raed #mainnav .s-user-menu-trigger { width: 44px; height: 44px; border-color: transparent !important; }
}
@media (min-width: 1025px) {
  body.nv-scrolled #mainnav .s-user-menu-trigger { width: 40px; height: 40px; border-color: transparent !important; }
}
body.theme-raed #mainnav .s-user-menu-dropdown { background: var(--nv-paper) !important; border: 1px solid var(--nv-line-soft) !important; box-shadow: 0 30px 50px -30px rgba(82, 44, 0, .45) !important; overflow: hidden; }
@media (min-width: 1025px) { body.theme-raed #mainnav .s-user-menu-dropdown { border-radius: 20px !important; padding: 8px !important; min-width: 250px; } }
@media (max-width: 1024px) { body.theme-raed #mainnav .s-user-menu-dropdown { border-radius: 26px 26px 0 0 !important; padding-bottom: max(12px, env(safe-area-inset-bottom)) !important; } }
body.theme-raed #mainnav .s-user-menu-dropdown-header { border-color: var(--nv-line-soft) !important; }
body.theme-raed #mainnav .s-user-menu-dropdown-header-content p { font: 500 15px/1.5 var(--nv-display) !important; color: var(--nv-ink) !important; }
body.theme-raed #mainnav .s-user-menu-dropdown-header-close svg { fill: var(--nv-brown) !important; }
body.theme-raed #mainnav .s-user-menu-dropdown-item a { min-height: 44px; border-radius: 14px; color: var(--nv-ink) !important; font: 400 14.5px/1.5 var(--nv-font) !important; }
body.theme-raed #mainnav .s-user-menu-dropdown-item a:hover { background: rgba(249, 218, 190, .35) !important; }
body.theme-raed #mainnav .s-user-menu-dropdown-item-prefix svg { fill: var(--nv-gold-text) !important; }
body.theme-raed #mainnav .s-user-menu-dropdown-item-badge { background: var(--nv-gold-text) !important; color: #FFF !important; font-size: 13px !important; }
body.theme-raed #mainnav .s-user-menu-dropdown-item-logout a, body.theme-raed #mainnav .s-user-menu-dropdown-item-logout a svg { color: var(--nv-muted) !important; fill: var(--nv-muted) !important; }
body.theme-raed #mainnav .s-user-menu-dropdown-header-close { position: relative; }
body.theme-raed #mainnav .s-user-menu-dropdown-header-close::after { content: ""; position: absolute; inset: -12px; } /* مساحة لمس 44px */

/* ---------- 12. مسار التنقل (salla-breadcrumb) في كل الصفحات: مساحة لمس 44px بلا تغيير في التخطيط ---------- */
body.theme-raed salla-breadcrumb .s-breadcrumb-item a { display: inline-block; padding-block: 12px; margin-block: -12px; }
body.theme-raed salla-breadcrumb .s-breadcrumb-item a:focus-visible { outline: 2px solid var(--nv-gold-text); outline-offset: -8px; border-radius: 10px; }

/* ---------- 13. لا بريد في شريط سلة العلوي (مخفي كله أصلًا؛ احتياطًا لأي لحظة قبل اكتمال التنسيق) ---------- */
body.theme-raed header.store-header .top-navbar a[href^="mailto:"],
body.theme-raed header.store-header salla-contacts a[href^="mailto:"] { display: none !important; }

/* =========================================================
   NOVALIA — الهيرو الرئيسي «أورا» (v2)
   الفكرة: الهالة — حلقات ضوء ذهبية تحيط بالبكج على خلفية بنّية عميقة
   ========================================================= */
body.theme-raed.index .nv-replaced { display: none !important; }

.nv-hero { padding: 22px 0 0; font-family: var(--nv-font); }
.nv-hero__panel {
  position: relative; isolation: isolate; overflow: hidden; margin: 0 auto; width: min(1320px, calc(100% - 40px));
  border-radius: 34px; color: #FBEFE3;
  background:
    radial-gradient(60% 80% at 24% 46%, rgba(172, 121, 27, .5) 0%, rgba(172, 121, 27, 0) 62%),
    radial-gradient(40% 55% at 88% 0%, rgba(249, 218, 190, .16) 0%, rgba(249, 218, 190, 0) 70%),
    radial-gradient(70% 90% at 0% 100%, rgba(82, 44, 0, .9) 0%, rgba(82, 44, 0, 0) 70%),
    linear-gradient(135deg, #1E1108 0%, #2B1707 46%, #4A2804 100%);
  box-shadow: 0 50px 90px -60px rgba(30, 17, 8, .9), inset 0 1px 0 rgba(255, 255, 255, .08);
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); grid-template-rows: minmax(500px, auto) auto;
  grid-template-areas: "copy art" "set set";
}
.nv-hero__panel::after { /* حبيبات خفيفة */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px); background-size: 4px 4px;
}

/* ---- الهالة ---- */
.nv-hero__halo { position: absolute; z-index: -1; inset-inline-end: 25%; top: 46%; width: 0; height: 0; pointer-events: none; }
.nv-hero__halo i { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.nv-hero__halo .g { width: 620px; height: 620px; background: radial-gradient(circle, rgba(255, 214, 150, .72) 0%, rgba(224, 160, 60, .4) 30%, rgba(172, 121, 27, 0) 68%); animation: nv-breathe 7s ease-in-out infinite; }
.nv-hero__halo .r1 { width: 430px; height: 430px; border: 1px solid rgba(255, 226, 180, .5); }
.nv-hero__halo .r2 { width: 590px; height: 590px; border: 1px solid rgba(255, 226, 180, .3); }
.nv-hero__halo .r3 { width: 770px; height: 770px; border: 1px solid rgba(255, 226, 180, .16); }
.nv-hero__halo .a1, .nv-hero__halo .a2 {
  background: conic-gradient(from 0deg, rgba(255, 226, 180, 0) 0deg, rgba(255, 226, 180, 0) 250deg, #FFE2B4 345deg, rgba(255, 226, 180, 0) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
}
.nv-hero__halo .a1 { width: 430px; height: 430px; animation: nv-spin 16s linear infinite; }
.nv-hero__halo .a2 { width: 590px; height: 590px; animation: nv-spin 26s linear infinite reverse; opacity: .8; }
.nv-hero__halo .d { width: 7px; height: 7px; background: #FFE2B4; box-shadow: 0 0 14px 3px rgba(255, 214, 150, .8); margin: -295px 0 0 0; }
@keyframes nv-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes nv-breathe { 0%, 100% { opacity: .85; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.07); } }

.nv-hero__word {
  position: absolute; z-index: -1; left: 25%; top: 46%; transform: translate(-50%, -50%); direction: ltr; white-space: nowrap; pointer-events: none;
  font: 500 clamp(190px, 19vw, 280px)/.8 var(--nv-latin); letter-spacing: .08em; margin-inline-end: -.08em; color: transparent;
  -webkit-text-stroke: 1px rgba(255, 226, 180, .34);
}

/* ---- النص ---- */
.nv-hero__copy { grid-area: copy; align-self: center; padding: 64px 68px 44px; padding-inline-end: 12px; max-width: 640px; }
.nv-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 26px; padding: 8px 16px 8px 18px; border-radius: 999px;
  border: 1px solid rgba(249, 218, 190, .3); background: rgba(255, 255, 255, .05); font: 400 14px/1 var(--nv-font); color: #F6DFC8;
}
.nv-hero__eyebrow b { font: 600 15px/1 var(--nv-latin); letter-spacing: .32em; color: #FFD9A0; direction: ltr; }
.nv-hero__eyebrow i { width: 4px; height: 4px; background: #D9A441; transform: rotate(45deg); }
.nv-hero__title { margin: 0; font: 300 clamp(40px, 4.3vw, 62px)/1.34 var(--nv-display); color: #FFF7EF; letter-spacing: 0; text-wrap: balance; }
.nv-hero__title em {
  font-style: normal; font-weight: 500;
  background: linear-gradient(100deg, #FFE2B4 0%, #E3B062 45%, #FFD9A0 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nv-hero__sub { margin: 22px 0 0; max-width: 30em; font: 400 17px/1.95 var(--nv-font); color: rgba(251, 239, 227, .82); }
.nv-hero__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 36px; }
.nv-btn {
  display: inline-flex; align-items: center; gap: 18px; height: 60px; padding-inline: 30px 8px; border-radius: 999px; text-decoration: none;
  font: 500 16px/1 var(--nv-display); color: #1E1108 !important; background: linear-gradient(180deg, #FFE7C6 0%, #F2C98C 100%);
  box-shadow: 0 18px 40px -18px rgba(255, 200, 120, .75), inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: transform .5s var(--nv-ease), box-shadow .5s var(--nv-ease);
}
.nv-btn i {
  width: 44px; height: 44px; border-radius: 50%; background: #1E1108; flex: none; position: relative;
  transition: transform .5s var(--nv-ease), background .4s;
}
.nv-btn i::before {
  content: ""; position: absolute; inset: 0; background: #FFE2B4;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 12H7m4-4l-4 4 4 4'/%3E%3C/svg%3E") center / 22px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 12H7m4-4l-4 4 4 4'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.nv-btn:hover { transform: translateY(-2px); box-shadow: 0 26px 50px -20px rgba(255, 200, 120, .9), inset 0 1px 0 rgba(255, 255, 255, .7); }
.nv-btn:hover i { transform: translateX(-5px); }
.nv-btn:active { transform: scale(.98); }
.nv-hero__price { display: flex; flex-direction: column; gap: 8px; padding-inline-start: 26px; border-inline-start: 1px solid rgba(249, 218, 190, .28); }
.nv-hero__price small { font: 400 13.5px/1 var(--nv-font); color: rgba(251, 239, 227, .7); }
.nv-hero__price strong { font: 500 26px/1 var(--nv-display); color: #FFF7EF; }
.nv-hero__price strong span { font: 400 14px/1 var(--nv-font); color: #FFD9A0; margin-inline-start: 6px; }

/* ---- صورة البكج ---- */
.nv-hero__art { grid-area: art; position: relative; align-self: center; justify-self: center; width: min(520px, 88%); padding: 46px 0 26px; }
.nv-hero__art img {
  display: block; width: 100%; height: auto; position: relative; z-index: 1;
  filter: drop-shadow(0 40px 34px rgba(0, 0, 0, .5)); animation: nv-float 8s ease-in-out infinite;
}
@keyframes nv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.nv-hero__seal { position: absolute; z-index: 2; width: 128px; height: 128px; left: -7%; top: 3%; animation: nv-rot 28s linear infinite; }
.nv-hero__seal { direction: ltr; overflow: visible; }
.nv-hero__seal text { font-family: var(--nv-latin); font-size: 11.5px; font-weight: 500; letter-spacing: .3em; fill: #FFE2B4; direction: ltr; unicode-bidi: bidi-override; }
.nv-hero__seal-c { position: absolute; z-index: 2; width: 128px; height: 128px; left: -7%; top: 3%; display: grid; place-items: center; }
.nv-hero__seal-c span { width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(255, 226, 180, .5); display: grid; place-items: center; font: 500 22px/1 var(--nv-latin); color: #FFE2B4; background: rgba(30, 17, 8, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes nv-rot { to { transform: rotate(360deg); } }

/* ---- محتويات البكج ---- */
.nv-hero__set {
  grid-area: set; list-style: none; margin: 0; padding: 0 68px; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(249, 218, 190, .18); background: linear-gradient(180deg, rgba(30, 17, 8, .28), rgba(30, 17, 8, .5));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.nv-hero__set li { display: flex; align-items: center; gap: 16px; padding: 24px 0; }
.nv-hero__set li + li { padding-inline-start: 28px; border-inline-start: 1px solid rgba(249, 218, 190, .14); }
.nv-hero__set b { font: 500 30px/1 var(--nv-latin); color: #E3B062; min-width: 34px; }
.nv-hero__set span { display: block; font: 500 15px/1.3 var(--nv-display); color: #FFF7EF; }
.nv-hero__set .nv-s { display: none; }
.nv-hero__set small { display: block; margin-top: 7px; font: 500 11.5px/1 var(--nv-latin); letter-spacing: .28em; color: rgba(251, 239, 227, .62); direction: ltr; text-align: end; }

/* ---- دخول متتابع ---- */
.nv-hero__copy > * { opacity: 0; transform: translateY(22px); animation: nv-up .9s var(--nv-ease) forwards; }
.nv-hero__copy > :nth-child(1) { animation-delay: .1s; } .nv-hero__copy > :nth-child(2) { animation-delay: .2s; }
.nv-hero__copy > :nth-child(3) { animation-delay: .32s; } .nv-hero__copy > :nth-child(4) { animation-delay: .44s; }
.nv-hero__art { animation: nv-in 1.2s var(--nv-ease) both; }
@keyframes nv-up { to { opacity: 1; transform: none; } }
@keyframes nv-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* ---- تابلت ---- */
@media (max-width: 1180px) and (min-width: 768px) {
  .nv-hero__copy { padding: 48px 40px 36px; padding-inline-end: 0; }
  .nv-hero__set { padding: 0 40px; }
  .nv-hero__set li { gap: 12px; } .nv-hero__set li + li { padding-inline-start: 18px; }
  .nv-hero__set b { font-size: 24px; min-width: 26px; } .nv-hero__set span { font-size: 14.5px; } .nv-hero__set small { display: none; }
  .nv-hero__halo .g { width: 480px; height: 480px; } .nv-hero__halo .r1, .nv-hero__halo .a1 { width: 340px; height: 340px; }
  .nv-hero__halo .r2, .nv-hero__halo .a2 { width: 470px; height: 470px; } .nv-hero__halo .r3 { width: 610px; height: 610px; }
  .nv-hero__halo .d { margin-top: -235px; }
  .nv-hero__price strong { font-size: 22px; }
}

/* ---- جوال: نسخة مضغوطة تظهر كاملة في الشاشة الأولى ---- */
@media (max-width: 767px) {
  .nv-hero { padding-top: 10px; }
  .nv-hero__panel {
    width: calc(100% - 24px); border-radius: 28px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto;
    grid-template-areas: "art" "copy" "set";
    background:
      radial-gradient(90% 50% at 50% 24%, rgba(172, 121, 27, .55) 0%, rgba(172, 121, 27, 0) 66%),
      radial-gradient(80% 40% at 0% 100%, rgba(82, 44, 0, .9) 0%, rgba(82, 44, 0, 0) 70%),
      linear-gradient(170deg, #2B1707 0%, #1E1108 55%, #3A2008 100%);
  }
  .nv-hero__halo { inset-inline-end: 50%; top: 132px; }
  .nv-hero__halo .g { width: 300px; height: 300px; }
  .nv-hero__halo .r1, .nv-hero__halo .a1 { width: 200px; height: 200px; }
  .nv-hero__halo .r2, .nv-hero__halo .a2 { width: 290px; height: 290px; }
  .nv-hero__halo .r3 { width: 400px; height: 400px; }
  .nv-hero__word { left: 50%; top: 132px; font-size: 132px; }
  .nv-hero__art { width: min(250px, 66%); padding: 26px 0 0; }
  .nv-hero__art img { filter: drop-shadow(0 20px 18px rgba(0, 0, 0, .5)); }
  .nv-hero__seal, .nv-hero__seal-c { width: 78px; height: 78px; left: -19%; top: 12px; }
  .nv-hero__seal text { font-size: 12.5px; }
  .nv-hero__seal-c span { width: 38px; height: 38px; font-size: 15px; }
  .nv-hero__copy { padding: 14px 20px 20px; max-width: none; text-align: center; }
  .nv-hero__eyebrow { margin-bottom: 12px; font-size: 13px; padding: 6px 13px; gap: 10px; }
  .nv-hero__eyebrow b { font-size: 13.5px; }
  .nv-hero__title { font-size: clamp(25px, 7vw, 29px); line-height: 1.4; }
  .nv-hero__sub { display: none; }
  .nv-hero__cta { margin-top: 18px; gap: 14px; flex-wrap: nowrap; justify-content: space-between; }
  .nv-btn { flex: 1; justify-content: space-between; height: 54px; padding-inline: 22px 6px; font-size: 16px; }
  .nv-btn i { width: 42px; height: 42px; }
  .nv-hero__price { padding-inline-start: 14px; text-align: start; gap: 6px; }
  .nv-hero__price strong { font-size: 22px; white-space: nowrap; } .nv-hero__price small { font-size: 13px; white-space: nowrap; }
  .nv-hero__set { grid-template-columns: repeat(4, 1fr); padding: 0 6px; }
  .nv-hero__set li { flex-direction: column; align-items: center; gap: 5px; padding: 12px 2px 14px; text-align: center; min-width: 0; }
  .nv-hero__set li + li { padding-inline-start: 2px; border-inline-start: 1px solid rgba(249, 218, 190, .14); }
  .nv-hero__set b { font-size: 18px; min-width: 0; }
  .nv-hero__set .nv-l { display: none; }
  .nv-hero__set .nv-s { display: block; font: 400 14px/1.3 var(--nv-font); white-space: nowrap; }
  .nv-hero__set small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nv-hero *, .nv-hero__copy > * { animation: none !important; opacity: 1 !important; transform: none; }
  .nv-hero__halo i { transform: translate(-50%, -50%) !important; }
}
@media (max-width: 340px) {
  .nv-hero__set .nv-s { font-size: 13px; }
  .nv-btn { font-size: 15px; padding-inline: 16px 5px; white-space: nowrap; gap: 8px; }
  .nv-hero__price { padding-inline-start: 10px; } .nv-hero__price strong { font-size: 20px; }
  .nv-hero__cta { gap: 10px; }
}

/* =========================================================
   الهيرو — النسخة الفاتحة (ألوان الهوية: عاجي · خوخي · شمبانيا · ذهبي عتيق)
   البني الداكن يبقى للنصوص والزر فقط
   ========================================================= */
.nv-hero__panel {
  color: #171310;
  background:
    radial-gradient(46% 70% at 25% 46%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 66%),
    radial-gradient(50% 60% at 100% 0%, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(60% 80% at 0% 100%, rgba(172, 121, 27, .26) 0%, rgba(172, 121, 27, 0) 70%),
    linear-gradient(135deg, #FFF1E2 0%, #FBDDC3 46%, #E9C5A8 100%);
  box-shadow: 0 44px 80px -58px rgba(82, 44, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 0 0 1px rgba(172, 121, 27, .16);
}
.nv-hero__panel::after { opacity: .35; mix-blend-mode: multiply; background-image: radial-gradient(rgba(122, 82, 15, .12) 1px, transparent 1.2px); }
.nv-hero__halo .g { background: radial-gradient(circle, rgba(255, 255, 255, .98) 0%, rgba(255, 240, 214, .7) 34%, rgba(255, 240, 214, 0) 68%); }
.nv-hero__halo .r1 { border-color: rgba(172, 121, 27, .5); }
.nv-hero__halo .r2 { border-color: rgba(172, 121, 27, .3); }
.nv-hero__halo .r3 { border-color: rgba(172, 121, 27, .16); }
.nv-hero__halo .a1, .nv-hero__halo .a2 { background: conic-gradient(from 0deg, rgba(172, 121, 27, 0) 0deg, rgba(172, 121, 27, 0) 250deg, #AC791B 345deg, rgba(172, 121, 27, 0) 360deg); }
.nv-hero__word { -webkit-text-stroke-color: rgba(172, 121, 27, .34); }
.nv-hero__eyebrow { border-color: rgba(172, 121, 27, .42); background: rgba(255, 255, 255, .5); color: #522C00; }
.nv-hero__eyebrow b { color: #7A520F; } .nv-hero__eyebrow i { background: #AC791B; }
.nv-hero__title { color: #171310; }
.nv-hero__title em { background: linear-gradient(100deg, #C08E2B 0%, #8A5E12 50%, #AC791B 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nv-hero__sub { color: rgba(23, 19, 16, .76); }
.nv-btn { color: #FFF7EF !important; background: linear-gradient(180deg, #6A3A04 0%, #4A2700 100%); box-shadow: 0 20px 36px -20px rgba(82, 44, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .18); }
.nv-btn i { background: #F9DABE; } .nv-btn i::before { background: #522C00; }
.nv-btn:hover { box-shadow: 0 26px 44px -20px rgba(82, 44, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .18); }
.nv-hero__price { border-inline-start-color: rgba(172, 121, 27, .42); }
.nv-hero__price small { color: #6B5444; } .nv-hero__price strong { color: #171310; } .nv-hero__price strong span { color: #7A520F; }
/* البكج نافد: تسمية «نفدت الكمية» بلون بني مع معيّن ذهبي صغير، والسعر يبقى كما هو */
.nv-hero.is-out .nv-hero__price small { display: inline-flex; align-items: center; gap: 7px; color: #522C00; font-weight: 500; }
.nv-hero.is-out .nv-hero__price small::before { content: ""; width: 6px; height: 6px; flex: none; background: #AC791B; transform: rotate(45deg); }
.nv-hero__art img { filter: drop-shadow(0 34px 28px rgba(82, 44, 0, .3)); }
.nv-hero__seal text { fill: #7A520F; }
.nv-hero__seal-c span { border-color: rgba(172, 121, 27, .55); color: #7A520F; background: rgba(255, 255, 255, .55); }
.nv-hero__set { border-top-color: rgba(172, 121, 27, .26); background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .22)); }
.nv-hero__set li + li { border-inline-start-color: rgba(172, 121, 27, .2); }
.nv-hero__set b { color: #9A6A14; } .nv-hero__set span { color: #171310; } .nv-hero__set small { color: rgba(23, 19, 16, .6); }
@media (max-width: 767px) {
  .nv-hero__panel {
    background:
      radial-gradient(90% 46% at 50% 24%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 66%),
      radial-gradient(80% 40% at 0% 100%, rgba(172, 121, 27, .24) 0%, rgba(172, 121, 27, 0) 70%),
      linear-gradient(170deg, #FFF1E2 0%, #FBDDC3 55%, #E9C5A8 100%);
  }
  .nv-hero__art img { filter: drop-shadow(0 18px 16px rgba(82, 44, 0, .3)); }
  .nv-hero__set li + li { border-inline-start-color: rgba(172, 121, 27, .2); }
}

/* =========================================================
   الهيرو v3 — بعرض الشاشة وملاصق للهيدر، بثلاثة عناصر على الديسكتوب
   ========================================================= */
.nv-hero { padding: 0; }
.nv-hero__panel {
  width: 100%; border-radius: 0; box-shadow: none; border-bottom: 1px solid rgba(172, 121, 27, .22);
  padding-inline: max(20px, calc((100% - 1320px) / 2));
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, .66fr);
  grid-template-rows: minmax(clamp(330px, calc(100vh - 189px - 86px), 500px), auto) auto;
  grid-template-areas: "copy art side" "set set set";
  background:
    radial-gradient(34% 70% at 42% 46%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 68%),
    radial-gradient(40% 60% at 100% 0%, rgba(255, 255, 255, .75) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(40% 80% at 0% 100%, rgba(172, 121, 27, .28) 0%, rgba(172, 121, 27, 0) 70%),
    linear-gradient(120deg, #FFF3E6 0%, #FBDDC3 50%, #E9C5A8 100%);
}
body.theme-raed #mainnav { border-bottom-color: rgba(172, 121, 27, .2); }
/* الهالة والكلمة صارتا داخل عنصر الصورة فتتمركزان عليه دائمًا */
.nv-hero__art { isolation: auto; }
.nv-hero__art .nv-hero__halo { display: block; inset-inline: auto; left: 50%; right: auto; top: 52%; }
.nv-hero__art .nv-hero__word { left: 50%; top: 52%; font-size: clamp(150px, 15vw, 230px); }
.nv-hero__halo .g { width: 520px; height: 520px; }
.nv-hero__halo .r1, .nv-hero__halo .a1 { width: 380px; height: 380px; }
.nv-hero__halo .r2, .nv-hero__halo .a2 { width: 520px; height: 520px; }
.nv-hero__halo .r3 { width: 680px; height: 680px; }
.nv-hero__copy { padding: 34px 0 30px; padding-inline-end: 24px; max-width: none; }
.nv-hero__eyebrow { margin-bottom: 20px; }
.nv-hero__title { font-size: clamp(36px, min(3.9vw, 7.6vh), 58px); line-height: 1.3; }
.nv-hero__sub { margin-top: 16px; font-size: 16.5px; line-height: 1.85; max-width: 27em; }
.nv-hero__cta { margin-top: 28px; }
.nv-hero__art { width: min(470px, 96%); padding: 20px 0 14px; }
.nv-hero__art img { max-height: clamp(280px, calc(100vh - 189px - 150px), 420px); width: auto; max-width: 100%; margin: 0 auto; }
.nv-hero__seal, .nv-hero__seal-c { left: -2%; top: 2%; width: 112px; height: 112px; }
.nv-hero__seal-c span { width: 50px; height: 50px; font-size: 19px; }
.nv-hero__set { padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nv-hero__set li { padding: 18px 0; }

/* العنصر الثالث: صورة أجواء أورا داخل قوس */
.nv-hero__side { grid-area: side; align-self: center; justify-self: end; margin: 0; width: min(250px, 100%); text-align: center; position: relative; }
.nv-hero__side span { display: block; position: relative; aspect-ratio: 5 / 6.4; border-radius: 999px 999px 22px 22px; overflow: hidden; box-shadow: 0 30px 50px -30px rgba(82, 44, 0, .55); }
.nv-hero__side::before { content: ""; position: absolute; inset: -10px -10px 42px -10px; border: 1px solid rgba(172, 121, 27, .45); border-radius: 999px 999px 30px 30px; pointer-events: none; }
.nv-hero__side img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--nv-ease); }
.nv-hero__side:hover img { transform: scale(1.05); }
.nv-hero__side figcaption { margin-top: 24px; font: 400 14.5px/1.5 var(--nv-display); color: #6A430A; }
@media (max-height: 720px) and (min-width: 1181px) {
  .nv-hero__sub { display: none; }
  .nv-hero__side { width: min(200px, 100%); } .nv-hero__side figcaption { margin-top: 18px; font-size: 13.5px; }
  .nv-hero__set li { padding: 13px 0; } .nv-hero__set b { font-size: 24px; } .nv-hero__set small { margin-top: 5px; }
  .nv-hero__copy { padding-block: 22px; } .nv-hero__eyebrow { margin-bottom: 14px; } .nv-hero__cta { margin-top: 22px; }
}

@media (max-width: 1180px) and (min-width: 768px) {
  .nv-hero__panel { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "copy art" "set set"; padding-inline: 28px; }
  .nv-hero__side { display: none; }
  .nv-hero__copy { padding: 36px 0 30px; padding-inline-end: 16px; }
  .nv-hero__set { padding: 0; }
  .nv-hero__halo .g { width: 440px; height: 440px; } .nv-hero__halo .r1, .nv-hero__halo .a1 { width: 310px; height: 310px; }
  .nv-hero__halo .r2, .nv-hero__halo .a2 { width: 430px; height: 430px; } .nv-hero__halo .r3 { width: 560px; height: 560px; }
  .nv-hero__art .nv-hero__word { font-size: 150px; }
}

/* ---- جوال v3: بعرض الشاشة، ملاصق للهيدر، وخطوط أصغر ---- */
@media (max-width: 767px) {
  .nv-hero { padding-top: 0; }
  .nv-hero__panel {
    width: 100%; border-radius: 0; padding-inline: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "art" "copy" "set";
    background:
      radial-gradient(90% 44% at 50% 26%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 66%),
      radial-gradient(80% 40% at 0% 100%, rgba(172, 121, 27, .22) 0%, rgba(172, 121, 27, 0) 70%),
      linear-gradient(170deg, #FFF3E6 0%, #FBDDC3 55%, #E9C5A8 100%);
  }
  .nv-hero__side { display: none; }
  .nv-hero__art { width: min(236px, 62%); padding: 22px 0 0; }
  .nv-hero__art img { max-height: none; width: 100%; }
  .nv-hero__art .nv-hero__halo { top: calc(50% + 11px); }
  .nv-hero__halo .g { width: 290px; height: 290px; }
  .nv-hero__halo .r1, .nv-hero__halo .a1 { width: 196px; height: 196px; }
  .nv-hero__halo .r2, .nv-hero__halo .a2 { width: 280px; height: 280px; }
  .nv-hero__halo .r3 { width: 390px; height: 390px; }
  .nv-hero__art .nv-hero__word { top: calc(50% + 11px); font-size: 120px; }
  .nv-hero__seal, .nv-hero__seal-c { width: 72px; height: 72px; left: -22%; top: 10px; }
  .nv-hero__seal-c span { width: 34px; height: 34px; font-size: 14px; }
  .nv-hero__copy { padding: 12px 18px 18px; }
  .nv-hero__eyebrow { margin-bottom: 10px; font-size: 13px; padding: 5px 12px; gap: 8px; }
  .nv-hero__eyebrow b { font-size: 13px; }
  .nv-hero__title { font-size: clamp(21px, 5.9vw, 24px); line-height: 1.45; font-weight: 400; }
  .nv-hero__cta { margin-top: 14px; gap: 12px; }
  .nv-btn { height: 48px; font-size: 14.5px; padding-inline: 20px 5px; } .nv-btn i { width: 38px; height: 38px; }
  .nv-hero__price { padding-inline-start: 12px; gap: 5px; }
  .nv-hero__price strong { font-size: 18px; } .nv-hero__price strong span { font-size: 13px; } .nv-hero__price small { font-size: 13px; }
  .nv-hero__set { padding: 0 6px; }
  .nv-hero__set li { padding: 9px 2px 11px; gap: 3px; }
  .nv-hero__set b { font-size: 15px; }
  .nv-hero__set .nv-s { font-size: 13px; }
}
@media (max-width: 340px) { .nv-btn { font-size: 14.5px; } .nv-hero__price strong { font-size: 18px; } }

/* =========================================================
   الهيرو v4 — ديسكتوب أهدأ: عمودان فقط، بلا صورة القوس ولا الحروف الخلفية
   ========================================================= */
.nv-hero__side { display: none !important; }
@media (min-width: 768px) {
  .nv-hero__panel {
    padding-inline: max(28px, calc((100% - 1240px) / 2));
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy art" "set set";
    background:
      radial-gradient(36% 74% at 27% 48%, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, 0) 70%),
      radial-gradient(40% 60% at 100% 0%, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 70%),
      linear-gradient(120deg, #FFF3E6 0%, #FBDDC3 52%, #EBC8AC 100%);
  }
  .nv-hero__panel::after { display: none; }
  .nv-hero__art .nv-hero__word, .nv-hero__halo .r3, .nv-hero__halo .a2 { display: none; }
  .nv-hero__halo .r1 { border-color: rgba(172, 121, 27, .34); }
  .nv-hero__halo .r2 { border-color: rgba(172, 121, 27, .18); }
  .nv-hero__halo .r1, .nv-hero__halo .a1 { width: 420px; height: 420px; }
  .nv-hero__halo .r2 { width: 560px; height: 560px; }
  .nv-hero__halo .g { width: 600px; height: 600px; }
  .nv-hero__art { width: min(540px, 96%); padding: 18px 0 12px; }
  .nv-hero__art img { max-height: clamp(290px, calc(100vh - 189px - 130px), 450px); }
  .nv-hero__seal, .nv-hero__seal-c { display: none; }
  .nv-hero__copy { padding-inline-end: 40px; }
  .nv-hero__title { font-size: clamp(34px, min(3.5vw, 6.7vh), 50px); }
  .nv-hero__sub { font-size: 16px; max-width: 29.75em; }
}
@media (max-width: 1180px) and (min-width: 768px) {
  .nv-hero__halo .r1, .nv-hero__halo .a1 { width: 330px; height: 330px; } .nv-hero__halo .r2 { width: 440px; height: 440px; } .nv-hero__halo .g { width: 460px; height: 460px; }
  .nv-hero__copy { padding-inline-end: 16px; }
}

/* =========================================================
   R2 — طباعة هادئة وموحّدة (الهيرو)
   السلّم: عنوان الهيرو 34–38 ديسكتوب / 28 تابلت / 22–25 جوال · نص 15.5 · زر 52/48 بخط 15/14.5 · سعر 22/20/16
   لا تغيير في البنية ولا الأصناف — أحجام وأوزان ومسافات فقط
   ========================================================= */
@media (min-width: 768px) {
  .nv-hero__eyebrow { margin-bottom: 18px; padding: 7px 14px 7px 16px; gap: 10px; font-size: 13px; }
  .nv-hero__eyebrow b { font-size: 12.5px; font-weight: 500; letter-spacing: .3em; }
  .nv-hero__title { font-size: 28px; line-height: 1.4; font-weight: 300; }
  .nv-hero__sub { margin-top: 14px; font-size: 15px; line-height: 1.85; max-width: 31.5em; }
  .nv-hero__cta { margin-top: 26px; gap: 22px; }
  .nv-btn { height: 52px; gap: 14px; padding-inline: 26px 7px; font-size: 15px; }
  .nv-btn i { width: 38px; height: 38px; } .nv-btn i::before { -webkit-mask-size: 20px; mask-size: 20px; }
  .nv-hero__price { gap: 7px; padding-inline-start: 22px; }
  .nv-hero__price small { font-size: 13px; }
  .nv-hero__price strong { font-size: 20px; } .nv-hero__price strong span { font-size: 13px; margin-inline-start: 5px; }
  .nv-hero__set li { gap: 12px; }
  .nv-hero__set b { font-size: 20px; min-width: 24px; }
  .nv-hero__set span { font-size: 14px; font-weight: 500; line-height: 1.4; }
  .nv-hero__set small { margin-top: 6px; font-size: 11px; letter-spacing: .26em; }
}
@media (min-width: 1024px) {
  .nv-hero__title { font-size: clamp(34px, 2.65vw, 38px); line-height: 1.35; }
  .nv-hero__sub { font-size: 15.5px; max-width: 30.7em; }
}
@media (min-width: 1181px) {
  .nv-hero__price strong { font-size: 22px; }
  .nv-hero__set b { font-size: 22px; min-width: 28px; }
  .nv-hero__set span { font-size: 14.5px; }
}
@media (max-width: 767px) {
  .nv-hero__title { font-size: clamp(22px, 6.3vw, 25px); line-height: 1.45; font-weight: 400; }
  .nv-btn { height: 48px; font-size: 14.5px; }
  .nv-hero__price strong { font-size: 16px; } .nv-hero__price strong span { font-size: 13px; } .nv-hero__price small { font-size: 13px; }
  .nv-hero__set b { font-size: 14px; }
  .nv-hero__set .nv-s { font-size: 13px; line-height: 1.4; }
}
@media (max-width: 340px) { .nv-hero__price strong { font-size: 16px; } }

/* ---------- هيرو بمنتج من بلوك المحرر (nv-hero--alt): نفس اللوحة بلا قائمة قطع أورا ---------- */
.nv-hero--alt .nv-hero__set { display: none !important; }
.nv-hero--alt .nv-hero__art img { width: auto !important; height: auto !important; max-width: 78%; max-height: 92%; object-fit: contain; margin: auto; }
.nv-hero--alt .nv-hero__art img:not([src]) { visibility: hidden; }
.nv-hero--alt:not([data-cut]) .nv-hero__art img { border-radius: 24px; }
.nv-hero--alt .nv-hero__title { min-height: 1.4em; }
.nv-hero--alt .nv-hero__price strong { min-width: 2.2em; display: inline-block; }
/* صورة البانر المرفوعة من المحرر (JPEG بخلفية بيضاء): تندمج مع لوحة الهيرو */
.nv-hero--photo .nv-hero__art { mix-blend-mode: multiply; }
.nv-hero--photo .nv-hero__art img { border-radius: 0 !important; max-width: 86%; filter: none !important; box-shadow: none !important; }

/* =========================================================
   NOVALIA — بنرات العطور الثلاثة: شذى · مندلين · باودر (v2)
   ثلاث بطاقات مستقلة، لكل عطر لونه: بنّي عميق · ذهبي عنبري · وردي كريمي
   ========================================================= */
.nv-scents { padding: 84px 0 0; font-family: var(--nv-font); }
.nv-scents__in { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }
.nv-scents__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.nv-scents__eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 500 13px/1 var(--nv-latin); letter-spacing: .36em; color: var(--nv-gold-text); direction: ltr; justify-content: flex-end; }
.nv-scents__eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--nv-gold); }
.nv-scents__title { margin: 0; font: 300 clamp(26px, 2.4vw, 34px)/1.35 var(--nv-display); color: var(--nv-ink); }
.nv-scents__title em { font-style: normal; font-weight: 500; color: var(--nv-gold-text); }
.nv-more {
  display: inline-flex; align-items: center; gap: 12px; height: 48px; padding-inline: 22px 6px; border-radius: 999px; white-space: nowrap; text-decoration: none;
  border: 1px solid var(--nv-line); font: 500 15px/1 var(--nv-display); color: var(--nv-ink) !important; transition: background .4s var(--nv-ease), border-color .4s var(--nv-ease);
}
.nv-more i { width: 36px; height: 36px; border-radius: 50%; background: var(--nv-ink); position: relative; transition: transform .5s var(--nv-ease); }
.nv-more i::before, .nv-scent__go::before {
  content: ""; position: absolute; inset: 0; background: var(--nv-ivory);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 12H7m4-4l-4 4 4 4'/%3E%3C/svg%3E") center / 20px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 12H7m4-4l-4 4 4 4'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.nv-more:hover { background: var(--nv-cream); border-color: var(--nv-gold); } .nv-more:hover i { transform: translateX(-4px); }

.nv-scents__tabs { display: none; }
.nv-scents__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.nv-scent {
  --c-bg: linear-gradient(150deg, #2B1707 0%, #4A2804 100%); --c-fg: #FFF7EF; --c-sub: rgba(255, 247, 239, .78); --c-acc: #FFD9A0;
  --c-ring: rgba(255, 226, 180, .42); --c-glow: rgba(224, 160, 60, .62); --c-chip: rgba(255, 226, 180, .3); --c-word: rgba(255, 226, 180, .26);
  --c-btn: #FFE2B4; --c-btn-i: #1E1108;
  position: relative; isolation: isolate; overflow: hidden; min-height: 300px; padding: 24px 26px 22px;
  display: grid; grid-template-columns: minmax(0, 1fr) 132px; grid-template-rows: auto 1fr; column-gap: 26px;
  border-radius: 28px; background: var(--c-bg); color: var(--c-fg) !important; text-decoration: none;
  box-shadow: 0 34px 60px -46px rgba(30, 17, 8, .85), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: transform .7s var(--nv-ease), box-shadow .7s var(--nv-ease);
}
.nv-scent--amber {
  --c-bg: linear-gradient(160deg, #F0CB8C 0%, #D9A552 55%, #BC8526 100%); --c-fg: #1E1108; --c-sub: rgba(30, 17, 8, .76); --c-acc: #522C00;
  --c-ring: rgba(255, 247, 239, .7); --c-glow: rgba(255, 244, 220, .75); --c-chip: rgba(30, 17, 8, .28); --c-word: rgba(255, 247, 239, .55);
  --c-btn: #1E1108; --c-btn-i: #FFE2B4;
}
.nv-scent--blush {
  --c-bg: linear-gradient(160deg, #FFEFE0 0%, #F9DABE 55%, #EFC3A6 100%); --c-fg: #1E1108; --c-sub: rgba(30, 17, 8, .72); --c-acc: #7A520F;
  --c-ring: rgba(172, 121, 27, .42); --c-glow: rgba(255, 255, 255, .9); --c-chip: rgba(122, 82, 15, .32); --c-word: rgba(172, 121, 27, .34);
  --c-btn: #522C00; --c-btn-i: #FFF7EF;
}
.nv-scent::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .45; mix-blend-mode: overlay; background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.2px); background-size: 4px 4px; }
.nv-scent__top { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.nv-scent__no { font: 500 24px/1 var(--nv-latin); color: var(--c-acc); }
.nv-scent__tag { font: 400 13.5px/1 var(--nv-font); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--c-chip); color: var(--c-fg); white-space: nowrap; }
.nv-scent__word {
  display: none; position: absolute; z-index: -1; left: 86px; bottom: -14px; white-space: nowrap; direction: ltr; pointer-events: none; transform: translateX(-50%);
  font: 500 min(64px, calc(300px / var(--n, 6)))/1 var(--nv-latin); letter-spacing: .1em; color: transparent; -webkit-text-stroke: 1px var(--c-word);
}
.nv-scent__stage { grid-column: 2; grid-row: 1 / span 2; position: relative; display: grid; place-items: center; align-self: center; height: 240px; }
.nv-scent__stage::before { content: ""; position: absolute; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle, var(--c-glow) 0%, transparent 68%); transition: transform .9s var(--nv-ease); }
.nv-scent__stage::after { content: ""; position: absolute; width: 176px; height: 176px; border-radius: 50%; border: 1px solid var(--c-ring); transition: transform .9s var(--nv-ease); }
.nv-scent__stage img { position: relative; z-index: 1; height: 222px; width: auto; filter: drop-shadow(0 20px 16px rgba(30, 17, 8, .38)); transition: transform .9s var(--nv-ease); }
.nv-scent__body { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; min-width: 0; }
.nv-scent__latin { display: block; font: 500 12.5px/1 var(--nv-latin); letter-spacing: .34em; color: var(--c-acc); direction: ltr; text-align: end; margin-bottom: 8px; }
.nv-scent__name { margin: 0; font: 500 30px/1.25 var(--nv-display); color: var(--c-fg); }
.nv-scent__line { margin: 4px 0 0; font: 400 15.5px/1.6 var(--nv-font); color: var(--c-sub); }
.nv-scent__notes { margin: 10px 0 0; padding: 0; list-style: none; display: block; font: 400 13.5px/1.8 var(--nv-font); color: var(--c-fg); }
.nv-scent__notes li { display: inline-block; white-space: nowrap; }
.nv-scent__notes li:not(:last-child)::after { content: ""; display: inline-block; width: 4px; height: 4px; margin-inline: 8px; vertical-align: 3px; background: var(--c-acc); transform: rotate(45deg); }
.nv-scent__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 14px; }
.nv-scent__price { font: 500 24px/1 var(--nv-display); color: var(--c-fg); }
.nv-scent__price span { font: 400 14px/1 var(--nv-font); color: var(--c-acc); margin-inline-start: 6px; }
.nv-scent__go { display: inline-flex; align-items: center; height: 46px; border-radius: 999px; background: var(--c-btn); flex: none; font-style: normal; transition: transform .6s var(--nv-ease); }
.nv-scent__go::before { content: none !important; }
.nv-scent__go em { font: 500 15px/46px var(--nv-display); height: 46px; font-style: normal; color: var(--c-btn-i); white-space: nowrap; overflow: hidden; max-width: 150px; padding-inline-start: 20px; transition: max-width .8s var(--nv-ease), padding .8s var(--nv-ease), opacity .5s; }
.nv-scent__go::after {
  content: ""; width: 46px; height: 46px; flex: none; background: var(--c-btn-i);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 12H7m4-4l-4 4 4 4'/%3E%3C/svg%3E") center / 20px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 12H7m4-4l-4 4 4 4'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.nv-scent__arc, .nv-scent__bar { display: none; }
.nv-scent:hover { transform: translateY(-6px); box-shadow: 0 46px 70px -46px rgba(30, 17, 8, .95), inset 0 1px 0 rgba(255, 255, 255, .14); }
.nv-scent:hover .nv-scent__stage img { transform: translateY(-8px) rotate(-4deg) scale(1.04); }
.nv-scent:hover .nv-scent__stage::after { transform: scale(1.14); }
.nv-scent:hover .nv-scent__stage::before { transform: scale(1.1); }
.nv-scent:hover .nv-scent__go { transform: translateX(-6px); }
.nv-scent:active { transform: scale(.985); }

/* ---- الجوال: بطاقة واحدة بثلاثة تبويبات، تُبدَّل باللمس أو السحب ---- */
@media (max-width: 767px) {
  .nv-scents { padding-top: 44px; }
  .nv-scents__in { width: 100%; }
  .nv-scents__head { margin-bottom: 16px; padding-inline: 18px 10px; align-items: flex-end; gap: 8px; }
  .nv-scents__eyebrow { font-size: 12px; margin-bottom: 8px; white-space: nowrap; letter-spacing: .3em; }
  .nv-scents__title { font-size: clamp(19px, 5.6vw, 24px); line-height: 1.4; white-space: nowrap; }
  .nv-scents__head > div { min-width: 0; }
  .nv-scents { overflow-x: clip; }
  .nv-more { height: 44px; padding: 0 4px; border: 0; font-size: 14.5px; gap: 6px; color: var(--nv-gold-text) !important; background: none !important; }
  .nv-more i { width: 26px; height: 26px; background: none; } .nv-more i::before { background: var(--nv-gold-text); }
  .nv-scents__tabs {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0 12px 12px; padding: 4px; border-radius: 999px;
    background: var(--nv-paper); border: 1px solid var(--nv-line);
  }
  .nv-scents__tabs button {
    height: 44px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font: 500 15.5px/1 var(--nv-display); color: var(--nv-muted);
    transition: background .5s var(--nv-ease), color .4s var(--nv-ease), box-shadow .5s var(--nv-ease);
  }
  .nv-scents__tabs button[aria-selected="true"] { color: #FFF7EF; background: linear-gradient(150deg, #2B1707, #4A2804); box-shadow: 0 10px 20px -12px rgba(30, 17, 8, .8); }
  .nv-scents__tabs button[data-theme="amber"][aria-selected="true"] { color: #1E1108; background: linear-gradient(150deg, #F0CB8C, #C99136); }
  .nv-scents__tabs button[data-theme="blush"][aria-selected="true"] { color: #1E1108; background: linear-gradient(150deg, #FFEFE0, #EFC3A6); box-shadow: 0 10px 20px -12px rgba(172, 121, 27, .7); }
  .nv-scents__grid {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 12px 26px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .nv-scents__grid::-webkit-scrollbar { display: none; }
  .nv-scent { flex: 0 0 100%; scroll-snap-align: center; min-height: 236px; padding: 18px 20px 16px; border-radius: 26px; grid-template-columns: minmax(0, 1fr) 112px; column-gap: 16px; box-shadow: 0 24px 30px -26px rgba(30, 17, 8, .8), inset 0 1px 0 rgba(255, 255, 255, .14); }
  .nv-scent__top { margin-bottom: 8px; } .nv-scent__no { font-size: 21px; } .nv-scent__tag { font-size: 13px; padding: 6px 11px; }
  .nv-scent__latin { display: none; }
  .nv-scent__stage { height: 196px; } .nv-scent__stage img { height: 186px; }
  .nv-scent__stage::before { width: 190px; height: 190px; } .nv-scent__stage::after { width: 146px; height: 146px; }
  .nv-scent__name { font-size: 27px; } .nv-scent__line { font-size: 14.5px; }
  .nv-scent__notes { font-size: 13px; margin-top: 6px; }
  .nv-scent__foot { padding-top: 10px; } .nv-scent__price { font-size: 22px; }
  .nv-scent:hover { transform: none; }
  .nv-scent__go em { max-width: 0; padding: 0; }
}

/* ---- الديسكتوب والتابلت: ثلاث لوحات متجاورة، واحدة تتمدد وتتصدر ثم ينتقل الدور تلقائيًا ---- */
@media (min-width: 768px) {
  .nv-scents__grid { display: flex; gap: 16px; height: 430px; }
  .nv-scent {
    display: block; flex: 1 1 0; min-width: 0; min-height: 0; padding: 0; border-radius: 30px; cursor: pointer;
    transition: flex-grow 1s var(--nv-ease), box-shadow .8s var(--nv-ease);
  }
  .nv-scent.is-on { flex-grow: 2.75; box-shadow: 0 44px 70px -46px rgba(30, 17, 8, .95), inset 0 1px 0 rgba(255, 255, 255, .16); }
  .nv-scent:hover, .nv-scent:active { transform: none; }
  .nv-scent__top { position: absolute; top: 26px; inset-inline-start: 28px; margin: 0; z-index: 2; }
  .nv-scent__no { font-size: 26px; }
  .nv-scent__tag { opacity: 0; transform: translateX(8px); transition: opacity .5s var(--nv-ease), transform .7s var(--nv-ease); }
  .nv-scent.is-on .nv-scent__tag { opacity: 1; transform: none; transition-delay: .35s; }

  .nv-scent__stage {
    position: absolute; top: 44px; left: 50%; width: 240px; height: 250px; margin-left: -120px; align-self: auto;
    transition: left 1s var(--nv-ease), top 1s var(--nv-ease), transform 1s var(--nv-ease);
  }
  .nv-scent.is-on .nv-scent__stage { left: 25%; top: 82px; transform: scale(1.3); }
  .nv-scent__stage img { height: 216px; }
  .nv-scent:hover .nv-scent__stage img { transform: translateY(-6px) rotate(-3deg); }
  .nv-scent__stage::before { width: 240px; height: 240px; } .nv-scent__stage::after { width: 180px; height: 180px; }
  .nv-scent:hover .nv-scent__stage::after, .nv-scent:hover .nv-scent__stage::before { transform: none; }
  .nv-scent__arc {
    display: block; position: absolute; left: 50%; top: 50%; width: 214px; height: 214px; margin: -107px 0 0 -107px; border-radius: 50%; opacity: 0;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 240deg, var(--c-acc) 345deg, transparent 360deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
    transition: opacity .8s var(--nv-ease);
  }
  .nv-scent.is-on .nv-scent__arc { opacity: 1; animation: nv-arc 12s linear infinite; }
  @keyframes nv-arc { to { transform: rotate(360deg); } }

  .nv-scent__word {
    display: block; left: 25%; top: 50%; bottom: auto; transform: translate(-50%, -50%); opacity: 0;
    font-size: clamp(64px, calc(520px / var(--n, 6)), 120px); letter-spacing: .08em; transition: opacity .9s var(--nv-ease);
  }
  .nv-scent.is-on .nv-scent__word { opacity: 1; transition-delay: .3s; }

  .nv-scent__body { position: absolute; inset-inline-start: 28px; bottom: 26px; width: min(330px, calc(100% - 56px)); display: block; z-index: 2; }
  .nv-scent__latin { max-height: 0; opacity: 0; margin: 0; overflow: hidden; font-size: 13px; transition: max-height .7s var(--nv-ease), opacity .5s, margin .7s var(--nv-ease); }
  .nv-scent__name { font-size: 22px; transition: font-size .8s var(--nv-ease); }
  .nv-scent__line { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nv-scent__notes { max-height: 0; opacity: 0; margin: 0; overflow: hidden; font-size: 14px; transition: max-height .8s var(--nv-ease), opacity .5s, margin .8s var(--nv-ease); }
  .nv-scent__foot { padding-top: 14px; justify-content: flex-start; gap: 18px; }
  .nv-scent__price { font-size: 20px; transition: font-size .8s var(--nv-ease); }
  .nv-scent__go { margin-inline-start: auto; }
  .nv-scent__go em { max-width: 0; padding-inline-start: 0; opacity: 0; }
  .nv-scent.is-on .nv-scent__latin { max-height: 20px; opacity: 1; margin-bottom: 10px; transition-delay: .3s; }
  .nv-scent.is-on .nv-scent__name { font-size: 36px; }
  .nv-scent.is-on .nv-scent__line { font-size: 15.5px; margin-top: 6px; }
  .nv-scent.is-on .nv-scent__notes { max-height: 70px; opacity: 1; margin-top: 14px; transition-delay: .3s; }
  .nv-scent.is-on .nv-scent__foot { padding-top: 22px; }
  .nv-scent.is-on .nv-scent__price { font-size: 26px; }
  .nv-scent.is-on .nv-scent__go { margin-inline-start: 0; }
  .nv-scent.is-on .nv-scent__go em { max-width: 150px; padding-inline-start: 22px; opacity: 1; transition-delay: .25s; }
  .nv-scent.is-on:hover .nv-scent__go { transform: translateX(-5px); }
  .nv-scent:not(.is-on):hover .nv-scent__go { transform: none; }

  .nv-scent__bar { display: block; position: absolute; inset-inline: 28px; bottom: 12px; height: 2px; border-radius: 2px; background: var(--c-chip); opacity: 0; overflow: hidden; transition: opacity .5s; }
  .nv-scent__bar i { display: block; height: 100%; width: 100%; background: var(--c-acc); transform: scaleX(0); transform-origin: right center; }
  [dir="ltr"] .nv-scent__bar i { transform-origin: left center; }
  .nv-scents.is-auto .nv-scent.is-on .nv-scent__bar { opacity: 1; }
  .nv-scents.is-auto .nv-scent.is-on .nv-scent__bar i { animation: nv-bar 6s linear forwards; }
  .nv-scents.is-auto:not(.is-live) .nv-scent__bar i, .nv-scents__grid:hover .nv-scent__bar i { animation-play-state: paused !important; }
  @keyframes nv-bar { to { transform: scaleX(1); } }
}
@media (min-width: 768px) and (max-width: 1180px) {
  .nv-scents__grid { height: 380px; gap: 12px; }
  .nv-scent { border-radius: 24px; } .nv-scent.is-on { flex-grow: 2.5; }
  .nv-scent__top { top: 20px; inset-inline-start: 20px; }
  .nv-scent__stage { top: 30px; transform: scale(.84); } .nv-scent.is-on .nv-scent__stage { left: 24%; top: 60px; transform: scale(1.14); }
  .nv-scent__word { font-size: clamp(44px, calc(330px / var(--n, 6)), 80px); left: 24%; }
  .nv-scent__body { inset-inline-start: 20px; bottom: 22px; width: min(250px, calc(100% - 40px)); }
  .nv-scent__name { font-size: 20px; } .nv-scent.is-on .nv-scent__name { font-size: 30px; }
  .nv-scent__line { font-size: 13.5px; } .nv-scent.is-on .nv-scent__line { font-size: 15px; }
  .nv-scent__notes { font-size: 13px; }
  .nv-scent__price { font-size: 18px; } .nv-scent.is-on .nv-scent__price { font-size: 22px; }
  .nv-scent__go { height: 42px; } .nv-scent__go::after { width: 42px; height: 42px; } .nv-scent__go em { line-height: 42px; height: 42px; }
  .nv-scent.is-on .nv-scent__go em { padding-inline-start: 16px; font-size: 14px; }
  .nv-scent__bar { inset-inline: 20px; bottom: 9px; }
}
@media (min-width: 768px) and (max-width: 899px) { .nv-scent:not(.is-on) .nv-scent__price span { display: none; } .nv-scent.is-on .nv-scent__tag { display: none; } }
@media (prefers-reduced-motion: reduce) { .nv-scent, .nv-scent * { transition: none !important; animation: none !important; } }

/* =========================================================
   بنرات العطور — النسخة الفاتحة: شمبانيا · ذهبي عسلي · كريمي وردي
   ========================================================= */
.nv-scent {
  --c-bg: linear-gradient(150deg, #F3DCC8 0%, #E7C7AE 52%, #D3A888 100%); --c-fg: #1E1108; --c-sub: rgba(30, 17, 8, .76); --c-acc: #6A430A;
  --c-ring: rgba(122, 82, 15, .42); --c-glow: rgba(255, 255, 255, .85); --c-chip: rgba(82, 44, 0, .3); --c-word: rgba(122, 82, 15, .3);
  --c-btn: #522C00; --c-btn-i: #FFF7EF;
  box-shadow: 0 30px 54px -44px rgba(82, 44, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.nv-scent--amber { --c-bg: linear-gradient(150deg, #F8E3B6 0%, #EBC883 52%, #D9AB57 100%); --c-btn: #1E1108; --c-btn-i: #FFE2B4; }
.nv-scent--blush { --c-bg: linear-gradient(150deg, #FFF8F0 0%, #FDE8D6 52%, #F6D2BA 100%); --c-btn: #7A520F; --c-btn-i: #FFF7EF; }
@media (min-width: 768px) { .nv-scent.is-on { box-shadow: 0 40px 64px -46px rgba(82, 44, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .5); } }
@media (max-width: 767px) {
  .nv-scents__tabs button[aria-selected="true"] { color: #1E1108; background: linear-gradient(150deg, #F1D8C3, #D8AE8E); box-shadow: 0 10px 20px -12px rgba(82, 44, 0, .6); }
  .nv-scents__tabs button[data-theme="amber"][aria-selected="true"] { background: linear-gradient(150deg, #F8E3B6, #DDB060); }
  .nv-scents__tabs button[data-theme="blush"][aria-selected="true"] { background: linear-gradient(150deg, #FFF8F0, #F6D2BA); }
  .nv-scent { box-shadow: 0 22px 28px -24px rgba(82, 44, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .5); }
}

/* ---- جوال: خطوط أصغر في قسم العطور ---- */
@media (max-width: 767px) {
  .nv-scents { padding-top: 34px; }
  .nv-scents__head { margin-bottom: 14px; }
  .nv-scents__eyebrow { font-size: 11.5px; margin-bottom: 6px; }
  .nv-scents__title { font-size: clamp(18px, 5vw, 20px); }
  .nv-more { font-size: 13.5px; }
  .nv-scents__tabs button { height: 40px; font-size: 14px; }
  .nv-scent { min-height: 208px; padding: 16px 18px 14px; grid-template-columns: minmax(0, 1fr) 100px; }
  .nv-scent__no { font-size: 18px; } .nv-scent__tag { font-size: 13px; padding: 5px 10px; }
  .nv-scent__name { font-size: 20px; line-height: 1.3; } .nv-scent__line { font-size: 13.5px; }
  .nv-scent__notes { font-size: 13px; line-height: 1.7; }
  .nv-scent__price { font-size: 17px; } .nv-scent__price span { font-size: 13px; }
  .nv-scent__go { height: 40px; } .nv-scent__go::after { width: 40px; height: 40px; }
  .nv-scent__stage { height: 170px; } .nv-scent__stage img { height: 162px; }
  .nv-scent__stage::before { width: 166px; height: 166px; } .nv-scent__stage::after { width: 128px; height: 128px; }
}

/* نسخة الحلقة تظهر على الجوال فقط */
.nv-scent--clone { display: none !important; }
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) { .nv-scent--clone { display: grid !important; } }

/* =========================================================
   R2 — طباعة هادئة وموحّدة (العطور)
   رأس القسم الموحّد: سطر لاتيني 12/.32em ← 12px ← عنوان 26–28 (23 تابلت، 18–20 جوال) ← 28px ← المحتوى
   كبسولة الرابط: ارتفاع 44، خط 14/500، دائرة 34 — نفسها في كل الأقسام
   ========================================================= */
.nv-scents { padding-top: 72px; }
.nv-scents__head { margin-bottom: 28px; }
.nv-scents__eyebrow { margin-bottom: 12px; font-size: 12px; letter-spacing: .32em; }
.nv-scents__title { font-size: clamp(26px, 1.95vw, 28px); line-height: 1.4; }
.nv-more { height: 44px; gap: 10px; padding-inline: 18px 5px; font-size: 14px; margin-bottom: -3px; }
.nv-more i { width: 34px; height: 34px; }
@media (min-width: 768px) {
  .nv-scent { border-radius: 28px; }
  .nv-scent__no { font-size: 20px; }
  .nv-scent__tag { font-size: 13px; padding: 6px 12px; }
  .nv-scent__latin { font-size: 11.5px; letter-spacing: .32em; }
  .nv-scent__name { font-size: 18px; line-height: 1.4; }
  .nv-scent__line { font-size: 13.5px; }
  .nv-scent__notes { font-size: 13.5px; }
  .nv-scent__price { font-size: 16px; } .nv-scent__price span { font-size: 13px; margin-inline-start: 5px; }
  .nv-scent__go { height: 48px; } .nv-scent__go::after { width: 48px; height: 48px; }
  .nv-scent__go em { font-size: 14.5px; line-height: 48px; height: 48px; }
  .nv-scent.is-on .nv-scent__name { font-size: 24px; }
  .nv-scent.is-on .nv-scent__line { font-size: 14.5px; margin-top: 4px; }
  .nv-scent.is-on .nv-scent__notes { margin-top: 12px; }
  .nv-scent.is-on .nv-scent__foot { padding-top: 20px; }
  .nv-scent.is-on .nv-scent__price { font-size: 18px; }
}
@media (min-width: 768px) and (max-width: 1180px) {
  .nv-scent { border-radius: 24px; }
  .nv-scent__name { font-size: 17px; } .nv-scent.is-on .nv-scent__name { font-size: 22px; }
  .nv-scent__line { font-size: 13px; } .nv-scent.is-on .nv-scent__line { font-size: 14px; }
  .nv-scent__notes { font-size: 13px; }
  .nv-scent__price { font-size: 16px; } .nv-scent.is-on .nv-scent__price { font-size: 18px; }
  .nv-scent__go { height: 44px; } .nv-scent__go::after { width: 44px; height: 44px; } .nv-scent__go em { line-height: 44px; height: 44px; }
  .nv-scent.is-on .nv-scent__go em { font-size: 14px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .nv-scents { padding-top: 56px; }
  .nv-scents__head { margin-bottom: 22px; }
  .nv-scents__title { font-size: 23px; }
}
@media (max-width: 767px) {
  .nv-scents { padding-top: 30px; }
  .nv-scents__head { margin-bottom: 14px; }
  .nv-scents__eyebrow { margin-bottom: 6px; font-size: 11.5px; letter-spacing: .3em; }
  .nv-scents__title { font-size: clamp(18px, 5vw, 20px); line-height: 1.4; }
  .nv-more { height: 44px; padding: 0 4px; gap: 6px; font-size: 13.5px; margin-bottom: 0; }
  .nv-more i { width: 26px; height: 26px; }
  .nv-scents__tabs button { height: 44px; font-size: 14px; }
  .nv-scent { border-radius: 22px; }
  .nv-scent__no { font-size: 16px; }
  .nv-scent__name { font-size: 18px; line-height: 1.4; }
  .nv-scent__line { font-size: 13.5px; }
  .nv-scent__price { font-size: 16px; }
  .nv-scent__go { height: 44px; } .nv-scent__go::after { width: 44px; height: 44px; }
}
/* إيقاع رأسي: حشوة الظل أسفل الشريط لا تُحسب مسافة بين الأقسام */
@media (max-width: 767px) { .nv-scents__grid { margin-bottom: -14px; } }
@media (max-width: 340px) { .nv-more { gap: 0; } .nv-more i { display: none; } } /* 320: الرابط بلا سهم حتى لا يلامس العنوان */

/* =========================================================
   NOVALIA — الأقسام (v2): دوائر على كل المقاسات
   صف واحد من ثماني دوائر على الديسكتوب، وشريط يُسحب أفقيًا على الجوال
   ========================================================= */
.nv-cats { padding: 64px 0 0; font-family: var(--nv-font); }
.nv-cats__in { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }
.nv-cats__head { margin-bottom: 34px; text-align: center; }
.nv-cats__eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 14px; font: 500 13px/1 var(--nv-latin); letter-spacing: .36em; color: var(--nv-gold-text); direction: ltr; }
.nv-cats__eyebrow::before, .nv-cats__eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--nv-gold); }
.nv-cats__title { margin: 0; font: 300 clamp(26px, 2.4vw, 34px)/1.35 var(--nv-display); color: var(--nv-ink); }
.nv-cats__title em { font-style: normal; font-weight: 500; color: var(--nv-gold-text); }

.nv-cats__grid { display: grid; grid-template-columns: repeat(var(--nv-cats-n, 8), minmax(0, 1fr)); gap: 18px; justify-items: center; } /* r7: الأعمدة بعدد الدوائر */
.nv-cat { display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: center; width: 100%; text-align: center; color: var(--nv-ink) !important; text-decoration: none; }
.nv-cat__img, .nv-cat__mark {
  position: relative; width: min(140px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #F4E3D3;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px rgba(172, 121, 27, .3), 0 0 0 6px var(--nv-ivory), 0 0 0 7px rgba(172, 121, 27, .22);
  transition: box-shadow .6s var(--nv-ease), transform .7s var(--nv-ease);
}
.nv-cat:nth-child(even) .nv-cat__img { background: #FBEBDD; }
.nv-cat__img img { max-width: 72%; max-height: 72%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(82, 44, 0, .2)); transition: transform .9s var(--nv-ease); }
.nv-cat--lg .nv-cat__img img { max-width: 90%; max-height: 80%; }
.nv-cat--wide .nv-cat__img img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: 50% 62%; filter: none; }
.nv-cat--offer .nv-cat__mark { background: linear-gradient(150deg, #F6E2B0, #E4BE74); font: 500 54px/1 var(--nv-latin); color: #522C00; }
.nv-cat__name { margin-top: 18px; font: 500 16px/1.4 var(--nv-display); color: var(--nv-ink); transition: color .4s; }
.nv-cat__sub, .nv-cat__go { display: none; }
.nv-cat:hover .nv-cat__img, .nv-cat:hover .nv-cat__mark, .nv-cat.is-on .nv-cat__img, .nv-cat.is-on .nv-cat__mark { transform: translateY(-6px); box-shadow: 0 0 0 1px #AC791B, 0 0 0 6px var(--nv-ivory), 0 0 0 7px #AC791B, 0 26px 30px -22px rgba(82, 44, 0, .6); }
.nv-cat:hover .nv-cat__img img, .nv-cat.is-on .nv-cat__img img { transform: scale(1.08); }
.nv-cat:hover .nv-cat__name, .nv-cat.is-on .nv-cat__name { color: var(--nv-gold-text); }
.nv-cat:active .nv-cat__img { transform: scale(.97); }

@media (min-width: 768px) and (max-width: 1180px) {
  .nv-cats__grid { gap: 10px; }
  .nv-cat__img, .nv-cat__mark { box-shadow: 0 0 0 1px rgba(172, 121, 27, .3), 0 0 0 4px var(--nv-ivory), 0 0 0 5px rgba(172, 121, 27, .22); }
  .nv-cat__name { font-size: 14.5px; margin-top: 14px; } .nv-cat--offer .nv-cat__mark { font-size: 40px; }
}
@media (min-width: 768px) and (max-width: 899px) { .nv-cats__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 26px; } /* r7: 5 بدل 4 (9 دوائر = 5+4) */ .nv-cat__img, .nv-cat__mark { width: 120px; } }

@media (max-width: 767px) {
  .nv-cats { padding-top: 26px; }
  .nv-cats__in { width: 100%; }
  .nv-cats__head { margin-bottom: 14px; padding-inline: 16px; text-align: start; }
  .nv-cats__eyebrow { font-size: 11.5px; margin-bottom: 6px; letter-spacing: .3em; justify-content: flex-end; } .nv-cats__eyebrow::before { content: none; }
  .nv-cats__title { font-size: clamp(18px, 5vw, 20px); line-height: 1.4; }
  .nv-cats__grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 7px 18px 8px; scrollbar-width: none; justify-items: normal; }
  .nv-cats__grid::-webkit-scrollbar { display: none; }
  .nv-cat { flex: 0 0 76px; width: 76px; scroll-snap-align: start; }
  .nv-cat__img, .nv-cat__mark { width: 76px; box-shadow: 0 0 0 1px rgba(172, 121, 27, .3), 0 0 0 4px var(--nv-ivory), 0 0 0 5px rgba(172, 121, 27, .22); }
  .nv-cat__img img { filter: none; }
  .nv-cat--offer .nv-cat__mark { font-size: 34px; }
  .nv-cat__name { margin-top: 10px; font: 400 13px/1.35 var(--nv-font); }
  .nv-cat:hover .nv-cat__img, .nv-cat:hover .nv-cat__mark { transform: none; }
  .nv-cats__grid { position: relative; }
}
@media (prefers-reduced-motion: reduce) { .nv-cat, .nv-cat * { transition: none !important; } }

/* مربعات الأيقونات القديمة في الرئيسية حلّ محلها هذا القسم */
body.theme-raed.index [data-testid="store-home-square-photos"] { display: none !important; }

/* نسخة الحلقة تظهر على الجوال فقط */
.nv-cat--clone { display: none !important; }
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) { .nv-cat--clone { display: flex !important; } .nv-cats__grid { scroll-snap-type: none; } } /* بلا حلقة لمن فعّل تقليل الحركة: لا نسخ مكررة */

/* =========================================================
   R2 — طباعة هادئة وموحّدة (الأقسام)
   رأس القسم صار مطابقًا لباقي الأقسام (محاذاة البداية، خط واحد قبل السطر اللاتيني) بدل التوسيط
   أول قسم بعد الهيرو: مسافة علوية أقصر بدرجة (56 / 44 / 24)
   ========================================================= */
.nv-cats { padding-top: 56px; }
.nv-cats__head { margin-bottom: 28px; text-align: start; }
.nv-cats__eyebrow { justify-content: flex-end; margin-bottom: 12px; font-size: 12px; letter-spacing: .32em; }
.nv-cats__eyebrow::before { content: none; }
.nv-cats__title { font-size: clamp(26px, 1.95vw, 28px); line-height: 1.4; }
.nv-cat__name { margin-top: 16px; font-size: 15px; line-height: 1.45; }
@media (min-width: 768px) and (max-width: 1180px) { .nv-cat__name { margin-top: 14px; font-size: 14px; } }
@media (min-width: 768px) and (max-width: 1023px) {
  .nv-cats { padding-top: 44px; }
  .nv-cats__head { margin-bottom: 22px; }
  .nv-cats__title { font-size: 23px; }
}
@media (max-width: 767px) {
  .nv-cats { padding-top: 24px; }
  .nv-cats__head { margin-bottom: 14px; }
  .nv-cats__eyebrow { margin-bottom: 6px; font-size: 11.5px; letter-spacing: .3em; }
  .nv-cats__title { font-size: clamp(18px, 5vw, 20px); line-height: 1.4; white-space: nowrap; }
  .nv-cat__name { margin-top: 10px; font-size: 13px; line-height: 1.4; }
}
/* =========================================================
   NOVALIA — بلا وميض عند فتح الصفحة الرئيسية
   سكربت التخصيص يعمل بعد تحميل الصفحة (مؤجَّل)، فكانت كتل الثيم القديمة تظهر لحظة ثم تختفي.
   هذا الملف يُحمَّل في <head> فيعمل من أول رسم:
   - كتل الثيم القديمة مخفية حتى يُبنى التصميم الجديد (body.nv-ready)، ثم تُزال نهائيًا.
   - مكان الهيرو محجوز بلونه نفسه حتى لا تقفز الصفحة.
   - أمان: إن تعذّر تشغيل السكربت لأي سبب تعود الكتل القديمة وحدها بعد 30 ثانية
     (كانت 8 ثوانٍ: على الاتصال البطيء يصل السكربت بعدها فكانت الكتل القديمة تظهر ثم تُستبدل).
   ========================================================= */
body.index:not(.nv-ready) #main-content > section.s-block {
  visibility: hidden; max-height: 0; overflow: hidden; margin: 0 !important; padding: 0 !important;
  animation: nv-old-back 0s linear 30s forwards;
}
@keyframes nv-old-back { to { visibility: visible; max-height: none; overflow: visible; } }
body.index.nv-ready #main-content > section.s-block { display: none !important; }
/* أمان (من الحزمة المنشورة، 22 نوفمبر 2026): أي بلوك يُضاف من محرر الثيم إلى الصفحة الرئيسية يبقى مخفيًا مهما كان نوعه (الأقسام المصمّمة تقرأ منه ولا تعرضه كما هو) */
body.index.nv-ready #main-content > :not([class*="nv-"]):not(salla-hook):not(script):not(style):not(link) { display: none !important; }

body.index:not(.nv-ready) #main-content::before {
  content: ""; display: block; height: 562px;
  background:
    radial-gradient(46% 70% at 25% 46%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 66%),
    radial-gradient(60% 80% at 0% 100%, rgba(172, 121, 27, .26) 0%, rgba(172, 121, 27, 0) 70%),
    linear-gradient(135deg, #FFF1E2 0%, #FBDDC3 46%, #E9C5A8 100%);
  animation: nv-ph-out 0s linear 30s forwards;
}
@media (min-width: 1280px) { body.index:not(.nv-ready) #main-content::before { height: 577px; } }
@media (max-width: 767px) { body.index:not(.nv-ready) #main-content::before { height: calc(60vw + 211px); } }
@keyframes nv-ph-out { to { height: 0; } }
/* وحتى لا يظهر الفوتر لحظة تحت الهيرو قبل بناء بقية الأقسام: محتوى الرئيسية لا يقل عن ارتفاع الشاشة (الصفحة أطول من ذلك دائمًا) */
body.index #main-content { min-height: 100vh; }

/* الفوتر: فوتر الثيم القديم لا يظهر لحظة قبل استبداله (يحتفظ بمكانه)، ويعود وحده بعد 30 ثانية إن لم يُستبدل
   (كانت 6 ثوانٍ: على الاتصال البطيء يصل السكربت بعدها فكان فوتر الثيم يظهر ثم يُستبدل — مثل مهلة كتل الرئيسية) */
html:not(.nv-foot-on) footer.store-footer { opacity: 0; animation: nv-foot-back 0s linear 30s forwards; }
@keyframes nv-foot-back { to { opacity: 1; } }
/* إن فشل بناء الفوتر الجديد يكفي أن تضيف وحدة الفوتر الصنف nv-foot-fail على <html> ليعود فوتر الثيم فورًا بدل انتظار المهلة */
html.nv-foot-fail footer.store-footer { opacity: 1; animation: none; }

/* =========================================================
   NOVALIA — منسِّق أقسام الرئيسية (nv-core.js › NVOrder)
   الأقسام تُبنى كلها معًا بارتفاعها النهائي وتظهر من الأعلى إلى الأسفل:
   - .nv-gate: القسم في مكانه (يحجز ارتفاعه) لكنه لم يظهر بعد، لأن قسمًا فوقه ما زال ينتظر بياناته.
   - .nv-on: لحظة الظهور — شفافية + إزاحة 10px خلال 450ms (بلا حركة مع «تقليل الحركة»).
   - أمان مستقل عن السكربت: أي قسم محجوب يظهر وحده بعد 10 ثوانٍ.
   ========================================================= */
#main-content > .nv-gate { opacity: 0; animation: nv-gate-safe 0s linear 10s forwards; }
#main-content > .nv-gate.nv-on { animation: nv-rise .45s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes nv-gate-safe { to { opacity: 1; } }
@keyframes nv-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* قسم بيانات امتلأ في مكانه بعد أن كان هيكله ظاهرًا: محتواه فقط يظهر بهدوء (العنوان ثابت) */
#main-content > .nv-fill [class*="__stage"] { animation: nv-fade .4s ease both; }
@keyframes nv-fade { from { opacity: 0; } to { opacity: 1; } }

/* هيكل «الأكثر طلبًا» أثناء انتظار المنتجات: القسم نفسه بعنوانه وبطاقات فارغة ⇒ الارتفاع النهائي نفسه */
.nv-best.is-skel .nv-best__ctrl, .nv-best.is-skel .nv-best__dots,
.nv-best.is-skel .nv-best__info > *, .nv-best.is-skel .nv-best__media > * { visibility: hidden; }
.nv-best.is-skel .nv-best__card { pointer-events: none; }
.nv-best.is-skel .nv-best__media { animation: nv-skel 1.2s ease-in-out infinite alternate; }
.nv-best.is-skel .nv-best__info { background: linear-gradient(rgba(82, 44, 0, .07), rgba(82, 44, 0, .07)) right 8px top 22px / 58% 14px no-repeat, linear-gradient(rgba(82, 44, 0, .05), rgba(82, 44, 0, .05)) right 8px top 52px / 38% 10px no-repeat; }
@keyframes nv-skel { from { opacity: 1; } to { opacity: .55; } }

/* حجز مكان «آراء العملاء» حتى تكتمل الآراء (فقط حين يكون ظهور القسم مؤكدًا) */
.nv-ph { display: block; }
/* ارتفاعات تقريبية مقيسة (21 نوفمبر 2026): القسم آخر الصفحة، وأي فرق عند امتلائه لا يحرّك إلا المدونة والفوتر تحته */
.nv-ph--reviews { height: 480px; }
@media (max-width: 1179px) { .nv-ph--reviews { height: 445px; } }
@media (max-width: 767px) { .nv-ph--reviews { height: 348px; } }

@media (prefers-reduced-motion: reduce) {
  #main-content > .nv-gate.nv-on, #main-content > .nv-fill [class*="__stage"], .nv-best.is-skel .nv-best__media { animation: none; }
  #main-content > .nv-gate.nv-on { opacity: 1; }
}

/* r5 — صور سجل NVIMG من CDN سلة (NVImg في nv-core.js): المقاس محجوز قبل وصول الصورة.
   contain:size + المقاس الطبيعي (--nv-iw/--nv-ih من image-map.json) ⇒ صندوق الصورة قبل التحميل = بعده تمامًا
   مع قواعد كل قسم كما هي (width/height:auto وmax-width/max-height). بلا دعم contain-intrinsic-size (Safari < 17) يبقى السلوك القديم. */
@supports (contain-intrinsic-size: 1px 1px) {
  img[data-nv-wh] { contain: size; contain-intrinsic-size: var(--nv-iw) var(--nv-ih); }
}
/* =========================================================
   NOVALIA — الأكثر طلبًا (best) v3: «مسرح الأكثر طلبًا»
   صف واحد متحرك بعرض الشاشة، حلقة بلا نهاية. البطاقة في المنتصف تحت الضوء:
   تكبر ويرتفع منتجها ويظهر زر الإضافة كاملًا، والبقية أهدأ. البيانات حيّة من سلة (sec-best.js).
   ========================================================= */
.nv-best {
  --nv-best-add: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 8.6h13.6l-.9 11.6H6.1L5.2 8.6z'/%3E%3Cpath d='M9 8.6V7.2a3 3 0 016 0v1.4'/%3E%3Cpath d='M12 11.8v5M9.5 14.3h5'/%3E%3C/svg%3E");
  --nv-best-ok: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4.2 4.2 8.8-9.4'/%3E%3C/svg%3E");
  --nv-best-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E");
  --w: clamp(250px, 20.5vw, 300px); --gap: 20px; --step: 3600ms;
  position: relative; padding: 84px 0 0; font-family: var(--nv-font); overflow-x: clip;
}
.nv-best__in { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }

/* ---- رأس القسم: العنوان يمينًا، والعدّاد والأسهم يسارًا ---- */
.nv-best__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.nv-best__head > div:first-child { min-width: 0; }
.nv-best__eyebrow { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 0 0 14px; font: 500 13px/1 var(--nv-latin); letter-spacing: .36em; color: var(--nv-gold-text); direction: ltr; }
.nv-best__eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--nv-gold); }
.nv-best__title { margin: 0; font: 300 clamp(26px, 2.4vw, 34px)/1.35 var(--nv-display); color: var(--nv-ink); }
.nv-best__title em { font-style: normal; font-weight: 500; color: var(--nv-gold-text); }
.nv-best__ctrl { display: flex; align-items: center; gap: 18px; margin-bottom: 6px; }
.nv-best__note { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 400 14.5px/1.6 var(--nv-font); color: var(--nv-muted); white-space: nowrap; }
.nv-best__note::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--nv-gold); transform: rotate(45deg); }
.nv-best__count { margin: 0; font: 500 22px/1 var(--nv-latin); color: var(--nv-ink); direction: ltr; white-space: nowrap; }
.nv-best__count span { color: var(--nv-muted); font-size: 17px; }
.nv-best__count b { font-weight: 500; color: var(--nv-gold-text); }
.nv-best__arrows { display: flex; gap: 10px; }
.nv-best__arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(82, 44, 0, .24); background: transparent; color: var(--nv-brown); cursor: pointer; display: grid; place-items: center;
  transition: background .5s var(--nv-ease), color .5s var(--nv-ease), border-color .5s var(--nv-ease), transform .5s var(--nv-ease);
}
.nv-best__arrow i { width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--nv-best-arrow) center / contain no-repeat; mask: var(--nv-best-arrow) center / contain no-repeat; }
.nv-best__arrow--next i { transform: scaleX(-1); } /* في العربية: التالي يأتي من اليسار */
.nv-best__arrow:hover, .nv-best__arrow:focus-visible { background: #522C00; border-color: #522C00; color: #FFF7EF; }
.nv-best__arrow:active { transform: scale(.94); }

/* ---- المسرح: صف بعرض الشاشة وضوء ثابت في المنتصف تمر تحته البطاقات ---- */
.nv-best__stage { position: relative; }
.nv-best__stage::before {
  content: ""; position: absolute; z-index: 0; left: 50%; top: -10px; width: min(980px, 92vw); height: 78%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 55% at 50% 42%, rgba(249, 218, 190, .85) 0%, rgba(254, 230, 206, .45) 45%, rgba(254, 230, 206, 0) 75%);
}
.nv-best__track {
  position: relative; z-index: 1; display: flex; gap: var(--gap); margin: 0; padding: 26px 0 30px; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.nv-best__track::-webkit-scrollbar { display: none; }

/* ---- البطاقة ---- */
.nv-best__card {
  position: relative; flex: 0 0 var(--w); display: flex; flex-direction: column; min-width: 0; padding: 10px; border-radius: 28px; scroll-snap-align: center;
  background: var(--nv-paper); border: 1px solid rgba(172, 121, 27, .13);
  transform: scale(.9); transform-origin: 50% 60%;
  transition: transform .9s var(--nv-ease), box-shadow .9s var(--nv-ease), border-color .7s var(--nv-ease), background .7s var(--nv-ease);
}
.nv-best__card.is-on { transform: scale(1); border-color: rgba(172, 121, 27, .38); background: #FFFBF6; box-shadow: 0 46px 60px -44px rgba(82, 44, 0, .6), 0 0 0 5px rgba(255, 251, 246, .7); }
.nv-best__track.is-jump .nv-best__card, .nv-best__track.is-jump .nv-best__card * { transition: none !important; }

/* مسرح الصورة: لون ناعم بالتناوب، رقم الترتيب كبير مفرّغ خلف المنتج، وظل بيضاوي تحته */
.nv-best__media {
  --bg: #F6E5D6; position: relative; display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 1 / 1.06; overflow: hidden; border-radius: 20px;
  background: radial-gradient(70% 60% at 50% 45%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 70%), var(--bg); transition: background .9s var(--nv-ease);
}
.nv-best__card[data-tone="1"] .nv-best__media { --bg: #F4E3BF; }
.nv-best__card[data-tone="2"] .nv-best__media { --bg: #FBEBDD; }
.nv-best__card[data-tone="3"] .nv-best__media { --bg: #F1DCCB; }
.nv-best__num {
  position: absolute; z-index: 0; top: 4px; right: 14px; font: 500 112px/1 var(--nv-latin); direction: ltr; pointer-events: none; /* ltr للأرقام، لذا الحافة صريحة */
  color: transparent; -webkit-text-stroke: 1px rgba(172, 121, 27, .38); transition: color .9s var(--nv-ease), -webkit-text-stroke-color .9s;
}
.nv-best__card.is-on .nv-best__num { color: rgba(172, 121, 27, .1); -webkit-text-stroke-color: rgba(172, 121, 27, .62); }
.nv-best__media::after {
  content: ""; position: absolute; left: 50%; bottom: 8%; width: 52%; height: 7%; transform: translateX(-50%) scaleX(.86); border-radius: 50%; opacity: .7;
  background: radial-gradient(ellipse, rgba(82, 44, 0, .3) 0%, rgba(82, 44, 0, 0) 70%); transition: transform .9s var(--nv-ease), opacity .9s var(--nv-ease);
}
.nv-best__card.is-on .nv-best__media::after { transform: translateX(-50%) scaleX(1.06); opacity: 1; }
.nv-best__img { position: relative; z-index: 1; display: block; width: auto; height: auto; max-width: 70%; max-height: 74%; margin-bottom: 11%; object-fit: contain; transition: transform 1s var(--nv-ease); }
.nv-best__card[data-kind="mist"] .nv-best__img { max-height: 66%; }
.nv-best__card[data-kind="wide"] .nv-best__img { max-width: 82%; max-height: 62%; margin-bottom: 12%; }
.nv-best__card[data-kind="mid"] .nv-best__img { max-width: 70%; max-height: 66%; }
.nv-best__card[data-kind="photo"] .nv-best__img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.nv-best__card[data-kind="photo"] .nv-best__media::after { content: none; }
.nv-best__card.is-on .nv-best__img { transform: translateY(-10px) scale(1.06); }

/* شارة المركز الأول */
.nv-best__badge {
  position: absolute; z-index: 2; top: 12px; inset-inline-end: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 11px; border-radius: 999px;
  background: rgba(255, 251, 246, .92); border: 1px solid rgba(172, 121, 27, .32); font: 500 13px/1 var(--nv-font); color: var(--nv-brown); white-space: nowrap;
}
.nv-best__badge::before { content: ""; width: 6px; height: 6px; background: var(--nv-gold); transform: rotate(45deg); }

/* المعلومات */
.nv-best__info { display: flex; flex-direction: column; flex: 1; padding: 14px 8px 6px; }
.nv-best__name { margin: 0; font: 500 18px/1.7 var(--nv-display); color: var(--nv-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-best__name a { color: inherit !important; text-decoration: none; }
.nv-best__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 28px; } /* البطاقة كلها رابط */
.nv-best__name a:focus-visible { outline: none; }
.nv-best__card:focus-within { outline: 2px solid var(--nv-gold); outline-offset: 3px; }
.nv-best__sub { margin: 4px 0 0; font: 400 14px/1.5 var(--nv-font); color: var(--nv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-best__buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.nv-best__price { margin: 0; font: 500 20px/1 var(--nv-display); color: var(--nv-ink); white-space: nowrap; }
.nv-best__price span { font: 400 14px/1 var(--nv-font); color: var(--nv-gold-text); margin-inline-start: 5px; }
.nv-best__price del { font: 400 14px/1 var(--nv-font); color: var(--nv-muted); margin-inline-end: 8px; }

/* زر الإضافة: دائرة أيقونة، وفي البطاقة المضاءة كبسولة «أضيفي للسلة» */
.nv-best__add {
  position: relative; z-index: 2; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 0; height: 44px; min-width: 44px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(82, 44, 0, .3); background: transparent; color: var(--nv-brown); font: 500 14px/1 var(--nv-display); white-space: nowrap;
  transition: background .6s var(--nv-ease), color .6s var(--nv-ease), border-color .6s var(--nv-ease), gap .7s var(--nv-ease), padding .7s var(--nv-ease);
}
.nv-best__add i { width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: var(--nv-best-add) center / contain no-repeat; mask: var(--nv-best-add) center / contain no-repeat; }
.nv-best__add span { max-width: 0; overflow: hidden; line-height: 1.75; opacity: 0; transition: max-width .8s var(--nv-ease), opacity .5s; }
.nv-best__card.is-on .nv-best__add, .nv-best__add:focus-visible, .nv-best__card:hover .nv-best__add { background: #522C00; border-color: #522C00; color: #FFF7EF; gap: 8px; padding-inline: 16px 14px; }
.nv-best__card.is-on .nv-best__add span, .nv-best__add:focus-visible span, .nv-best__card:hover .nv-best__add span { max-width: 120px; opacity: 1; }
.nv-best__add.is-busy { opacity: .6; pointer-events: none; }
.nv-best__add.is-done i { -webkit-mask-image: var(--nv-best-ok); mask-image: var(--nv-best-ok); }

/* شريط التقدم: شَرطة لكل منتج، والنشطة تمتلئ بالذهبي خلال مدة الخطوة */
.nv-best__dots { display: flex; justify-content: center; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; direction: rtl; }
.nv-best__dots li { position: relative; width: 16px; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(82, 44, 0, .16); transition: width .8s var(--nv-ease); }
.nv-best__dots li.is-on { width: 44px; }
.nv-best__dots li::after { content: ""; position: absolute; inset: 0; background: var(--nv-gold); transform: scaleX(0); transform-origin: right; }
.nv-best__dots li.is-on::after { transform: scaleX(1); }
.nv-best.is-auto .nv-best__dots li.is-on::after { transform: scaleX(0); animation: nv-best-fill var(--step) linear forwards; }
.nv-best.is-paused .nv-best__dots li.is-on::after { animation-play-state: paused; }
@keyframes nv-best-fill { to { transform: scaleX(1); } }

/* ---- تابلت ---- */
@media (max-width: 1100px) {
  .nv-best { --w: clamp(230px, 28vw, 270px); } .nv-best__note { display: none; }
  /* البطاقة أضيق من أن تحمل السعر والكبسولة معًا: زر أيقونة يمتلئ بالبني في المضاءة */
  .nv-best__add, .nv-best__card.is-on .nv-best__add, .nv-best__card:hover .nv-best__add { width: 44px; padding: 0; gap: 0; }
  .nv-best__add span, .nv-best__card.is-on .nv-best__add span, .nv-best__card:hover .nv-best__add span { max-width: 0; opacity: 0; }
}
/* ---- جوال: بطاقات صغيرة كتطبيق — المضاءة في المنتصف وجارتان ظاهرتان على الجانبين ---- */
@media (max-width: 767px) {
  .nv-best { --w: min(42vw, 176px); --gap: 9px; --step: 3000ms; padding-top: 34px; }
  .nv-best__in { width: calc(100% - 24px); }
  .nv-best__head { margin-bottom: 0; padding-inline: 4px; gap: 10px; }
  .nv-best__eyebrow { font-size: 11.5px; margin-bottom: 6px; letter-spacing: .3em; }
  .nv-best__title { font-size: clamp(18px, 5vw, 20px); line-height: 1.4; white-space: nowrap; }
  .nv-best__ctrl { margin-bottom: 3px; }
  .nv-best__note, .nv-best__arrows, .nv-best__badge { display: none; }
  .nv-best__count { font-size: 17px; } .nv-best__count span { font-size: 13.5px; }
  .nv-best__stage::before { width: 110vw; height: 74%; top: 2px; }
  .nv-best__track { padding: 14px 0 18px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); }
  .nv-best__card { padding: 5px; border-radius: 18px; transform: scale(.9); }
  .nv-best__card.is-on { transform: scale(1); box-shadow: 0 26px 34px -26px rgba(82, 44, 0, .55), 0 0 0 3px rgba(255, 251, 246, .7); }
  .nv-best__name a::after { border-radius: 18px; }
  .nv-best__media { border-radius: 14px; aspect-ratio: 1 / 1.02; }
  .nv-best__num { font-size: 58px; top: 3px; right: 8px; }
  .nv-best__card.is-on .nv-best__img { transform: translateY(-6px) scale(1.05); }
  .nv-best__info { padding: 8px 4px 2px; }
  .nv-best__name { font-size: 15px; line-height: 1.7; }
  .nv-best__sub { font-size: 13px; line-height: 1.6; margin-top: 0; }
  .nv-best__buy { padding-top: 7px; gap: 4px; }
  .nv-best__price { font-size: 17px; } .nv-best__price span { font-size: 13px; margin-inline-start: 3px; } .nv-best__price del { font-size: 13px; margin-inline-end: 5px; }
  /* زر الأيقونة وحده على الجوال (44px)، والمضاءة تمتلئ بالبني */
  .nv-best__add, .nv-best__card.is-on .nv-best__add, .nv-best__card:hover .nv-best__add { width: 44px; padding: 0; gap: 0; }
  .nv-best__add span, .nv-best__card.is-on .nv-best__add span, .nv-best__card:hover .nv-best__add span { max-width: 0; opacity: 0; }
  .nv-best__card:not(.is-on):hover .nv-best__add { background: transparent; color: var(--nv-brown); border-color: rgba(82, 44, 0, .3); }
  .nv-best__dots li { width: 12px; } .nv-best__dots li.is-on { width: 34px; }
}
@media (max-width: 359px) { .nv-best { --w: 44vw; } .nv-best__price { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) {
  .nv-best * { transition: none !important; animation: none !important; }
}

/* =========================================================
   R2 — طباعة هادئة وموحّدة (الأكثر طلبًا)
   رأس القسم الموحّد + اسم المنتج 16 (14 جوال) + السعر 17 (15 جوال) + أسهم 44
   ========================================================= */
.nv-best { padding-top: 72px; }
.nv-best__head { margin-bottom: 4px; } /* + 26px حشوة الشريط العلوية = المسافة الموحّدة تقريبًا حتى البطاقة المضاءة */
.nv-best__eyebrow { margin-bottom: 12px; font-size: 12px; letter-spacing: .32em; }
.nv-best__title { font-size: clamp(26px, 1.95vw, 28px); line-height: 1.4; }
.nv-best__ctrl { gap: 16px; margin-bottom: -3px; }
.nv-best__note { font-size: 13.5px; }
.nv-best__count { font-size: 18px; } .nv-best__count span { font-size: 14px; }
.nv-best__arrow { width: 44px; height: 44px; }
.nv-best__card { border-radius: 24px; } .nv-best__name a::after { border-radius: 24px; }
.nv-best__media { border-radius: 16px; }
.nv-best__info { padding: 12px 8px 6px; }
.nv-best__name { font-size: 16px; line-height: 1.6; }
.nv-best__sub { margin-top: 2px; font-size: 13.5px; line-height: 1.55; }
.nv-best__buy { padding-top: 12px; }
.nv-best__price { font-size: 17px; } .nv-best__price span { font-size: 13px; } .nv-best__price del { font-size: 13px; }
.nv-best__add { font-size: 14px; }
@media (min-width: 768px) and (max-width: 1100px) { .nv-best__name { font-size: 15px; } .nv-best__price { font-size: 16px; } }
@media (min-width: 768px) and (max-width: 1023px) {
  .nv-best { padding-top: 56px; }
  .nv-best__title { font-size: 23px; }
}
@media (max-width: 767px) {
  .nv-best { padding-top: 30px; }
  .nv-best__head { margin-bottom: 0; }
  .nv-best__eyebrow { margin-bottom: 6px; font-size: 11.5px; letter-spacing: .3em; }
  .nv-best__title { font-size: clamp(18px, 5vw, 20px); line-height: 1.4; }
  .nv-best__ctrl { margin-bottom: 3px; }
  .nv-best__count { font-size: 15px; } .nv-best__count span { font-size: 13px; }
  .nv-best__card { border-radius: 18px; } .nv-best__name a::after { border-radius: 18px; }
  .nv-best__media { border-radius: 14px; }
  .nv-best__info { padding: 8px 4px 2px; }
  .nv-best__name { font-size: 14px; line-height: 1.6; }
  .nv-best__sub { margin-top: 0; font-size: 13px; line-height: 1.55; }
  .nv-best__buy { padding-top: 6px; }
  .nv-best__price { font-size: 15px; } .nv-best__price span { font-size: 13px; }
}
@media (max-width: 359px) { .nv-best__price { font-size: 15px; } }

/* r4: مساحة لمس زر الإضافة ≥44px حتى في البطاقات غير المضاءة (البطاقة مصغّرة scale(.9) فيصير الزر 40×40 فعليًا).
   حلقة شفافة حول الزر توسّع اللمس فقط: (44+10)×0.9 = 48.6px. الشكل الظاهر كما هو. */
.nv-best__add::after { content: ""; position: absolute; inset: -5px; border-radius: 999px; }
/* =========================================================
   NOVALIA — قسم «العود والبخور» (oud)
   مسرح فاتح يتصاعد منه دخان بخور حقيقي بلون بنّي رمادي شفاف — العنصر الإبداعي الوحيد.
   ديسكتوب: قائمة الأنواع الثلاثة بجانب المسرح. جوال: شريط حلقي فوق مسرح ثابت.
   ========================================================= */
.nv-oud {
  --nv-oud-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 12H7m4-4l-4 4 4 4'/%3E%3C/svg%3E");
  --nv-oud-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 8.6h13.6l-.9 11.6H6.1L5.2 8.6z'/%3E%3Cpath d='M9 8.6V7.2a3 3 0 016 0v1.4'/%3E%3Cpath d='M12 11.6v5.2M9.4 14.2h5.2'/%3E%3C/svg%3E");
  --nv-oud-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4.2 4.2 8.8-9.4'/%3E%3C/svg%3E");
  --nv-oud-stage: radial-gradient(58% 42% at 50% 84%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, #FFFCF8 0%, #FDF3E8 48%, #F7E4D0 100%);
  padding: 84px 0 0; font-family: var(--nv-font); color: var(--nv-ink); overflow: clip; overflow-clip-margin: 24px;
}
.nv-oud__in { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }

/* ---- رأس القسم (نمط الأقسام المعتمد) ---- */
.nv-oud__eyebrow { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 0 0 14px; direction: ltr; font: 500 13px/1 var(--nv-latin); letter-spacing: .36em; color: var(--nv-gold-text); }
.nv-oud__eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--nv-gold); }
.nv-oud__title { margin: 0; font: 300 clamp(26px, 2.4vw, 34px)/1.35 var(--nv-display); color: var(--nv-ink); }
.nv-oud__title em { font-style: normal; font-weight: 500; color: var(--nv-gold-text); }
.nv-oud__intro { margin: 14px 0 0; max-width: 35em; font: 400 15.5px/1.8 var(--nv-font); color: var(--nv-muted); }

/* روابط بسهم */
.nv-oud__more i, .nv-oud__all i, .nv-oud__cap a i { position: relative; flex: none; }
.nv-oud__more i::before, .nv-oud__all i::before, .nv-oud__cap a i::before {
  content: ""; position: absolute; inset: 0; background: currentColor;
  -webkit-mask: var(--nv-oud-arrow) center / 20px no-repeat; mask: var(--nv-oud-arrow) center / 20px no-repeat;
}

/* ---- المسرح والدخان ---- */
.nv-oud__stage { position: relative; background: var(--nv-oud-stage); }
.nv-oud__smoke {
  position: absolute; z-index: 1; pointer-events: none; width: var(--sw, 60%); height: var(--sh, 560px);
  left: calc(var(--sx, 54%) - var(--sw, 60%) * var(--stem, .85)); bottom: var(--sb, 30%); scale: var(--mir, 1) 1;
  -webkit-mask: linear-gradient(to top, transparent 0%, #000 20%, #000 58%, transparent 100%); mask: linear-gradient(to top, transparent 0%, #000 20%, #000 58%, transparent 100%);
  opacity: 0; transform: translate3d(0, 16%, 0) scale(.86); transform-origin: 85% 100%;
  transition: opacity 2.6s var(--nv-ease), transform 3.6s var(--nv-ease);
}
.nv-oud.is-in .nv-oud__smoke { opacity: var(--so, .78); transform: none; }
.nv-oud__smoke i {
  position: absolute; inset: 0; background-position: center; background-size: 100% 100%; background-repeat: no-repeat;
  transform-origin: 85% 100%; animation: nv-oud-rise 18s linear infinite; animation-play-state: paused; will-change: transform, opacity;
}
.nv-oud__smoke i + i { animation-delay: -9s; }
.nv-oud.is-live .nv-oud__smoke i { animation-play-state: running; }
@keyframes nv-oud-rise {
  0% { opacity: 0; transform: translate3d(1.5%, 7%, 0) scale(.95); }
  28% { opacity: 1; }
  72% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(-2.5%, -9%, 0) scale(1.07); }
}

/* ---- المنتج على المسرح ---- */
.nv-oud__pic { position: relative; display: block; text-decoration: none; }
.nv-oud__pic img { position: relative; z-index: 1; display: block; width: auto; height: calc(var(--ph, 280px) * var(--k, 1)); max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(82, 44, 0, .2)); }
.nv-oud__pic::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -6px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(82, 44, 0, .26), transparent); }
.nv-oud__item[data-i="0"] { --k: .9; }
.nv-oud__item[data-i="1"] { --k: .84; }
.nv-oud__item[data-i="2"] { --k: 1.06; }

/* ---- الصف: الاسم والسعر وزر الإضافة ---- */
.nv-oud__name { margin: 0; font: 500 18px/1.4 var(--nv-display); }
.nv-oud__name a { color: var(--nv-ink) !important; text-decoration: none; }
.nv-oud__line { margin: 4px 0 0; font: 400 14px/1.7 var(--nv-font); color: var(--nv-muted); }
.nv-oud__buy { display: flex; align-items: center; gap: 14px; flex: none; }
.nv-oud__price { font: 500 20px/1 var(--nv-display); color: var(--nv-ink); white-space: nowrap; }
.nv-oud__price span { font: 400 14px/1 var(--nv-font); color: var(--nv-gold-text); margin-inline-start: 4px; }
.nv-oud__price s { display: block; margin-top: 4px; font: 400 13px/1 var(--nv-font); color: var(--nv-muted); }
.nv-oud__add {
  display: inline-flex; align-items: center; height: 46px; padding: 0; border: 1px solid var(--nv-line); border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--nv-gold-text); font: 500 15px/1 var(--nv-display);
  transition: background .5s var(--nv-ease), color .4s var(--nv-ease), border-color .4s var(--nv-ease), transform .5s var(--nv-ease);
}
.nv-oud__add::after {
  content: ""; width: 44px; height: 44px; flex: none; background: currentColor;
  -webkit-mask: var(--nv-oud-bag) center / 21px no-repeat; mask: var(--nv-oud-bag) center / 21px no-repeat;
}
.nv-oud__add em { font-style: normal; line-height: 44px; height: 44px; white-space: nowrap; overflow: hidden; max-width: 0; padding-inline-start: 0; opacity: 0; transition: max-width .8s var(--nv-ease), padding .8s var(--nv-ease), opacity .4s; }
.nv-oud__add:hover { border-color: var(--nv-gold); background: var(--nv-cream); }
.nv-oud__add:active { transform: scale(.96); }
.nv-oud__add:focus-visible, .nv-oud a:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 3px; }
.nv-oud__add.is-busy { opacity: .6; cursor: progress; }
.nv-oud__add.is-done::after { -webkit-mask-image: var(--nv-oud-check); mask-image: var(--nv-oud-check); }
.nv-oud__add.is-out { opacity: .5; cursor: not-allowed; }

/* =========================================================
   الديسكتوب والتابلت: القائمة في البداية والمسرح في النهاية
   ========================================================= */
@media (min-width: 768px) {
  .nv-oud__in {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(28px, 4.6vw, 76px);
    grid-template-rows: auto auto auto auto 1fr;
    grid-template-areas: "head stage" "r0 stage" "r1 stage" "r2 stage" "foot stage";
  }
  .nv-oud__body, .nv-oud__track, .nv-oud__item { display: contents; }
  .nv-oud__item--clone, .nv-oud__dots, .nv-oud__more { display: none; }
  .nv-oud__head { grid-area: head; padding-top: 28px; margin-bottom: 30px; }

  .nv-oud__stage { grid-area: stage; min-height: 580px; border-radius: 34px; --sx: 36%; --sw: 72%; --sh: 600px; --sb: 20%; --so: .66; --mir: -1; }
  .nv-oud__title em { display: block; } .nv-oud__dot { display: none; }
  .nv-oud__line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nv-oud__stage::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(172, 121, 27, .14); pointer-events: none; }

  .nv-oud__fig {
    grid-area: stage; position: relative; z-index: 2; align-self: end; display: flex; flex-direction: column; align-items: center;
    padding: 0 40px 40px; --ph: 320px;
    opacity: 0; transform: translate3d(0, 18px, 0) scale(.97); pointer-events: none;
    transition: opacity .24s cubic-bezier(.4, 0, 1, 1), transform .32s cubic-bezier(.4, 0, 1, 1);
  }
  .nv-oud__item.is-on .nv-oud__fig { opacity: 1; transform: none; pointer-events: auto; transition: opacity .7s var(--nv-ease) .28s, transform 1s var(--nv-ease) .28s; }
  .nv-oud.is-mq .nv-oud__fig { transition: none !important; }
  .nv-oud__cap { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 34px 0 0; text-align: center; }
  .nv-oud__cap span { font: 300 20px/1.4 var(--nv-display); color: var(--nv-ink); }
  .nv-oud__cap a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-inline: 18px 10px; border-radius: 999px; font: 500 15px/1 var(--nv-display); color: var(--nv-gold-text) !important; text-decoration: none; transition: background .4s var(--nv-ease); }
  .nv-oud__cap a i { width: 22px; height: 22px; transition: transform .5s var(--nv-ease); }
  .nv-oud__cap a:hover { background: rgba(254, 230, 206, .7); } .nv-oud__cap a:hover i { transform: translateX(-4px); }

  .nv-oud__info {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; margin-bottom: 10px; cursor: pointer;
    border-radius: 24px; border: 1px solid transparent; transition: background .6s var(--nv-ease), border-color .6s var(--nv-ease), box-shadow .6s var(--nv-ease);
  }
  .nv-oud__item:nth-child(1) .nv-oud__info { grid-area: r0; }
  .nv-oud__item:nth-child(2) .nv-oud__info { grid-area: r1; }
  .nv-oud__item:nth-child(3) .nv-oud__info { grid-area: r2; }
  .nv-oud__info::before { content: ""; position: absolute; inset-inline: 22px; top: -6px; height: 1px; background: var(--nv-line-soft); transition: opacity .4s; }
  .nv-oud__item:first-child .nv-oud__info::before, .nv-oud__item.is-on .nv-oud__info::before, .nv-oud__item.is-on + .nv-oud__item .nv-oud__info::before { opacity: 0; }
  .nv-oud__txt { min-width: 0; }
  .nv-oud__name { color: var(--nv-muted); transition: color .4s; }
  .nv-oud__name a { color: inherit !important; }
  .nv-oud__item.is-on .nv-oud__info { background: var(--nv-paper); border-color: var(--nv-line-soft); box-shadow: 0 22px 40px -32px rgba(82, 44, 0, .55); }
  .nv-oud__item.is-on .nv-oud__name { color: var(--nv-ink); }
  .nv-oud__item.is-on .nv-oud__add { background: var(--nv-brown); border-color: var(--nv-brown); color: var(--nv-ivory); }
  .nv-oud__item.is-on .nv-oud__add em { max-width: 140px; padding-inline-start: 20px; opacity: 1; transition-delay: .15s; }
  .nv-oud__item.is-on .nv-oud__add:hover { background: #3E2100; }

  .nv-oud__all {
    grid-area: foot; align-self: end; justify-self: start; display: inline-flex; align-items: center; gap: 12px; height: 48px; padding-inline: 22px 6px; margin-top: 22px;
    border-radius: 999px; border: 1px solid var(--nv-line); text-decoration: none; white-space: nowrap; font: 500 15px/1 var(--nv-display); color: var(--nv-ink) !important;
    transition: background .4s var(--nv-ease), border-color .4s var(--nv-ease);
  }
  .nv-oud__all i { width: 36px; height: 36px; border-radius: 50%; background: var(--nv-ink); color: var(--nv-ivory); transition: transform .5s var(--nv-ease); }
  .nv-oud__all:hover { background: var(--nv-cream); border-color: var(--nv-gold); } .nv-oud__all:hover i { transform: translateX(-4px); }
}
@media (min-width: 768px) and (max-width: 1180px) {
  .nv-oud__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; }
  .nv-oud__head { padding-top: 8px; margin-bottom: 20px; }
  .nv-oud__intro { font-size: 14.5px; }
  .nv-oud__stage { min-height: 520px; border-radius: 28px; --sh: 500px; --sb: 19%; }
  .nv-oud__fig { --ph: 240px; padding: 0 24px 30px; }
  .nv-oud__cap span { font-size: 17px; }
  .nv-oud__info { padding: 14px 16px; gap: 12px; }
  .nv-oud__name { font-size: 17px; } .nv-oud__line { font-size: 13.5px; }
  .nv-oud__price { font-size: 18px; }
  .nv-oud__item.is-on .nv-oud__add em { max-width: 0; padding: 0; opacity: 0; }
}
@media (min-width: 768px) and (max-width: 959px) {
  .nv-oud__in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .nv-oud__line { display: none; }
  .nv-oud__stage { --sh: 440px; }
  .nv-oud__fig { --ph: 200px; }
}

/* =========================================================
   الجوال: رأس مضغوط، ومسرح ثابت يمرّ فوقه شريط المنتجات تلقائيًا (حلقة)
   ========================================================= */
@media (max-width: 767px) {
  .nv-oud { padding-top: 34px; }
  .nv-oud__in { width: 100%; }
  .nv-oud__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-bottom: 14px; padding-inline: 18px 10px; }
  .nv-oud__titles { min-width: 0; }
  .nv-oud__eyebrow { font-size: 11.5px; letter-spacing: .3em; margin-bottom: 6px; white-space: nowrap; }
  .nv-oud__title { font-size: clamp(18px, 5vw, 20px); line-height: 1.4; white-space: nowrap; }
  .nv-oud__intro, .nv-oud__cap, .nv-oud__all { display: none; }
  .nv-oud__more { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 4px; flex: none; white-space: nowrap; text-decoration: none; font: 500 13.5px/1 var(--nv-display); color: var(--nv-gold-text) !important; }
  .nv-oud__more i { width: 24px; height: 24px; }

  .nv-oud__body { position: relative; margin-inline: 12px; --st: 214px; }
  .nv-oud__stage { position: absolute; inset-inline: 0; top: 0; height: var(--st); border-radius: 24px; overflow: hidden; --sx: 56%; --sw: 62%; --sh: 300px; --sb: 22%; --so: .72; }
  .nv-oud__stage::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(172, 121, 27, .14); pointer-events: none; }
  .nv-oud__track { position: relative; z-index: 2; display: flex; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
  .nv-oud__track::-webkit-scrollbar { display: none; }
  .nv-oud__item { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
  .nv-oud__fig { height: var(--st); display: grid; place-items: center; padding-bottom: 14px; --ph: 150px; }
  .nv-oud__item[data-i="2"] { --k: 1.08; }
  .nv-oud__pic img { max-width: 240px; }

  .nv-oud__info { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 6px 2px; }
  .nv-oud__txt { min-width: 0; }
  .nv-oud__name { font-size: 15px; line-height: 1.4; }
  .nv-oud__line { margin-top: 1px; font-size: 13px; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nv-oud__buy { gap: 10px; }
  .nv-oud__price { font-size: 17px; }
  .nv-oud__price span { font-size: 13px; }
  .nv-oud__add { height: 44px; border: 0; background: var(--nv-brown); color: var(--nv-ivory); }
  .nv-oud__add::after { width: 44px; height: 44px; }

  .nv-oud__dots { position: absolute; z-index: 3; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 6px; }
  .nv-oud__dots b { width: 6px; height: 6px; border-radius: 6px; background: rgba(122, 82, 15, .28); transition: width .6s var(--nv-ease), background .6s; }
  .nv-oud__dots b.is-on { width: 20px; background: var(--nv-gold); }
}
@media (max-width: 359px) {
  .nv-oud__title em, .nv-oud__dot { display: none; }
  .nv-oud__info { gap: 8px; padding-inline: 2px; }
  .nv-oud__buy { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .nv-oud *, .nv-oud *::before, .nv-oud *::after { transition: none !important; }
  .nv-oud__smoke i { animation: none !important; }
  .nv-oud__smoke i + i { display: none; }
  .nv-oud__smoke { opacity: var(--so, .78); transform: none; }
  .nv-oud__item--clone { display: none !important; }
}

/* =========================================================
   R2 — طباعة هادئة وموحّدة (العود والبخور)
   العنوان صار سطرًا واحدًا «العود والبخور… عبق المجلس» كباقي الأقسام، ورأس القسم يبدأ مع حافة المسرح العليا
   ========================================================= */
.nv-oud { padding-top: 72px; }
.nv-oud__eyebrow { margin-bottom: 12px; font-size: 12px; letter-spacing: .32em; }
.nv-oud__title { font-size: clamp(26px, 1.95vw, 28px); line-height: 1.4; }
.nv-oud__intro { margin-top: 12px; font-size: 15px; line-height: 1.8; max-width: 36em; }
.nv-oud__name { font-size: 16px; line-height: 1.45; }
.nv-oud__line { margin-top: 3px; font-size: 13.5px; line-height: 1.65; }
.nv-oud__price { font-size: 17px; } .nv-oud__price span { font-size: 13px; }
.nv-oud__add { height: 48px; font-size: 14.5px; }
.nv-oud__add::after { width: 46px; height: 46px; } .nv-oud__add em { line-height: 46px; height: 46px; }
@media (min-width: 768px) {
  .nv-oud__head { padding-top: 0; margin-bottom: 22px; }
  .nv-oud__title { white-space: nowrap; }
  .nv-oud__title em { display: inline; } .nv-oud__dot { display: inline; }
  .nv-oud__stage { border-radius: 28px; }
  .nv-oud__info { border-radius: 20px; }
  .nv-oud__item.is-on .nv-oud__info { box-shadow: 0 26px 40px -34px rgba(82, 44, 0, .5); }
  .nv-oud__cap { gap: 8px; margin-top: 28px; }
  .nv-oud__cap span { font-size: 17px; line-height: 1.5; }
  .nv-oud__cap a { height: 44px; font-size: 14px; }
  .nv-oud__all { height: 44px; gap: 10px; padding-inline: 18px 5px; font-size: 14px; }
  .nv-oud__all i { width: 34px; height: 34px; }
}
@media (min-width: 768px) and (max-width: 1180px) {
  .nv-oud__head { padding-top: 0; margin-bottom: 18px; }
  .nv-oud__intro { font-size: 14.5px; }
  .nv-oud__stage { border-radius: 24px; }
  .nv-oud__cap span { font-size: 16px; }
  .nv-oud__name { font-size: 15px; } .nv-oud__line { font-size: 13px; }
  .nv-oud__price { font-size: 16px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .nv-oud { padding-top: 56px; }
  .nv-oud__title { font-size: 23px; }
}
@media (max-width: 767px) {
  .nv-oud { padding-top: 30px; }
  .nv-oud__head { margin-bottom: 14px; }
  .nv-oud__eyebrow { margin-bottom: 6px; font-size: 11.5px; letter-spacing: .3em; }
  .nv-oud__title { font-size: clamp(18px, 5vw, 20px); line-height: 1.4; }
  .nv-oud__stage { border-radius: 22px; }
  .nv-oud__name { font-size: 14px; line-height: 1.5; }
  .nv-oud__line { margin-top: 0; font-size: 13px; line-height: 1.6; }
  .nv-oud__price { font-size: 15px; } .nv-oud__price span { font-size: 13px; }
  .nv-oud__add { height: 44px; } .nv-oud__add::after { width: 44px; height: 44px; }
}
@media (max-width: 359px) { .nv-oud__title em, .nv-oud__dot { display: none; } }
/* المسرح أقصر بدرجة ليتوازن مع عمود القائمة بعد تصغير الخط: min-height 580 → 540 (ديسكتوب)، 520 → 490 (تابلت) */
@media (min-width: 1181px) { .nv-oud__stage { min-height: 540px; --sh: 560px; } }
@media (min-width: 768px) and (max-width: 1180px) { .nv-oud__stage { min-height: 490px; --sh: 470px; } }
@media (min-width: 768px) { .nv-oud__cap a { min-height: 46px; } }
/* =========================================================
   NOVALIA — «أورا في بيتكِ» (sec-home v2): صورة واحدة كبيرة + قطعة مختارة واحدة + السعر وزر الطلب
   المصدر بلوك في محرر الثيم (sec-home.js). التصميم القديم بثلاث مناطق (طقوس أورا | الصورة | عطور الشعر) أُزيل.
   1) أساس القسم: رأس القسم، السعر والتوفر وزر الطلب، نقاط القطع على الصورة (من القسم القديم كما هي)
   2) R2: طباعة هادئة موحّدة لرأس القسم والسعر والزر
   3) v2: لوحة الصورة والقطعة المختارة (.nv-solo…) كما نُشرت
   4) R3: تهدئة عناوين اللوحة لتتبع سلّم R2
   ========================================================= */
/* ---------- 1) أساس القسم ---------- */
.nv-home { padding: 84px 0 0; font-family: var(--nv-font); color: var(--nv-ink); }
.nv-home__in { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }
.nv-home__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.nv-home__head > div { min-width: 0; }
.nv-home__eyebrow { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 0 0 14px; font: 500 13px/1 var(--nv-latin); letter-spacing: .36em; color: var(--nv-gold-text); direction: ltr; }
.nv-home__eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--nv-gold); }
.nv-home__title { margin: 0; font: 300 clamp(26px, 2.4vw, 34px)/1.35 var(--nv-display); color: var(--nv-ink); }
.nv-home__title em { font-style: normal; font-weight: 500; color: var(--nv-gold-text); }
.nv-home__more i::before, .nv-home__cta i::before { content: ""; position: absolute; inset: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 12H7m4-4l-4 4 4 4'/%3E%3C/svg%3E") center / 20px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 12H7m4-4l-4 4 4 4'/%3E%3C/svg%3E") center / 20px no-repeat; }
.nv-home__more { display: inline-flex; align-items: center; gap: 4px; height: 44px; margin-block: -8px; margin-inline-end: -6px; padding-inline: 6px 0; white-space: nowrap; text-decoration: none; font: 500 15px/1 var(--nv-display); color: var(--nv-gold-text) !important; }
.nv-home__more i { position: relative; width: 28px; height: 28px; color: var(--nv-gold-text); transition: transform .5s var(--nv-ease); }
.nv-home__more:hover i { transform: translateX(-4px); }
.nv-home button { font-family: inherit; -webkit-tap-highlight-color: transparent; }
.nv-home :focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 2px; }
.nv-home__buy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nv-home__price { font: 500 20px/1 var(--nv-display); color: var(--nv-ink); white-space: nowrap; }
.nv-home__price span { font: 400 14px/1 var(--nv-font); color: var(--nv-gold-text); margin-inline-start: 6px; }
.nv-home__stock { display: inline-flex; align-items: center; gap: 7px; font: 400 13px/1.3 var(--nv-font); color: #2F6B3A; white-space: nowrap; }
.nv-home__stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.nv-home__stock.is-out { color: #8A3B22; }
.nv-home__cta { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding-inline: 20px 5px; border-radius: 999px; flex: none; white-space: nowrap; text-decoration: none; border: 1px solid var(--nv-line); font: 500 15px/1 var(--nv-display); color: var(--nv-ink) !important; transition: background .4s var(--nv-ease), border-color .4s var(--nv-ease); }
.nv-home__cta i { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--nv-cream); color: var(--nv-brown); transition: transform .5s var(--nv-ease); }
.nv-home__cta.is-in { background: var(--nv-brown); border-color: var(--nv-brown); color: var(--nv-ivory) !important; }
.nv-home__cta.is-in i { background: var(--nv-ivory); }
.nv-home__cta:hover { border-color: var(--nv-gold); }
.nv-home__cta:hover i { transform: translateX(-4px); }
.nv-home__pin { position: absolute; z-index: 1; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.nv-home__pin > i { position: absolute; inset: 9px; border-radius: 50%; background: rgba(255, 247, 239, .28); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); box-shadow: inset 0 0 0 1px rgba(255, 247, 239, .85), 0 6px 14px -6px rgba(23, 19, 16, .5); transition: transform .6s var(--nv-ease), background .5s var(--nv-ease); }
.nv-home__pin > i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #FFF7EF; box-shadow: 0 0 0 2px rgba(82, 44, 0, .55); }
.nv-home__pin::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1px solid rgba(255, 247, 239, .9); opacity: 0; pointer-events: none; }
.nv-home__pin.is-on > i { transform: scale(1.18); background: rgba(172, 121, 27, .55); }
.nv-home.is-live .nv-home__pin.is-on::before { animation: nv-home-ping 2.2s var(--nv-ease) infinite; }
@keyframes nv-home-ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.1); } }
.nv-home__tip { position: absolute; bottom: calc(100% + 2px); left: 50%; padding: 7px 13px; border-radius: 999px; white-space: nowrap; pointer-events: none; background: rgba(255, 251, 246, .94); box-shadow: 0 10px 22px -12px rgba(23, 19, 16, .55); font: 500 13px/1 var(--nv-display); color: var(--nv-ink); opacity: 0; transform: translate(-50%, 6px); transition: opacity .45s var(--nv-ease), transform .6s var(--nv-ease); }
.nv-home__pin.is-on .nv-home__tip { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 699px) {
  .nv-home { padding-top: 34px; overflow-x: clip; }
  .nv-home__in { width: 100%; }
  .nv-home__head { margin-bottom: 14px; padding-inline: 16px; align-items: flex-end; }
  .nv-home__eyebrow { font-size: 11.5px; margin-bottom: 6px; letter-spacing: .3em; white-space: nowrap; }
  .nv-home__title { font-size: clamp(18px, 5vw, 20px); line-height: 1.4; white-space: nowrap; }
  .nv-home__more { font-size: 13.5px; }
  .nv-home__price { font-size: 17px; }
  .nv-home__price span { font-size: 13px; margin-inline-start: 4px; }
  .nv-home__cta { height: 44px; font-size: 14px; padding-inline: 16px 4px; }
  .nv-home__cta i { width: 34px; height: 34px; }
  .nv-home__tip { font-size: 13px; padding: 6px 11px; }
}
@media (max-width: 379px) {
  .nv-home__head .nv-home__more { display: none; }
}
@media (max-width: 359px) {
  .nv-home__cta { padding-inline: 14px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .nv-home *, .nv-home *::before, .nv-home *::after { transition: none !important; animation: none !important; }
}

/* ---------- 2) R2: طباعة هادئة وموحّدة ---------- */
.nv-home { padding-top: 72px; }
.nv-home__head { margin-bottom: 28px; gap: 24px; }
.nv-home__eyebrow { margin-bottom: 12px; font-size: 12px; letter-spacing: .32em; }
.nv-home__title { font-size: clamp(26px, 1.95vw, 28px); line-height: 1.4; }
@media (min-width: 700px) {
  .nv-home__more { height: 44px; gap: 10px; margin: 0 0 -3px; padding-inline: 18px 5px; border-radius: 999px; border: 1px solid var(--nv-line); flex: none; font-size: 14px; color: var(--nv-ink) !important; transition: background .4s var(--nv-ease), border-color .4s var(--nv-ease); }
  .nv-home__more i { width: 34px; height: 34px; border-radius: 50%; background: var(--nv-ink); color: var(--nv-ivory); }
  .nv-home__more:hover { background: var(--nv-cream); border-color: var(--nv-gold); }
}
.nv-home__price { font-size: 17px; }
.nv-home__price span { font-size: 13px; margin-inline-start: 5px; }
.nv-home__cta { height: 48px; font-size: 14.5px; }
@media (max-width: 1179px) {
  .nv-home__head { margin-bottom: 18px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .nv-home { padding-top: 56px; }
  .nv-home__title { font-size: 23px; }
}
@media (max-width: 767px) {
  .nv-home { padding-top: 30px; }
  .nv-home__head { margin-bottom: 14px; gap: 16px; }
  .nv-home__eyebrow { margin-bottom: 6px; font-size: 11.5px; letter-spacing: .3em; white-space: nowrap; }
  .nv-home__title { font-size: clamp(18px, 5vw, 20px); line-height: 1.4; white-space: nowrap; }
}
@media (max-width: 699px) {
  .nv-home__more { font-size: 13.5px; }
  .nv-home__price { font-size: 15px; }
  .nv-home__price span { font-size: 13px; margin-inline-start: 4px; }
  .nv-home__cta { height: 44px; font-size: 14px; }
}

/* ---------- 3) v2: الصورة والقطعة المختارة ---------- */
.nv-home--solo .nv-solo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: 560px; border-radius: 30px; overflow: hidden; background: var(--nv-paper); box-shadow: 0 0 0 1px var(--nv-line-soft), 0 44px 70px -60px rgba(82, 44, 0, .6); }
.nv-solo__photo { position: relative; overflow: hidden; background: #F3DCCF; order: 2; }
.nv-solo__canvas { position: absolute; left: 0; bottom: -7%; width: 100%; aspect-ratio: 628 / 784; }
.nv-solo__canvas img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nv-solo__copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 48px clamp(36px, 5vw, 76px); order: 1; }
.nv-solo__kicker { margin: 0 0 12px; font: 500 13px/1.4 var(--nv-font); color: var(--nv-gold-text); }
.nv-solo__h { margin: 0; font: 300 30px/1.35 var(--nv-display); color: var(--nv-ink); }
.nv-solo__h em { font-style: normal; font-weight: 500; color: var(--nv-gold-text); }
.nv-solo__sub { margin: 10px 0 0; max-width: 44ch; font: 400 15px/1.8 var(--nv-font); color: var(--nv-muted); }
.nv-solo__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.nv-solo__chip { height: 40px; padding: 0 16px; border: 1px solid var(--nv-line-soft); border-radius: 999px; background: none; cursor: pointer; font: 400 14px/1 var(--nv-font); color: var(--nv-ink); white-space: nowrap; transition: background .4s var(--nv-ease), color .4s var(--nv-ease), border-color .4s var(--nv-ease); }
.nv-solo__chip.is-on { background: var(--nv-brown); border-color: var(--nv-brown); color: var(--nv-ivory); }
.nv-solo__piece { margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--nv-line-soft); min-height: 104px; }
.nv-solo__place { margin: 0; font: 500 13.5px/1.4 var(--nv-font); color: var(--nv-gold-text); }
.nv-solo__name { margin: 4px 0 0; font: 400 20px/1.4 var(--nv-display); color: var(--nv-ink); }
.nv-solo__name bdi { margin-inline-start: 10px; font: 400 13.5px/1 var(--nv-font); color: var(--nv-muted); }
.nv-solo__desc { margin: 4px 0 0; font: 400 14.5px/1.75 var(--nv-font); color: var(--nv-muted); }
.nv-solo__piece.is-swap > * { animation: nv-solo-in .5s var(--nv-ease) both; }
@keyframes nv-solo-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.nv-solo__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--nv-line-soft); }
.nv-home--solo .nv-home__price { font-size: 24px; }
@media (max-width: 1279px) {
  .nv-solo__chips { flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .nv-solo__chips::-webkit-scrollbar { display: none; }
  .nv-solo__chip { flex: none; padding: 0 12px; font-size: 13.5px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .nv-home--solo .nv-solo { height: 500px; }
  .nv-solo__copy { padding: 30px 30px; }
  .nv-solo__h { font-size: 24px; }
  .nv-solo__chips { margin-top: 18px; }
  .nv-solo__canvas { bottom: 0; top: auto; height: 100%; width: auto; left: 50%; transform: translateX(-50%); }
}
@media (max-width: 767px) {
  .nv-home--solo .nv-solo { grid-template-columns: 1fr; height: auto; border-radius: 22px; margin-inline: 16px; }
  .nv-solo__photo { order: 1; aspect-ratio: 1 / .86; }
  .nv-solo__canvas { bottom: -4%; }
  .nv-solo__copy { order: 2; padding: 18px 18px 18px; }
  .nv-solo__kicker, .nv-solo__h, .nv-solo__sub { display: none; }
  .nv-solo__chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 0 18px; scrollbar-width: none; }
  .nv-solo__chips::-webkit-scrollbar { display: none; }
  .nv-solo__chip { height: 44px; font-size: 14px; flex: none; }
  .nv-solo__piece { margin-top: 14px; padding-top: 14px; min-height: 0; }
  .nv-solo__name { font-size: 17px; }
  .nv-solo__desc { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nv-solo__foot { margin-top: 14px; padding-top: 14px; }
  .nv-home--solo .nv-home__price { font-size: 20px; }
}

.nv-home--plain .nv-solo__canvas { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; bottom: auto; transform: none; left: 0; }
.nv-home--plain .nv-solo__canvas img { object-fit: contain; }
.nv-home--plain .nv-solo__foot { border-top: 0; }

/* ---------- 4) R3: تهدئة تتبع سلّم R2 (عنوان القسم صار 28px فلا يكبره عنوان اللوحة، والسعر بحجم بقية الأقسام) ---------- */
.nv-solo__h { font-size: 24px; line-height: 1.4; }
.nv-home--solo .nv-home__price { font-size: 20px; }
@media (min-width: 768px) and (max-width: 1023px) { .nv-solo__h { font-size: 21px; } }
@media (max-width: 767px) { .nv-home--solo .nv-home__price { font-size: 17px; } }
/* =========================================================
   NOVALIA — البكجات والهدايا (gifts): «اختاري هديتها حسب ذوقها»
   العنصر الواحد القوي: منصة دائرية تتلوّن بلون كل عطر (شمبانيا · عسلي · وردي كريمي)
   فتبدو العلبة الخضراء الداكنة جوهرة معروضة على طبق فاتح، لا بقعة داكنة على الصفحة.
   ========================================================= */
.nv-gifts {
  --nv-gifts-shatha: radial-gradient(circle at 50% 34%, #FCEFE3 0%, #EFD4BD 52%, #DDB697 100%);
  --nv-gifts-mendelian: radial-gradient(circle at 50% 34%, #FDF3DC 0%, #F2D9A4 52%, #E1B76C 100%);
  --nv-gifts-powder: radial-gradient(circle at 50% 34%, #FFF9F3 0%, #FBE3D3 52%, #F0C4AA 100%);
  --nv-gifts-samples: radial-gradient(circle at 50% 34%, #FFFDF9 0%, #F8ECDF 52%, #EBD5BF 100%);
  --nv-gifts-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 12H7m4-4l-4 4 4 4'/%3E%3C/svg%3E");
  --nv-gifts-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 8.5h13l-1 11h-11z'/%3E%3Cpath d='M9 8.5V7a3 3 0 0 1 6 0v1.5'/%3E%3Cpath d='M12 12.2v4.6M9.7 14.5h4.6'/%3E%3C/svg%3E");
  --nv-gifts-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
  position: relative; padding: 84px 0 0; font-family: var(--nv-font); color: var(--nv-ink);
}
.nv-gifts__in { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }

/* ---- رأس القسم (نفس نمط بقية الأقسام) ---- */
.nv-gifts__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.nv-gifts__head > div { min-width: 0; }
.nv-gifts__eyebrow { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 0 0 14px; font: 500 13px/1 var(--nv-latin); letter-spacing: .36em; color: var(--nv-gold-text); direction: ltr; }
.nv-gifts__eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--nv-gold); }
.nv-gifts__title { margin: 0; font: 300 clamp(26px, 2.4vw, 34px)/1.35 var(--nv-display); color: var(--nv-ink); }
.nv-gifts__title em { font-style: normal; font-weight: 500; color: var(--nv-gold-text); }
.nv-gifts__more {
  display: inline-flex; align-items: center; gap: 12px; height: 48px; padding-inline: 22px 6px; border-radius: 999px; white-space: nowrap; text-decoration: none; flex: none;
  border: 1px solid var(--nv-line); font: 500 15px/1 var(--nv-display); color: var(--nv-ink) !important; transition: background .4s var(--nv-ease), border-color .4s var(--nv-ease);
}
.nv-gifts__more i { width: 36px; height: 36px; border-radius: 50%; background: var(--nv-ink); position: relative; transition: transform .5s var(--nv-ease); }
.nv-gifts__more i::before { content: ""; position: absolute; inset: 0; background: var(--nv-ivory); -webkit-mask: var(--nv-gifts-arrow) center / 20px no-repeat; mask: var(--nv-gifts-arrow) center / 20px no-repeat; }
.nv-gifts__more-s { display: none; }
.nv-gifts__more:hover { background: var(--nv-cream); border-color: var(--nv-gold); } .nv-gifts__more:hover i { transform: translateX(-4px); }

/* ---- الديسكتوب: قائمة الإجابات يمينًا والمنصة يسارًا ---- */
.nv-gifts__desk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.nv-gifts__desk > .nv-gifts__stage { order: -1; }
.nv-gifts__mob { display: none; }
.nv-gifts__live { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nv-gifts__ask { margin: 0 0 12px; font: 400 15.5px/1.6 var(--nv-font); color: var(--nv-muted); }
.nv-gifts__rows { border-bottom: 1px solid var(--nv-line); }
.nv-gifts__row { position: relative; border-top: 1px solid var(--nv-line); }
.nv-gifts__bar { position: absolute; top: -1px; inset-inline: 0; height: 1px; background: var(--nv-gold); transform: scaleX(0); transform-origin: right center; pointer-events: none; }
[dir="ltr"] .nv-gifts__bar { transform-origin: left center; }
.nv-gifts__row.is-on .nv-gifts__bar { transform: scaleX(1); }
.nv-gifts.is-auto .nv-gifts__row.is-on .nv-gifts__bar { transform: scaleX(0); animation: nv-gifts-bar 7s linear forwards; }
.nv-gifts.is-auto:not(.is-live) .nv-gifts__bar, .nv-gifts.is-auto.is-hold .nv-gifts__bar, .nv-gifts.is-auto.is-wait .nv-gifts__bar { animation-play-state: paused !important; }
@keyframes nv-gifts-bar { to { transform: scaleX(1); } }

.nv-gifts__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 76px; padding: 14px 2px; margin: 0;
  border: 0; border-radius: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.nv-gifts__q:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 2px; border-radius: 6px; }
.nv-gifts__say { font: 300 clamp(19px, 1.55vw, 22px)/1.4 var(--nv-display); color: var(--nv-ink); transition: color .5s var(--nv-ease); }
.nv-gifts__q:hover .nv-gifts__say { color: var(--nv-gold-text); }
.nv-gifts__row.is-on .nv-gifts__say { font-weight: 500; color: var(--nv-gold-text); }
.nv-gifts__meta { display: flex; align-items: baseline; gap: 14px; flex: none; white-space: nowrap; font: 400 14px/1 var(--nv-font); color: var(--nv-muted); transition: opacity .5s var(--nv-ease), transform .6s var(--nv-ease); }
.nv-gifts__row.is-on .nv-gifts__meta { opacity: 0; transform: translateX(-10px); }

.nv-gifts__price { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; color: var(--nv-ink); }
.nv-gifts__price b { font: 500 16px/1 var(--nv-display); }
.nv-gifts__price span { font: 400 13px/1 var(--nv-font); color: var(--nv-gold-text); }
.nv-gifts__price s { margin-inline-start: 6px; font: 400 13px/1 var(--nv-font); color: var(--nv-muted); }

.nv-gifts__panels {
  display: grid; margin-top: 22px; padding: 22px 26px 22px; border-radius: 26px; background: var(--nv-paper);
  border: 1px solid rgba(172, 121, 27, .2); box-shadow: 0 26px 40px -36px rgba(82, 44, 0, .45);
}
.nv-gifts__panel { grid-area: 1 / 1; align-self: center; min-width: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .45s var(--nv-ease), transform .8s var(--nv-ease), visibility 0s linear .45s; }
.nv-gifts__panel.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--nv-ease) .15s, transform .9s var(--nv-ease) .15s, visibility 0s; }
.nv-gifts__notes { margin: 0; max-width: 46ch; font: 400 14.5px/1.8 var(--nv-font); color: var(--nv-muted); }
.nv-gifts__prod { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; font-weight: inherit; }
.nv-gifts__prod a { display: inline-block; padding-block: 10px; margin-block: -10px; font: 500 18px/1.4 var(--nv-display); color: var(--nv-ink) !important; text-decoration: none; background: linear-gradient(var(--nv-gold), var(--nv-gold)) 0 calc(100% - 9px) / 0 1px no-repeat; transition: background-size .6s var(--nv-ease), color .4s; }
.nv-gifts__prod a:hover { color: var(--nv-gold-text) !important; background-size: 100% 1px; }
.nv-gifts__prod a:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 3px; }
.nv-gifts__prod span { font: 400 14px/1.6 var(--nv-font); color: var(--nv-muted); }
.nv-gifts__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 16px 0 0; }
.nv-gifts__price--lg b { font-size: 26px; } .nv-gifts__price--lg span { font-size: 14px; }
.nv-gifts__price--lg { margin-inline-end: 6px; }

.nv-gifts__add {
  display: inline-flex; align-items: center; gap: 12px; height: 48px; padding-inline: 22px 6px; margin: 0; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  background: var(--nv-brown); color: #FFF7EF !important; font: 500 15px/1 var(--nv-display); white-space: nowrap; transition: background .4s var(--nv-ease), transform .5s var(--nv-ease);
  box-shadow: 0 14px 24px -16px rgba(82, 44, 0, .75);
}
.nv-gifts__add em { font-style: normal; }
.nv-gifts__add i { position: relative; width: 36px; height: 36px; border-radius: 50%; background: #FFF7EF; flex: none; }
.nv-gifts__add i::before { content: ""; position: absolute; inset: 0; background: var(--nv-brown); -webkit-mask: var(--nv-gifts-bag) center / 20px no-repeat; mask: var(--nv-gifts-bag) center / 20px no-repeat; }
.nv-gifts__add:hover { background: #3E2100; } .nv-gifts__add:active { transform: scale(.97); }
.nv-gifts__add:focus-visible, .nv-gifts__link:focus-visible, .nv-gifts__more:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 3px; }
.nv-gifts__add.is-busy { opacity: .8; cursor: progress; }
.nv-gifts__add.is-done { background: var(--nv-gold-text); }
.nv-gifts__add.is-done i::before { -webkit-mask-image: var(--nv-gifts-check); mask-image: var(--nv-gifts-check); background: var(--nv-gold-text); }
.nv-gifts__add--out { background: transparent; color: var(--nv-muted) !important; border: 1px solid var(--nv-line); box-shadow: none; }
.nv-gifts__add--out i { background: var(--nv-cream); } .nv-gifts__add--out i::before { -webkit-mask-image: var(--nv-gifts-arrow); mask-image: var(--nv-gifts-arrow); background: var(--nv-muted); }
.nv-gifts__add--out:hover { background: var(--nv-cream); }

.nv-gifts__link {
  display: inline-flex; align-items: center; gap: 6px; height: 48px; padding-inline: 4px; text-decoration: none; white-space: nowrap;
  font: 500 15px/1 var(--nv-display); color: var(--nv-ink) !important;
}
.nv-gifts__link i { position: relative; width: 22px; height: 22px; transition: transform .5s var(--nv-ease); }
.nv-gifts__link i::before { content: ""; position: absolute; inset: 0; background: var(--nv-gold-text); -webkit-mask: var(--nv-gifts-arrow) center / 18px no-repeat; mask: var(--nv-gifts-arrow) center / 18px no-repeat; }
.nv-gifts__link:hover { color: var(--nv-gold-text) !important; } .nv-gifts__link:hover i { transform: translateX(-4px); }

/* ---- المنصة: طبق دائري بحلقتين ذهبيتين (كدوائر الأقسام)، يتلوّن بلون العطر، والعلبة تخرج من حافته السفلية ---- */
.nv-gifts__stage { position: relative; width: min(calc(100% - 28px), 500px); aspect-ratio: 1; margin: 18px auto 34px; }
.nv-gifts__disc {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--nv-paper);
  box-shadow: 0 0 0 1px rgba(172, 121, 27, .32), 0 0 0 12px var(--nv-ivory), 0 0 0 13px rgba(172, 121, 27, .22), 0 50px 80px -60px rgba(82, 44, 0, .55);
}
.nv-gifts__tint { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--nv-ease); }
.nv-gifts__tint.is-on { opacity: 1; }
.nv-gifts__tint--shatha { background: var(--nv-gifts-shatha); }
.nv-gifts__tint--mendelian { background: var(--nv-gifts-mendelian); }
.nv-gifts__tint--powder { background: var(--nv-gifts-powder); }
.nv-gifts__tint--samples { background: var(--nv-gifts-samples); }
.nv-gifts__disc::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); pointer-events: none; }
.nv-gifts__word {
  position: absolute; top: 15%; left: 0; right: 0; text-align: center; direction: ltr; pointer-events: none; opacity: 0; transform: translateY(-8px);
  font: 500 clamp(13px, 1.05vw, 15px)/1 var(--nv-latin); letter-spacing: .5em; text-indent: .5em; color: var(--nv-gold-text); transition: opacity .8s var(--nv-ease), transform 1s var(--nv-ease);
}
.nv-gifts__word.is-on { opacity: 1; transform: none; transition-delay: .25s; }
.nv-gifts__floor { position: absolute; left: 14%; right: 14%; bottom: -5%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(82, 44, 0, .3), rgba(82, 44, 0, 0)); }
.nv-gifts__shot {
  position: absolute; left: 4%; right: 4%; top: 12%; bottom: -6%; display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transform: translateY(28px) scale(.94); transition: opacity .7s var(--nv-ease), transform 1.1s var(--nv-ease);
}
.nv-gifts__shot.is-on { opacity: 1; transform: none; transition-delay: .12s; }
.nv-gifts__shot img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; filter: drop-shadow(0 26px 22px rgba(60, 32, 0, .3)); }
.nv-gifts__shot--samples { left: 17%; right: 17%; top: 19%; bottom: 3%; }

@media (min-width: 768px) and (max-width: 1180px) {
  .nv-gifts__desk { gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .nv-gifts__say { font-size: 19px; }
  .nv-gifts__q { min-height: 70px; }
  .nv-gifts__notes { font-size: 14px; }
  .nv-gifts__price--lg b { font-size: 22px; }
  .nv-gifts__stage { width: min(calc(100% - 22px), 420px); }
  .nv-gifts__disc { box-shadow: 0 0 0 1px rgba(172, 121, 27, .32), 0 0 0 9px var(--nv-ivory), 0 0 0 10px rgba(172, 121, 27, .22), 0 40px 70px -56px rgba(82, 44, 0, .55); }
}
@media (min-width: 768px) and (max-width: 899px) {
  .nv-gifts__meta > span:first-child { display: none; }
  .nv-gifts__say { font-size: 18px; }
  .nv-gifts__link { display: none; }
}

/* ---- الجوال: شريط بطاقات مضغوط كالتطبيق، يتقدم تلقائيًا في حلقة ويتوقف عند اللمس ---- */
@media (max-width: 767px) {
  .nv-gifts { padding-top: 34px; overflow-x: clip; }
  .nv-gifts__in { width: 100%; }
  .nv-gifts__desk { display: none; }
  .nv-gifts__head { margin-bottom: 12px; padding-inline: 16px 8px; gap: 8px; } /* + 2px أعلى الشريط = 14 */
  .nv-gifts__eyebrow { font-size: 11.5px; margin-bottom: 6px; letter-spacing: .3em; white-space: nowrap; }
  .nv-gifts__title { font-size: clamp(18px, 5vw, 20px); line-height: 1.4; white-space: nowrap; }
  .nv-gifts__more { height: 44px; padding: 0 4px; border: 0; gap: 4px; font-size: 13.5px; color: var(--nv-gold-text) !important; background: none !important; }
  .nv-gifts__more i { width: 24px; height: 24px; background: none; } .nv-gifts__more i::before { background: var(--nv-gold-text); }

  .nv-gifts__mob {
    display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; padding: 2px 24px 10px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  }
  .nv-gifts__mob::-webkit-scrollbar { display: none; }
  .nv-gifts__card {
    --t: linear-gradient(150deg, #FBEDE1 0%, #EED3BC 100%);
    flex: 0 0 100%; scroll-snap-align: center; position: relative; isolation: isolate;
    display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-areas: "pic info" "foot foot"; column-gap: 14px; row-gap: 10px;
    padding: 14px 14px 12px; border-radius: 24px; background: var(--t); border: 1px solid rgba(172, 121, 27, .16);
    box-shadow: 0 18px 26px -24px rgba(82, 44, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .6);
  }
  .nv-gifts__card--mendelian { --t: linear-gradient(150deg, #FCF1D8 0%, #EFD29A 100%); }
  .nv-gifts__card--powder { --t: linear-gradient(150deg, #FFF8F1 0%, #F9DFCC 100%); }
  .nv-gifts__card--samples { --t: linear-gradient(150deg, #FFFCF8 0%, #F3E4D3 100%); }
  .nv-gifts__pic {
    grid-area: pic; position: relative; width: 104px; height: 104px; border-radius: 50%; align-self: center;
    background: radial-gradient(circle at 50% 35%, rgba(255, 251, 246, .95), rgba(255, 251, 246, .45));
    box-shadow: 0 0 0 1px rgba(172, 121, 27, .3), 0 0 0 4px rgba(255, 251, 246, .7), 0 0 0 5px rgba(172, 121, 27, .2);
  }
  .nv-gifts__pic img { position: absolute; left: -9%; bottom: 2%; width: 118%; height: auto; max-width: none; filter: drop-shadow(0 10px 8px rgba(60, 32, 0, .3)); }
  .nv-gifts__card--samples .nv-gifts__pic img { left: 12%; width: 76%; bottom: 8%; }
  .nv-gifts__info { grid-area: info; align-self: center; min-width: 0; }
  .nv-gifts__for { margin: 0 0 2px; font: 500 13px/1.5 var(--nv-font); color: var(--nv-gold-text); }
  .nv-gifts__name { margin: 0; font: 500 15px/1.4 var(--nv-display); }
  .nv-gifts__name a { color: var(--nv-ink) !important; text-decoration: none; }
  .nv-gifts__what { margin: 3px 0 0; font: 400 13px/1.6 var(--nv-font); color: var(--nv-muted); }
  .nv-gifts__cfoot { grid-area: foot; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(122, 82, 15, .14); }
  .nv-gifts__cfoot .nv-gifts__price b { font-size: 17px; }
  .nv-gifts__cfoot .nv-gifts__add { height: 44px; padding-inline: 16px 5px; gap: 9px; font-size: 14px; box-shadow: none; }
  .nv-gifts__cfoot .nv-gifts__add i { width: 34px; height: 34px; }
  .nv-gifts__cfoot .nv-gifts__add i::before { -webkit-mask-size: 18px; mask-size: 18px; }
}
@media (max-width: 359px) {
  .nv-gifts__card { grid-template-columns: 88px minmax(0, 1fr); column-gap: 12px; padding: 12px 12px 10px; }
  .nv-gifts__pic { width: 88px; height: 88px; }
  .nv-gifts__cfoot .nv-gifts__add { padding-inline: 13px 5px; font-size: 13.5px; }
}
@media (max-width: 374px) { .nv-gifts__more-l { display: none; } .nv-gifts__more-s { display: inline; } }
@media (prefers-reduced-motion: reduce) { .nv-gifts, .nv-gifts * { transition: none !important; animation: none !important; } }

/* =========================================================
   R2 — طباعة هادئة وموحّدة (الهدايا)
   ========================================================= */
.nv-gifts { padding-top: 72px; }
.nv-gifts__head { margin-bottom: 28px; }
.nv-gifts__eyebrow { margin-bottom: 12px; font-size: 12px; letter-spacing: .32em; }
.nv-gifts__title { font-size: clamp(26px, 1.95vw, 28px); line-height: 1.4; }
.nv-gifts__more { height: 44px; gap: 10px; padding-inline: 18px 5px; font-size: 14px; margin-bottom: -3px; }
.nv-gifts__more i { width: 34px; height: 34px; }
.nv-gifts__ask { margin-bottom: 10px; font-size: 14px; }
.nv-gifts__q { min-height: 68px; padding-block: 12px; }
.nv-gifts__say { font-size: 18px; line-height: 1.5; }
.nv-gifts__meta { font-size: 13.5px; }
.nv-gifts__price b { font-size: 15px; }
.nv-gifts__panels { margin-top: 20px; padding: 20px 24px; border-radius: 24px; border-color: var(--nv-line-soft); box-shadow: 0 26px 40px -34px rgba(82, 44, 0, .5); }
.nv-gifts__notes { font-size: 14px; line-height: 1.75; }
.nv-gifts__prod a { font-size: 16px; line-height: 1.5; }
.nv-gifts__prod span { font-size: 13.5px; }
.nv-gifts__foot { margin-top: 14px; }
.nv-gifts__price--lg b { font-size: 18px; } .nv-gifts__price--lg span { font-size: 13px; }
.nv-gifts__add { height: 48px; font-size: 14.5px; }
.nv-gifts__link { font-size: 14px; }
.nv-gifts__word { font-size: 12px; letter-spacing: .46em; text-indent: .46em; }
@media (min-width: 768px) and (max-width: 1180px) {
  .nv-gifts__say { font-size: 17px; }
  .nv-gifts__q { min-height: 62px; }
  .nv-gifts__notes { font-size: 13.5px; }
  .nv-gifts__price--lg b { font-size: 18px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .nv-gifts { padding-top: 56px; }
  .nv-gifts__head { margin-bottom: 22px; }
  .nv-gifts__title { font-size: 23px; }
  .nv-gifts__say { font-size: 16px; }
}
@media (max-width: 767px) {
  .nv-gifts { padding-top: 30px; }
  .nv-gifts__head { margin-bottom: 12px; }
  .nv-gifts__eyebrow { margin-bottom: 6px; font-size: 11.5px; letter-spacing: .3em; }
  .nv-gifts__title { font-size: clamp(18px, 5vw, 20px); line-height: 1.4; }
  .nv-gifts__more { height: 44px; padding: 0 4px; gap: 4px; font-size: 13.5px; margin-bottom: 0; }
  .nv-gifts__more i { width: 24px; height: 24px; }
  .nv-gifts__card { border-radius: 22px; border-color: var(--nv-line-soft); }
  .nv-gifts__name { font-size: 14px; line-height: 1.5; }
  .nv-gifts__what { margin-top: 2px; }
  .nv-gifts__cfoot .nv-gifts__price b { font-size: 15px; }
  .nv-gifts__cfoot .nv-gifts__add { height: 44px; font-size: 14px; }
}
@media (max-width: 359px) { .nv-gifts__cfoot .nv-gifts__add { font-size: 13.5px; } }
/* المنصة أصغر بدرجة لتوازن قائمة الإجابات بعد تصغير الخط (كانت 500 / 420) */
@media (min-width: 1181px) { .nv-gifts__stage { width: min(calc(100% - 28px), 440px); margin: 10px auto 30px; } }
@media (min-width: 768px) and (max-width: 1180px) { .nv-gifts__stage { width: min(calc(100% - 22px), 390px); } }
/* =========================================================
   NOVALIA — خدمات التوصيل والدفع (serv v1)
   لوحة واحدة فاتحة: رحلة الطلب في أربع محطات على خط ذهبي يتقدّم، وتحتها طرق الدفع بشعارات المتجر نفسه.
   الجوال: محطات مضغوطة بوصف المحطة الحالية، وشريط طرق دفع يتحرك حلقيًا ويتوقف باللمس.
   ========================================================= */
.nv-serv { padding: 84px 0 8px; font-family: var(--nv-font); }
.nv-serv__in { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }

/* ---- رأس القسم (النمط المعتمد) ---- */
.nv-serv__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.nv-serv__eyebrow { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 0 0 14px; font: 500 13px/1 var(--nv-latin); letter-spacing: .36em; color: var(--nv-gold-text); direction: ltr; }
.nv-serv__eyebrow::after { content: ""; flex: none; width: 34px; height: 1px; background: var(--nv-gold); }
.nv-serv__title { margin: 0; font: 300 clamp(26px, 2.4vw, 34px)/1.35 var(--nv-display); color: var(--nv-ink); }
.nv-serv__title em { font-style: normal; font-weight: 500; color: var(--nv-gold-text); }

.nv-serv__ask {
  display: inline-flex; align-items: center; gap: 12px; flex: none; height: 48px; padding-inline: 22px 6px; border-radius: 999px; white-space: nowrap; text-decoration: none;
  border: 1px solid var(--nv-line); font: 500 15px/1 var(--nv-display); color: var(--nv-ink) !important;
  transition: background .4s var(--nv-ease), border-color .4s var(--nv-ease);
}
.nv-serv__ask i { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--nv-ink); flex: none; transition: transform .5s var(--nv-ease); }
.nv-serv__ask i::before {
  content: ""; position: absolute; inset: 0; background: var(--nv-ivory);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.6a8.4 8.4 0 0 0-7.3 12.6L3.6 20.4l4.3-1.1A8.4 8.4 0 1 0 12 3.6z'/%3E%3Cpath d='M9.3 8.4c.3-.5.8-.5 1 0l.7 1.4c.1.3 0 .6-.2.9l-.4.4c.5 1 1.3 1.8 2.3 2.3l.4-.4c.3-.2.6-.3.9-.2l1.4.7c.5.2.5.7 0 1-.7.4-1.4.6-2.2.4-2-.7-3.6-2.3-4.3-4.3-.2-.8 0-1.6.4-2.2z'/%3E%3C/svg%3E") center / 19px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.6a8.4 8.4 0 0 0-7.3 12.6L3.6 20.4l4.3-1.1A8.4 8.4 0 1 0 12 3.6z'/%3E%3Cpath d='M9.3 8.4c.3-.5.8-.5 1 0l.7 1.4c.1.3 0 .6-.2.9l-.4.4c.5 1 1.3 1.8 2.3 2.3l.4-.4c.3-.2.6-.3.9-.2l1.4.7c.5.2.5.7 0 1-.7.4-1.4.6-2.2.4-2-.7-3.6-2.3-4.3-4.3-.2-.8 0-1.6.4-2.2z'/%3E%3C/svg%3E") center / 19px no-repeat;
}
.nv-serv__ask:hover { background: var(--nv-cream); border-color: var(--nv-gold); }
.nv-serv__ask:hover i { transform: rotate(-8deg); }
.nv-serv__ask-s { display: none; }

/* ---- اللوحة ---- */
.nv-serv__panel {
  position: relative; overflow: hidden; border-radius: 30px; border: 1px solid var(--nv-line-soft);
  background: linear-gradient(180deg, var(--nv-paper) 0%, #FEF4EA 100%);
  box-shadow: 0 40px 60px -58px rgba(82, 44, 0, .6);
}

/* ---- رحلة الطلب ---- */
.nv-serv__route { --g: 40px; --node: 72px; --pad: 48px; --top: 48px; position: relative; }
.nv-serv__journey { position: relative; margin: 0; padding: var(--top) var(--pad) 40px; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--g); }
.nv-serv__rail {
  position: absolute; z-index: 0; height: 1px; top: calc(var(--top) + var(--node) / 2);
  inset-inline-start: calc(var(--pad) + var(--node) / 2);
  inset-inline-end: calc(var(--pad) + (100% - 2 * var(--pad) - 3 * var(--g)) / 4 - var(--node) / 2);
  background: linear-gradient(to left, rgba(172, 121, 27, .5) 0 3px, transparent 3px 8px) 100% 0 / 8px 1px repeat-x;
}
.nv-serv__fill {
  position: absolute; inset: 0; background: linear-gradient(to left, var(--nv-gold), #C9A05A);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform 1.3s var(--nv-ease), opacity .45s var(--nv-ease);
}
html[dir="ltr"] .nv-serv__fill { transform-origin: 0 50%; }
.nv-serv__spark {
  position: absolute; top: -4px; inset-inline-start: -4.5px; width: 9px; height: 9px;
  transition: transform 1.3s var(--nv-ease), opacity .45s var(--nv-ease);
}
.nv-serv__spark::before {
  content: ""; position: absolute; inset: 0; background: var(--nv-gold); transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(255, 251, 246, .9), 0 0 14px 3px rgba(201, 160, 90, .55);
}
.nv-serv.is-rewind .nv-serv__fill, .nv-serv.is-rewind .nv-serv__spark { opacity: 0; }
.nv-serv.is-jump .nv-serv__fill, .nv-serv.is-jump .nv-serv__spark, .nv-serv.is-jump .nv-serv__node { transition: none !important; }

.nv-serv__step { position: relative; min-width: 0; cursor: default; }
/* هالة خوخية ناعمة خلف المحطة الحالية */
.nv-serv__step::before {
  content: ""; position: absolute; z-index: 0; width: 170px; height: 170px; pointer-events: none;
  top: calc(var(--node) / 2 - 85px); inset-inline-start: calc(var(--node) / 2 - 85px); border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 218, 190, .95) 0%, rgba(249, 218, 190, .45) 38%, rgba(249, 218, 190, 0) 70%);
  opacity: 0; transform: scale(.55); transition: opacity .8s var(--nv-ease), transform 1s var(--nv-ease);
}
.nv-serv__step.is-on::before { opacity: 1; transform: none; }
.nv-serv__node {
  position: relative; z-index: 1; display: grid; place-items: center; width: var(--node); height: var(--node); margin: 0; padding: 0; border: 0; border-radius: 50%;
  cursor: pointer; appearance: none; -webkit-appearance: none; -webkit-tap-highlight-color: transparent;
  background: var(--nv-paper); color: var(--nv-gold-text);
  box-shadow: 0 0 0 1px var(--nv-line), 0 0 0 7px var(--nv-paper);
  transition: background .7s var(--nv-ease), color .5s var(--nv-ease), box-shadow .7s var(--nv-ease), transform .7s var(--nv-ease);
}
.nv-serv__node svg { width: 33px; height: 33px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.nv-serv__step.is-done .nv-serv__node { box-shadow: 0 0 0 1px var(--nv-gold), 0 0 0 7px var(--nv-paper); }
.nv-serv__step.is-on .nv-serv__node {
  background: var(--nv-brown); color: var(--nv-ivory); transform: translateY(-3px);
  box-shadow: 0 0 0 6px var(--nv-paper), 0 0 0 7px var(--nv-gold), 0 20px 26px -14px rgba(82, 44, 0, .6);
}
.nv-serv__node:focus-visible { outline: 1.5px solid var(--nv-gold); outline-offset: 10px; }
.nv-serv__name { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 0; font: 500 18px/1.4 var(--nv-display); color: var(--nv-ink); transition: color .5s var(--nv-ease); }
.nv-serv__no { font: 500 17px/1 var(--nv-latin); color: var(--nv-gold-text); }
.nv-serv__step.is-on .nv-serv__name { color: var(--nv-gold-text); }
.nv-serv__desc { margin: 8px 0 0; max-width: 32ch; font: 400 14.5px/1.75 var(--nv-font); color: var(--nv-muted); text-wrap: pretty; }
.nv-serv__desc a:focus-visible, .nv-serv__ask:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 3px; border-radius: 6px; }
.nv-serv__desc a {
  display: inline-block; padding: 12px 4px; margin: -12px -4px; white-space: nowrap;
  color: var(--nv-gold-text) !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.nv-serv__desc a:hover { color: var(--nv-brown) !important; }

/* ---- طرق الدفع ---- */
.nv-serv__pay {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 24px 48px;
  border-top: 1px solid var(--nv-line-soft); background: rgba(249, 218, 190, .3);
}
.nv-serv__pay-txt { min-width: 0; }
.nv-serv__pay-t { margin: 0; font: 500 18px/1.5 var(--nv-display); color: var(--nv-ink); }
.nv-serv__pay-s { margin: 4px 0 0; max-width: 40ch; font: 400 14px/1.7 var(--nv-font); color: var(--nv-muted); }
.nv-serv__mq { flex: none; }
.nv-serv__mq-track { display: flex; }
.nv-serv__set { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nv-serv__set.is-clone { display: none; }
.nv-serv__pm { display: flex; flex-direction: column; align-items: center; gap: 9px; width: 90px; }
.nv-serv__logo {
  display: grid; place-items: center; width: 66px; height: 44px; border-radius: 12px; background: #FFFFFF;
  box-shadow: 0 0 0 1px var(--nv-line-soft), 0 10px 18px -14px rgba(82, 44, 0, .5);
}
.nv-serv__logo img { display: block; width: 46px; height: 30px; object-fit: contain; }
.nv-serv__pm-s { font: 400 13px/1.3 var(--nv-font); color: var(--nv-muted); white-space: nowrap; }
.nv-serv__pm-l, .nv-serv__pm--ret { display: none; }
.nv-serv__ret { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--nv-gold-text); box-shadow: 0 0 0 1px var(--nv-line); }
.nv-serv__ret svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---- تابلت وديسكتوب صغير ---- */
@media (min-width: 768px) and (max-width: 1180px) {
  .nv-serv__route { --g: 24px; --node: 60px; --pad: 32px; --top: 40px; }
  .nv-serv__journey { padding-bottom: 34px; }
  .nv-serv__node svg { width: 28px; height: 28px; }
  .nv-serv__step::before { width: 140px; height: 140px; top: calc(var(--node) / 2 - 70px); inset-inline-start: calc(var(--node) / 2 - 70px); }
  .nv-serv__name { margin-top: 22px; font-size: 16px; gap: 8px; }
  .nv-serv__no { font-size: 15.5px; }
  .nv-serv__desc { font-size: 13.5px; line-height: 1.7; }
  .nv-serv__pay { padding: 22px 32px; gap: 24px; }
  .nv-serv__pay-t { font-size: 17px; }
  .nv-serv__pay-s { font-size: 13.5px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .nv-serv__pay { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nv-serv__pay-s { max-width: none; }
}

/* ---- الجوال: مضغوط كتطبيق ---- */
@media (max-width: 767px) {
  .nv-serv { padding: 34px 0 6px; }
  .nv-serv__in { width: 100%; }
  .nv-serv__head { margin-bottom: 14px; padding-inline: 16px 8px; gap: 8px; }
  .nv-serv__head > div { min-width: 0; }
  .nv-serv__eyebrow { font-size: 11.5px; margin-bottom: 6px; letter-spacing: .3em; white-space: nowrap; }
  .nv-serv__title { font-size: clamp(18px, 5vw, 20px); line-height: 1.4; white-space: nowrap; }
  .nv-serv__ask { height: 44px; padding: 0 6px; gap: 6px; border: 0; font-size: 13.5px; color: var(--nv-gold-text) !important; background: none !important; }
  .nv-serv__ask i { width: 24px; height: 24px; background: none; }
  .nv-serv__ask i::before { background: var(--nv-gold-text); -webkit-mask-size: 21px; mask-size: 21px; }
  .nv-serv__ask-l { display: none; } .nv-serv__ask-s { display: inline; }

  .nv-serv__panel { margin: 0 12px; border-radius: 24px; box-shadow: 0 24px 34px -30px rgba(82, 44, 0, .6); }
  .nv-serv__route { --g: 0px; --node: 46px; --pad: 4px; --top: 20px; }
  .nv-serv__journey { padding: var(--top) var(--pad) 72px; }
  .nv-serv__step::before { display: none; }
  .nv-serv__rail { inset-inline: calc(var(--pad) + (100% - 2 * var(--pad)) / 8); }
  .nv-serv__step { position: static; text-align: center; cursor: pointer; }
  .nv-serv__node { margin-inline: auto; box-shadow: 0 0 0 1px var(--nv-line), 0 0 0 5px var(--nv-paper); }
  .nv-serv__node svg { width: 22px; height: 22px; stroke-width: 1.35; }
  .nv-serv__step.is-done .nv-serv__node { box-shadow: 0 0 0 1px var(--nv-gold), 0 0 0 5px var(--nv-paper); }
  .nv-serv__step.is-on .nv-serv__node { transform: none; box-shadow: 0 0 0 4px var(--nv-paper), 0 0 0 5px var(--nv-gold), 0 12px 18px -10px rgba(82, 44, 0, .55); }
  .nv-serv__name { justify-content: center; margin-top: 11px; font-size: 13px; line-height: 1.4; white-space: nowrap; }
  .nv-serv__no { display: none; }
  /* وصف المحطة الحالية فقط، في مكان واحد تحت الشريط */
  .nv-serv__desc {
    position: absolute; inset-inline: 16px; bottom: 14px; height: 46px; margin: 0; max-width: none;
    display: grid; align-content: center; text-align: center; font-size: 13.5px; line-height: 1.65; color: var(--nv-muted);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .45s var(--nv-ease), transform .6s var(--nv-ease), visibility 0s linear .45s;
  }
  .nv-serv__step.is-on .nv-serv__desc { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--nv-ease) .12s, transform .7s var(--nv-ease) .12s, visibility 0s; }

  /* شريط طرق الدفع: حلقة هادئة */
  .nv-serv__pay { display: block; padding: 0; }
  .nv-serv__pay-txt { display: none; }
  .nv-serv__mq {
    overflow: hidden; padding: 11px 0;
    -webkit-mask-image: linear-gradient(to left, transparent, #000 22px, #000 calc(100% - 22px), transparent);
    mask-image: linear-gradient(to left, transparent, #000 22px, #000 calc(100% - 22px), transparent);
  }
  .nv-serv__mq-track { width: max-content; animation: nv-serv-mq 34s linear infinite; animation-play-state: paused; will-change: transform; }
  .nv-serv.is-live .nv-serv__mq-track { animation-play-state: running; }
  .nv-serv.is-live .nv-serv__mq.is-held .nv-serv__mq-track { animation-play-state: paused; }
  .nv-serv__set, .nv-serv__set.is-clone { display: flex; gap: 0; }
  .nv-serv__pm, .nv-serv__pm--ret { display: flex; flex-direction: row; align-items: center; gap: 9px; width: auto; }
  .nv-serv__pm::after { content: ""; flex: none; width: 4px; height: 4px; margin-inline: 16px; background: var(--nv-gold); transform: rotate(45deg); opacity: .8; }
  .nv-serv__logo { width: 46px; height: 30px; border-radius: 8px; }
  .nv-serv__logo img { width: 36px; height: 23px; }
  .nv-serv__pm-s { display: none; }
  .nv-serv__pm-l { display: inline; font: 400 13px/1 var(--nv-font); color: var(--nv-ink); white-space: nowrap; }
}
@keyframes nv-serv-mq { to { transform: translateX(50%); } }
html[dir="ltr"] .nv-serv__mq-track { animation-name: nv-serv-mq-ltr; }
@keyframes nv-serv-mq-ltr { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .nv-serv *, .nv-serv *::before, .nv-serv *::after { transition: none !important; }
  .nv-serv__mq-track { animation: none !important; }
  .nv-serv__mq { overflow-x: auto !important; scrollbar-width: none; }
  .nv-serv__set.is-clone { display: none !important; }
}

/* الصفحة الرئيسية: كتل الثيم القديمة بعد الأقسام الجديدة تُخفى (عروض منتهية ومحتوى مكرر). إن لم تُبنَ الأقسام لأي سبب تبقى الكتل كما هي */
body.index #main-content > .nv-serv ~ section.s-block { display: none !important; }

/* =========================================================
   R2 — طباعة هادئة وموحّدة (التوصيل والدفع)
   ========================================================= */
.nv-serv { padding-top: 72px; }
.nv-serv__head { margin-bottom: 28px; }
.nv-serv__eyebrow { margin-bottom: 12px; font-size: 12px; letter-spacing: .32em; }
.nv-serv__title { font-size: clamp(26px, 1.95vw, 28px); line-height: 1.4; }
.nv-serv__ask { height: 44px; gap: 10px; padding-inline: 18px 5px; font-size: 14px; margin-bottom: -3px; }
.nv-serv__ask i { width: 34px; height: 34px; }
.nv-serv__panel { border-radius: 28px; box-shadow: 0 30px 44px -40px rgba(82, 44, 0, .5); }
.nv-serv__name { margin-top: 24px; font-size: 16px; line-height: 1.45; }
.nv-serv__no { font-size: 15px; }
.nv-serv__desc { margin-top: 6px; font-size: 14px; line-height: 1.75; max-width: 33ch; }
.nv-serv__pay-t { font-size: 16px; }
.nv-serv__pay-s { margin-top: 2px; font-size: 13.5px; }
@media (min-width: 768px) and (max-width: 1180px) {
  .nv-serv__panel { border-radius: 24px; }
  .nv-serv__name { margin-top: 20px; font-size: 15px; }
  .nv-serv__no { font-size: 14.5px; }
  .nv-serv__desc { font-size: 13.5px; line-height: 1.7; }
  .nv-serv__pay-t { font-size: 15.5px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .nv-serv { padding-top: 56px; }
  .nv-serv__head { margin-bottom: 22px; }
  .nv-serv__title { font-size: 23px; }
}
@media (max-width: 767px) {
  .nv-serv { padding-top: 30px; }
  .nv-serv__head { margin-bottom: 14px; }
  .nv-serv__eyebrow { margin-bottom: 6px; font-size: 11.5px; letter-spacing: .3em; }
  .nv-serv__title { font-size: clamp(18px, 5vw, 20px); line-height: 1.4; }
  .nv-serv__ask { height: 44px; padding: 0 6px; gap: 6px; font-size: 13.5px; margin-bottom: 0; }
  .nv-serv__ask i { width: 24px; height: 24px; }
  .nv-serv__panel { border-radius: 22px; box-shadow: 0 20px 28px -24px rgba(82, 44, 0, .45); }
  .nv-serv__name { margin-top: 11px; font-size: 13px; line-height: 1.4; }
  .nv-serv__desc { margin: 0; font-size: 13.5px; line-height: 1.65; max-width: none; }
}
/* =========================================================
   NOVALIA — آراء العملاء (reviews) v2
   آراء حقيقية فقط: تقييمات سلة + القائمة اليدوية window.NV_REVIEWS (sec-reviews.js). يختفي القسم كليًا إن قلّت عن 3.
   كل بطاقة تذكر مصدرها في سطرها الأول («تقييم من المتجر» / «عبر واتساب»…)، والنجوم تظهر فقط إن وُجدت.
   العنصر الإبداعي الواحد: علامة اقتباس لاتينية كبيرة مفرّغة بخيط ذهبي في زاوية كل بطاقة،
   والمنتج الذي قيل عنه الرأي «توقيع» البطاقة في أسفلها (صورته الحقيقية في دائرة + رابطه).
   الديسكتوب: تكوين ثابت هادئ (3 بطاقات، 2 على التابلت) وسهمان فقط إن زادت الآراء.
   الجوال: صف واحد يتقدم وحده بحلقة متصلة ويتوقف باللمس.
   ========================================================= */
.nv-reviews {
  --nv-rev-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E");
  --nv-rev-go: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 12H7m4-4l-4 4 4 4'/%3E%3C/svg%3E");
  --nv-rev-ok: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.2l2.2 1.6 2.7-.1.8 2.6 2.2 1.6-.9 2.6.9 2.6-2.2 1.6-.8 2.6-2.7-.1L12 20.8l-2.2-1.6-2.7.1-.8-2.6-2.2-1.6.9-2.6-.9-2.6 2.2-1.6.8-2.6 2.7.1z'/%3E%3Cpath d='M8.8 12.2l2.2 2.2 4.2-4.6'/%3E%3C/svg%3E");
  --nv-rev-store: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 8.5h13l-1 11.5h-11z'/%3E%3Cpath d='M9 8.5V7a3 3 0 0 1 6 0v1.5'/%3E%3C/svg%3E");
  --nv-rev-msg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.6 11.6a7.4 7.4 0 0 1-10.9 6.5L4.4 19.4l1.3-4A7.4 7.4 0 1 1 19.6 11.6z'/%3E%3C/svg%3E");
  --per: 3; --gap: 24px; --step: 5200ms; --sign-h: 64px;
  position: relative; padding: 84px 0 14px; font-family: var(--nv-font);
}
.nv-reviews__in { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }

/* ---- رأس القسم (النمط المعتمد) ---- */
.nv-reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.nv-reviews__head > div:first-child { min-width: 0; }
.nv-reviews__eyebrow { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 0 0 14px; font: 500 14px/1 var(--nv-latin); letter-spacing: .36em; color: var(--nv-gold-text); direction: ltr; }
.nv-reviews__eyebrow::after { content: ""; flex: none; width: 34px; height: 1px; background: var(--nv-gold); }
.nv-reviews__title { margin: 0; font: 300 clamp(30px, 3.1vw, 44px)/1.35 var(--nv-display); color: var(--nv-ink); }
.nv-reviews__title em { font-style: normal; font-weight: 500; color: var(--nv-gold-text); }

.nv-reviews__ctrl { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.nv-reviews__all {
  display: inline-flex; align-items: center; gap: 12px; height: 48px; padding-inline: 22px 6px; border-radius: 999px; white-space: nowrap; text-decoration: none; flex: none;
  border: 1px solid var(--nv-line); font: 500 15px/1 var(--nv-display); color: var(--nv-ink) !important; transition: background .4s var(--nv-ease), border-color .4s var(--nv-ease);
}
.nv-reviews__all i { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--nv-ink); transition: transform .5s var(--nv-ease); }
.nv-reviews__all i::before { content: ""; position: absolute; inset: 0; background: var(--nv-ivory); -webkit-mask: var(--nv-rev-go) center / 20px no-repeat; mask: var(--nv-rev-go) center / 20px no-repeat; }
.nv-reviews__all:hover { background: var(--nv-cream); border-color: var(--nv-gold); } .nv-reviews__all:hover i { transform: translateX(-4px); }
.nv-reviews__arrows { display: flex; gap: 10px; }
.nv-reviews__arrows[hidden] { display: none; }
.nv-reviews__arrow {
  width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid rgba(82, 44, 0, .24); background: transparent; color: var(--nv-brown); cursor: pointer; display: grid; place-items: center;
  transition: background .5s var(--nv-ease), color .5s var(--nv-ease), border-color .5s var(--nv-ease), opacity .4s var(--nv-ease), transform .5s var(--nv-ease);
}
.nv-reviews__arrow i { width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--nv-rev-arrow) center / contain no-repeat; mask: var(--nv-rev-arrow) center / contain no-repeat; }
.nv-reviews__arrow--next i { transform: scaleX(-1); } /* في العربية: التالي يأتي من اليسار */
.nv-reviews__arrow:hover:not(:disabled), .nv-reviews__arrow:focus-visible { background: #522C00; border-color: #522C00; color: #FFF7EF; }
.nv-reviews__arrow:active:not(:disabled) { transform: scale(.94); }
.nv-reviews__arrow:disabled { opacity: .35; cursor: default; }
.nv-reviews__all:focus-visible, .nv-reviews__arrow:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 3px; }

/* ---- الصف ---- */
.nv-reviews__stage { position: relative; }
.nv-reviews__track {
  position: relative; display: flex; gap: var(--gap); margin: 0 -20px; padding: 4px 20px 44px; scroll-padding-inline: 20px; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.nv-reviews__track::-webkit-scrollbar { display: none; }
.nv-reviews__card.is-clone { display: none; }

/* ---- البطاقة: ورقة فاتحة، علامة اقتباس مفرّغة في الزاوية، والمنتج توقيع في الأسفل ---- */
.nv-reviews__card {
  position: relative; isolation: isolate; flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); min-width: 0;
  display: flex; flex-direction: column; overflow: hidden; scroll-snap-align: start;
  border-radius: 28px; border: 1px solid rgba(172, 121, 27, .17);
  background: linear-gradient(180deg, var(--nv-paper) 0%, #FEF6EE 100%);
  box-shadow: 0 34px 44px -42px rgba(82, 44, 0, .55);
  transition: border-color .6s var(--nv-ease), box-shadow .6s var(--nv-ease);
}
.nv-reviews__card::before {
  content: "\201D"; position: absolute; z-index: -1; top: 0; inset-inline-end: 24px; height: 84px; overflow: hidden; pointer-events: none;
  font: 500 150px/.9 var(--nv-latin); color: rgba(249, 218, 190, .42); -webkit-text-stroke: 1px rgba(172, 121, 27, .46);
}
.nv-reviews__card:hover { border-color: rgba(172, 121, 27, .34); box-shadow: 0 40px 48px -40px rgba(82, 44, 0, .6); }

.nv-reviews__fig { display: flex; flex-direction: column; flex: 1; margin: 0; padding: 30px 32px 24px; min-width: 0; }
.nv-reviews__top { display: flex; align-items: center; gap: 10px; min-height: 20px; min-width: 0; }
.nv-reviews__stars { display: inline-flex; gap: 3px; } /* الممتلئة تبدأ من اليمين مع اتجاه الصفحة */
.nv-reviews__stars i { display: block; width: 17px; height: 17px; }
.nv-reviews__stars svg { display: block; width: 100%; height: 100%; fill: none; stroke: #AC791B; stroke-width: 1.1; stroke-linejoin: round; opacity: .5; }
.nv-reviews__stars i.is-on svg { fill: #AC791B; opacity: 1; }
/* سطر المصدر: صادق ودائم — «تقييم من المتجر» لسلة، «عبر واتساب…» للقائمة اليدوية */
.nv-reviews__src { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font: 400 13px/1.4 var(--nv-font); color: var(--nv-muted); white-space: nowrap; }
.nv-reviews__src::before { content: ""; flex: none; width: 15px; height: 15px; background: var(--nv-gold-text); -webkit-mask: var(--nv-rev-msg) center / contain no-repeat; mask: var(--nv-rev-msg) center / contain no-repeat; }
.nv-reviews__src--store::before { -webkit-mask-image: var(--nv-rev-store); mask-image: var(--nv-rev-store); }
.nv-reviews__stars + .nv-reviews__src { padding-inline-start: 10px; border-inline-start: 1px solid var(--nv-line); }

.nv-reviews__quote { margin: 18px 0 0; padding: 0; border: 0; background: none; quotes: none; font-style: normal; }
.nv-reviews__quote::before, .nv-reviews__quote::after { content: none; }
.nv-reviews__quote p {
  margin: 0; font: 300 17.5px/1.85 var(--nv-display); color: var(--nv-ink); text-wrap: pretty; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden;
}
/* الرأي القصير يُعرض أكبر كاقتباس بارز، فلا تبدو البطاقة فارغة بجوار رأي طويل */
.nv-reviews__card.is-short .nv-reviews__quote p { font-size: 21px; line-height: 1.75; }

.nv-reviews__who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 24px; min-width: 0; }
.nv-reviews__mono {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #FFF4E8, var(--nv-cream)); color: var(--nv-gold-text); font: 500 17px/1 var(--nv-display);
  box-shadow: 0 0 0 1px var(--nv-line), 0 0 0 4px var(--nv-paper), 0 0 0 5px var(--nv-line-soft);
}
.nv-reviews__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nv-reviews__name { font: 500 15.5px/1.45 var(--nv-font); color: var(--nv-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-reviews__sub { font: 400 13px/1.45 var(--nv-font); color: var(--nv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-reviews__ok { display: inline-flex; align-items: center; gap: 5px; font: 400 13px/1.45 var(--nv-font); color: var(--nv-gold-text); white-space: nowrap; }
.nv-reviews__ok::before { content: ""; flex: none; width: 15px; height: 15px; background: var(--nv-gold); -webkit-mask: var(--nv-rev-ok) center / contain no-repeat; mask: var(--nv-rev-ok) center / contain no-repeat; }
.nv-reviews__date { flex: none; margin-inline-start: auto; align-self: flex-end; font: 400 13px/1.45 var(--nv-font); color: var(--nv-muted); white-space: nowrap; }

/* توقيع المنتج: صورته الحقيقية في دائرة + اسمه، والسطر كله رابط لصفحة المنتج */
.nv-reviews__prod {
  display: flex; align-items: center; gap: 12px; box-sizing: border-box; height: var(--sign-h); padding: 0 32px 0 24px; text-decoration: none; color: var(--nv-ink) !important;
  border-top: 1px solid var(--nv-line-soft); background: rgba(249, 218, 190, .2); transition: background .5s var(--nv-ease);
}
.nv-reviews__thumb { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: var(--nv-peach); box-shadow: 0 0 0 1px var(--nv-line), 0 0 0 3px var(--nv-paper), 0 0 0 4px var(--nv-line-soft); }
.nv-reviews__thumb img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.75); }
.nv-reviews__thumb.is-store img { transform: none; }
.nv-reviews__pname { flex: 1; min-width: 0; font: 500 14.5px/1.5 var(--nv-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-reviews__pname small { font: 400 13px/1 var(--nv-font); color: var(--nv-muted); }
.nv-reviews__prod i { flex: none; width: 20px; height: 20px; background: var(--nv-gold-text); -webkit-mask: var(--nv-rev-go) center / contain no-repeat; mask: var(--nv-rev-go) center / contain no-repeat; transition: transform .5s var(--nv-ease); }
.nv-reviews__prod:hover { background: rgba(249, 218, 190, .45); } .nv-reviews__prod:hover i { transform: translateX(-4px); }
.nv-reviews__prod:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: -3px; border-radius: 0 0 28px 28px; }
/* منتج مكتوب يدويًا ولا يطابق اسمه منتجًا في المتجر: نص فقط بلا رابط */
.nv-reviews__prod.is-text { background: rgba(249, 218, 190, .12); }
.nv-reviews__prod.is-text::before { content: ""; flex: none; width: 6px; height: 6px; margin-inline: 4px 2px; background: var(--nv-gold); transform: rotate(45deg); }
/* بطاقات بلا توقيع بجوار بطاقات بتوقيع: يبقى سطر الاسم على خط واحد في كل البطاقات */
.nv-reviews.is-mixed .nv-reviews__card:not(.has-sign) .nv-reviews__fig { padding-bottom: calc(24px + var(--sign-h)); }

/* شَرطات التقدم (للجوال فقط) */
.nv-reviews__dots { display: none; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; direction: rtl; }
.nv-reviews__dots li { position: relative; width: 12px; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(82, 44, 0, .16); transition: width .8s var(--nv-ease); }
.nv-reviews__dots li.is-on { width: 34px; }
.nv-reviews__dots li::after { content: ""; position: absolute; inset: 0; background: var(--nv-gold); transform: scaleX(0); transform-origin: right; }
.nv-reviews__dots li.is-on::after { transform: scaleX(1); }
.nv-reviews.is-auto .nv-reviews__dots li.is-on::after { transform: scaleX(0); animation: nv-rev-fill var(--step) linear forwards; }
.nv-reviews.is-paused .nv-reviews__dots li.is-on::after { animation-play-state: paused; }
@keyframes nv-rev-fill { to { transform: scaleX(1); } }

/* ظهور أول مرة */
.nv-reviews.is-pre .nv-reviews__stage { opacity: 0; transform: translateY(22px); }
.nv-reviews.is-in .nv-reviews__stage { opacity: 1; transform: none; transition: opacity 1s var(--nv-ease), transform 1.1s var(--nv-ease); }

/* ---- ديسكتوب صغير ---- */
@media (min-width: 1024px) and (max-width: 1180px) {
  .nv-reviews { --gap: 18px; }
  .nv-reviews.is-mixed .nv-reviews__card:not(.has-sign) .nv-reviews__fig { padding-bottom: calc(22px + var(--sign-h)); }
  .nv-reviews__fig { padding: 26px 26px 22px; }
  .nv-reviews__quote p { font-size: 16.5px; }
  .nv-reviews__card.is-short .nv-reviews__quote p { font-size: 19.5px; }
  .nv-reviews__prod { padding-inline: 26px 20px; }
  .nv-reviews__card::before { font-size: 136px; }
}
/* ---- تابلت: بطاقتان ---- */
@media (min-width: 768px) and (max-width: 1023px) {
  .nv-reviews { --per: 2; --gap: 18px; padding: 72px 0 10px; }
  .nv-reviews.is-mixed .nv-reviews__card:not(.has-sign) .nv-reviews__fig { padding-bottom: calc(22px + var(--sign-h)); }
  .nv-reviews__fig { padding: 26px 26px 22px; }
  .nv-reviews__quote p { font-size: 16.5px; }
  .nv-reviews__card.is-short .nv-reviews__quote p { font-size: 19.5px; }
  .nv-reviews__prod { padding-inline: 26px 20px; }
}

/* ---- الجوال: صف واحد كتطبيق، بطاقة واحدة وطرف التالية ---- */
@media (max-width: 767px) {
  .nv-reviews { --gap: 10px; --sign-h: 52px; padding: 34px 0 18px; }
  .nv-reviews__in { width: 100%; }
  .nv-reviews__head { margin-bottom: 12px; padding-inline: 16px 8px; gap: 8px; }
  .nv-reviews__eyebrow { font-size: 11.5px; margin-bottom: 6px; letter-spacing: .3em; white-space: nowrap; }
  .nv-reviews__title { font-size: clamp(18px, 5vw, 20px); line-height: 1.4; white-space: nowrap; }
  .nv-reviews__ctrl { margin-bottom: 0; }
  .nv-reviews__arrows { display: none; }
  .nv-reviews__all { height: 44px; padding: 0 4px; border: 0; gap: 4px; font-size: 13.5px; color: var(--nv-gold-text) !important; background: none !important; }
  .nv-reviews__all i { width: 24px; height: 24px; background: none; } .nv-reviews__all i::before { background: var(--nv-gold-text); }

  .nv-reviews__track { margin: 0; padding: 4px 16px 26px; scroll-padding-inline: 16px; }
  .nv-reviews__dots { margin-top: -8px; }
  .nv-reviews__card, .nv-reviews__card.is-clone { display: flex; flex: 0 0 min(calc(100% - 52px), 340px); border-radius: 22px; box-shadow: 0 22px 30px -28px rgba(82, 44, 0, .55); }
  .nv-reviews__card::before { font-size: 104px; height: 60px; inset-inline-end: 16px; }
  .nv-reviews__fig { padding: 18px 18px 14px; }
  .nv-reviews__stars i { width: 14px; height: 14px; }
  .nv-reviews__stars { gap: 2px; }
  .nv-reviews__quote { margin-top: 10px; }
  .nv-reviews__quote p { font-size: 15px; line-height: 1.8; -webkit-line-clamp: 5; }
  .nv-reviews__card.is-short .nv-reviews__quote p { font-size: 17px; line-height: 1.7; }
  .nv-reviews__who { gap: 10px; padding-top: 14px; }
  .nv-reviews__mono { width: 34px; height: 34px; font-size: 15px; box-shadow: 0 0 0 1px var(--nv-line), 0 0 0 3px var(--nv-paper), 0 0 0 4px var(--nv-line-soft); }
  .nv-reviews__name { font-size: 14px; }
  .nv-reviews__ok { font-size: 13px; gap: 4px; } .nv-reviews__ok::before { width: 14px; height: 14px; }
  .nv-reviews__prod { gap: 10px; padding: 0 18px 0 14px; }
  .nv-reviews.is-mixed .nv-reviews__card:not(.has-sign) .nv-reviews__fig { padding-bottom: 14px; } /* بطاقة واحدة في الشاشة: لا حاجة لمحاذاة الأسماء */
  .nv-reviews__top { gap: 8px; }
  .nv-reviews__stars + .nv-reviews__src { padding-inline-start: 8px; }
  .nv-reviews__thumb { width: 34px; height: 34px; }
  .nv-reviews__pname { font-size: 13.5px; }
  .nv-reviews__prod i { width: 18px; height: 18px; }
  .nv-reviews__prod:focus-visible { border-radius: 0 0 22px 22px; }
  .nv-reviews__dots { display: flex; }
}
@media (max-width: 359px) {
  .nv-reviews__card, .nv-reviews__card.is-clone { flex-basis: calc(100% - 40px); }
  .nv-reviews__fig { padding-inline: 16px; }
  .nv-reviews__quote p { font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .nv-reviews *, .nv-reviews *::before, .nv-reviews *::after { transition: none !important; animation: none !important; }
  .nv-reviews.is-pre .nv-reviews__stage { opacity: 1; transform: none; }
  .nv-reviews__track { scroll-behavior: auto; }
}

/* =========================================================
   R2 — طباعة هادئة وموحّدة (آراء العملاء)
   كان عنوان هذا القسم 44px وسطره اللاتيني 14px (أكبر من كل الأقسام) — صار مطابقًا لها
   ========================================================= */
.nv-reviews { padding-top: 72px; }
.nv-reviews__head { margin-bottom: 24px; } /* + 4px حشوة الشريط = 28 */
.nv-reviews__eyebrow { margin-bottom: 12px; font-size: 12px; letter-spacing: .32em; }
.nv-reviews__title { font-size: clamp(26px, 1.95vw, 28px); line-height: 1.4; }
.nv-reviews__ctrl { margin-bottom: -3px; }
.nv-reviews__all { height: 44px; gap: 10px; padding-inline: 18px 5px; font-size: 14px; }
.nv-reviews__all i { width: 34px; height: 34px; }
.nv-reviews__arrow { width: 44px; height: 44px; }
.nv-reviews__card { border-radius: 24px; border-color: var(--nv-line-soft); box-shadow: 0 30px 44px -40px rgba(82, 44, 0, .5); }
.nv-reviews__prod:focus-visible { border-radius: 0 0 24px 24px; }
.nv-reviews__fig { padding: 26px 28px 22px; }
.nv-reviews__quote { margin-top: 16px; }
.nv-reviews__quote p { font-size: 15.5px; line-height: 1.85; }
.nv-reviews__card.is-short .nv-reviews__quote p { font-size: 17px; line-height: 1.8; }
.nv-reviews__who { padding-top: 20px; }
.nv-reviews__mono { width: 40px; height: 40px; font-size: 15px; }
.nv-reviews__name { font-size: 14.5px; }
.nv-reviews__prod { padding: 0 28px 0 22px; }
.nv-reviews__thumb { width: 40px; height: 40px; }
.nv-reviews__pname { font-size: 14px; }
.nv-reviews.is-mixed .nv-reviews__card:not(.has-sign) .nv-reviews__fig { padding-bottom: calc(22px + var(--sign-h)); }
@media (min-width: 768px) and (max-width: 1180px) {
  .nv-reviews__fig { padding: 24px 24px 20px; }
  .nv-reviews__quote p { font-size: 15px; }
  .nv-reviews__card.is-short .nv-reviews__quote p { font-size: 16.5px; }
  .nv-reviews__prod { padding-inline: 24px 18px; }
  .nv-reviews.is-mixed .nv-reviews__card:not(.has-sign) .nv-reviews__fig { padding-bottom: calc(20px + var(--sign-h)); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .nv-reviews { padding-top: 56px; }
  .nv-reviews__head { margin-bottom: 18px; }
  .nv-reviews__title { font-size: 23px; }
}
@media (max-width: 767px) {
  .nv-reviews { padding-top: 30px; }
  .nv-reviews__head { margin-bottom: 10px; } /* + 4px حشوة الشريط = 14 */
  .nv-reviews__eyebrow { margin-bottom: 6px; font-size: 11.5px; letter-spacing: .3em; }
  .nv-reviews__title { font-size: clamp(18px, 5vw, 20px); line-height: 1.4; }
  .nv-reviews__ctrl { margin-bottom: 0; }
  .nv-reviews__all { height: 44px; padding: 0 4px; gap: 4px; font-size: 13.5px; }
  .nv-reviews__all i { width: 24px; height: 24px; }
  .nv-reviews__card, .nv-reviews__card.is-clone { border-radius: 22px; box-shadow: 0 20px 28px -24px rgba(82, 44, 0, .45); }
  .nv-reviews__prod:focus-visible { border-radius: 0 0 22px 22px; }
  .nv-reviews__fig { padding: 16px 18px 14px; }
  .nv-reviews__quote { margin-top: 10px; }
  .nv-reviews__quote p { font-size: 14px; line-height: 1.8; }
  .nv-reviews__card.is-short .nv-reviews__quote p { font-size: 15.5px; line-height: 1.75; }
  .nv-reviews__who { padding-top: 12px; }
  .nv-reviews__mono { width: 34px; height: 34px; font-size: 14px; }
  .nv-reviews__name { font-size: 14px; }
  .nv-reviews__prod { padding: 0 18px 0 14px; }
  .nv-reviews__thumb { width: 34px; height: 34px; }
  .nv-reviews__pname { font-size: 13.5px; }
  .nv-reviews.is-mixed .nv-reviews__card:not(.has-sign) .nv-reviews__fig { padding-bottom: 14px; }
}
@media (max-width: 359px) { .nv-reviews__quote p { font-size: 14px; } .nv-reviews__fig { padding-inline: 16px; } }
/* إيقاع رأسي: حشوة ظل البطاقات (44px) لا تُحسب مسافة قبل القسم التالي */
@media (min-width: 768px) { .nv-reviews { padding-bottom: 0; } .nv-reviews__track { margin-bottom: -30px; } }
/* =========================================================
   NOVALIA — الفوتر (تصوّر v2) · ثيم رائد
   يُبنى في footer.js من محتوى فوتر الثيم الحقيقي؛ هنا التنسيق فقط.
   العنصر الإبداعي الوحيد: كلمة NOVALIA محفورة بعرض الحاوية فوق شريط سفلي رفيع.
   ========================================================= */
.nv-foot {
  --nvf-bg: #FDF1E6; --nvf-card: #FFFBF6;
  --nvf-wrap: min(1320px, calc(100% - 40px));
  --nvf-i-wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.6a8.4 8.4 0 0 0-7.3 12.6L3.6 20.4l4.3-1.1A8.4 8.4 0 1 0 12 3.6z'/%3E%3Cpath d='M9.3 8.4c.3-.5.8-.5 1 0l.7 1.4c.1.3 0 .6-.2.9l-.4.4c.5 1 1.3 1.8 2.3 2.3l.4-.4c.3-.2.6-.3.9-.2l1.4.7c.5.2.5.7 0 1-.7.4-1.4.6-2.2.4-2-.7-3.6-2.3-4.3-4.3-.2-.8 0-1.6.4-2.2z'/%3E%3C/svg%3E");
  --nvf-i-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 3.8h2.6l1.4 4-1.9 1.3a10.6 10.6 0 0 0 6.2 6.2l1.3-1.9 4 1.4v2.6a2 2 0 0 1-2.2 2A16.6 16.6 0 0 1 4.6 6a2 2 0 0 1 2-2.2z'/%3E%3C/svg%3E");
  --nvf-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.6' y='5.8' width='16.8' height='12.4' rx='2.2'/%3E%3Cpath d='M4.4 7.2l7.6 5.6 7.6-5.6'/%3E%3C/svg%3E");
  --nvf-i-ret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.2 9.6A7.6 7.6 0 0 0 5.4 8.2'/%3E%3Cpath d='M5 4.4v3.9h3.9'/%3E%3Cpath d='M4.8 14.4a7.6 7.6 0 0 0 13.8 1.4'/%3E%3Cpath d='M19 19.6v-3.9h-3.9'/%3E%3C/svg%3E");
  --nvf-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 12H7m4-4l-4 4 4 4'/%3E%3C/svg%3E");
  --nvf-i-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 18.5V6m-5 5l5-5 5 5'/%3E%3C/svg%3E");
  --nvf-i-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
  position: relative; display: block; margin: 72px 0 0; padding: 0;
  background: radial-gradient(900px 340px at 88% 0%, rgba(249, 218, 190, .42), transparent 70%), var(--nvf-bg);
  color: var(--nv-ink, #171310); font-family: var(--nv-font, system-ui, sans-serif);
  text-align: start;
}
/* الدرزة العليا: خط ذهبي رفيع ينقطع في المنتصف لمعيّن صغير (نفس معيّن شريط الإعلانات) */
.nv-foot::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, var(--nv-line, rgba(172, 121, 27, .24)) calc(50% - 16px), transparent calc(50% - 16px), transparent calc(50% + 16px), var(--nv-line, rgba(172, 121, 27, .24)) calc(50% + 16px));
}
.nv-foot::before {
  content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px;
  background: var(--nv-gold, #AC791B); transform: rotate(45deg); z-index: 1;
}
html.nv-foot-on footer.store-footer.nv-foot-legacy { display: none !important; }

.nv-foot *, .nv-foot *::before, .nv-foot *::after { box-sizing: border-box; }
/* إعادة ضبط بلا أولوية (:where) حتى لا تطغى على أصناف المكوّنات */
:where(.nv-foot) :where(ul) { list-style: none; margin: 0; padding: 0; }
:where(.nv-foot) :where(p, h2) { margin: 0; }
:where(.nv-foot) :where(a) { text-decoration: none; color: inherit; }
:where(.nv-foot) :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.nv-foot :focus-visible { outline: 2px solid var(--nv-gold, #AC791B); outline-offset: 3px; border-radius: 12px; }
.nv-foot__in { width: var(--nvf-wrap); margin: 0 auto; }

/* ---------- الشبكة ---------- */
.nv-foot__grid {
  display: grid; grid-template-columns: 1.2fr 1.3fr .95fr 1.15fr; column-gap: clamp(32px, 4vw, 64px);
  padding: 76px 0 52px; align-items: start;
}

/* ---------- الهوية ---------- */
.nv-foot__id { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; border-radius: 999px; }
.nv-foot__logo {
  flex: none; width: 58px; height: 58px; border-radius: 50%; object-fit: cover; padding: 3px; background: var(--nv-paper, #FFFBF6);
  border: 1px solid var(--nv-line, rgba(172, 121, 27, .24)); box-shadow: 0 8px 20px -12px rgba(82, 44, 0, .45);
  transition: transform .7s var(--nv-ease, ease);
}
.nv-foot__id:hover .nv-foot__logo { transform: rotate(-6deg) scale(1.04); }
.nv-foot__idtx { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nv-foot__name { font: 400 17px/1.35 var(--nv-display, sans-serif); color: var(--nv-ink, #171310); }
.nv-foot__tag {
  direction: ltr; text-align: start; font: 500 11.5px/1 var(--nv-latin, serif); letter-spacing: .36em; color: var(--nv-gold-text, #7A520F);
  white-space: nowrap;
}
.nv-foot__desc { margin-top: 18px; max-width: 36ch; text-wrap: balance; font: 400 14.5px/1.85 var(--nv-font); color: var(--nv-muted, #6B5444); }
.nv-foot__social { display: flex; gap: 10px; margin-top: 24px; }
.nv-foot__soc {
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--nv-line, rgba(172, 121, 27, .24)); color: var(--nv-gold-text, #7A520F); background: rgba(255, 251, 246, .55);
  transition: background .4s var(--nv-ease, ease), border-color .4s var(--nv-ease, ease), color .4s, transform .5s var(--nv-ease, ease);
}
.nv-foot__soc svg { width: 18px; height: 18px; display: block; }
.nv-foot__soc-t { font: 500 14px/1 var(--nv-display); }
.nv-foot__soc:hover { background: var(--nv-brown, #522C00); border-color: var(--nv-brown, #522C00); color: var(--nv-ivory, #FFF7EF); transform: translateY(-2px); }

/* ---------- عناوين الأعمدة ---------- */
.nv-foot__h {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px; min-height: 30px;
  font: 500 15px/1.4 var(--nv-display, sans-serif); color: var(--nv-ink, #171310);
}
.nv-foot__h::before, .nv-foot__tog > span::before {
  content: ""; flex: none; width: 6px; height: 6px; background: var(--nv-gold, #AC791B); transform: rotate(45deg);
}
.nv-foot__tog > span::before { display: inline-block; margin-inline-end: 12px; vertical-align: 3px; }

/* ---------- الروابط ---------- */
.nv-foot__links { display: grid; grid-template-columns: minmax(0, 1fr); }
.nv-foot__links--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.nv-foot__link {
  display: inline-flex; align-items: center; gap: 0; min-height: 44px; min-width: 44px; max-width: 100%; padding: 4px 0; text-align: start;
  font: 400 14.5px/1.5 var(--nv-font); color: var(--nv-muted, #6B5444);
  transition: color .35s var(--nv-ease, ease), gap .45s var(--nv-ease, ease);
}
.nv-foot__link::before { content: ""; flex: none; width: 0; height: 1px; background: var(--nv-gold, #AC791B); transition: width .45s var(--nv-ease, ease); }
.nv-foot__link:hover { color: var(--nv-brown, #522C00); gap: 10px; }
.nv-foot__link:hover::before { width: 14px; }

/* ---------- التواصل ---------- */
.nv-foot__wa {
  display: flex; align-items: center; gap: 14px; min-height: 78px; padding: 14px 14px 14px 16px; margin-top: 2px;
  border-radius: 22px; border: 1px solid var(--nv-line, rgba(172, 121, 27, .24));
  background: linear-gradient(135deg, var(--nvf-card) 0%, #FCEAD8 100%);
  box-shadow: 0 22px 34px -30px rgba(82, 44, 0, .6);
  transition: transform .55s var(--nv-ease, ease), box-shadow .55s var(--nv-ease, ease), border-color .4s;
}
.nv-foot__wa:hover { transform: translateY(-2px); border-color: var(--nv-gold, #AC791B); box-shadow: 0 26px 40px -28px rgba(82, 44, 0, .62); }
.nv-foot__wa-ic { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--nv-brown, #522C00); }
.nv-foot__wa-ic::before, .nv-foot__wa-go::before, .nv-foot__line i::before, .nv-foot__ret i::before, .nv-foot__ret b::before, .nv-foot__top::before, .nv-foot__tog i::before {
  content: ""; position: absolute; inset: 0; background: currentColor;
  -webkit-mask: var(--nvf-i-wa) center / 22px no-repeat; mask: var(--nvf-i-wa) center / 22px no-repeat;
}
.nv-foot__wa-ic::before { background: var(--nv-ivory, #FFF7EF); }
.nv-foot__wa-tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nv-foot__wa-t { font: 500 14.5px/1.35 var(--nv-display, sans-serif); color: var(--nv-ink, #171310); }
.nv-foot__wa-n { font: 400 14.5px/1.3 var(--nv-font); color: var(--nv-gold-text, #7A520F); text-align: start; white-space: nowrap; unicode-bidi: isolate; }
.nv-foot__wa-go {
  position: relative; flex: none; width: 34px; height: 34px; margin-inline-start: auto; border-radius: 50%;
  border: 1px solid var(--nv-line, rgba(172, 121, 27, .24)); color: var(--nv-gold-text, #7A520F);
  transition: transform .55s var(--nv-ease, ease), background .4s;
}
.nv-foot__wa-go::before { -webkit-mask-image: var(--nvf-i-arrow); mask-image: var(--nvf-i-arrow); -webkit-mask-size: 17px; mask-size: 17px; }
.nv-foot__wa:hover .nv-foot__wa-go { transform: translateX(-4px); background: var(--nvf-card); }

.nv-foot__alt { display: grid; gap: 2px; margin-top: 14px; }
.nv-foot__line {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; justify-self: start; max-width: 100%;
  font: 400 14.5px/1.4 var(--nv-font); color: var(--nv-muted, #6B5444); transition: color .35s var(--nv-ease, ease);
}
.nv-foot__line i {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--nv-line-soft, rgba(172, 121, 27, .14));
  color: var(--nv-gold-text, #7A520F); transition: border-color .35s, background .35s;
}
.nv-foot__line i::before { -webkit-mask-size: 17px; mask-size: 17px; }
.nv-foot__line--tel i::before { -webkit-mask-image: var(--nvf-i-tel); mask-image: var(--nvf-i-tel); }
.nv-foot__line--mail i::before { -webkit-mask-image: var(--nvf-i-mail); mask-image: var(--nvf-i-mail); }
.nv-foot__line:hover { color: var(--nv-brown, #522C00); }
.nv-foot__line:hover i { border-color: var(--nv-gold, #AC791B); background: var(--nvf-card); }
.nv-foot__line-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-foot__line-t--d { unicode-bidi: isolate; }
.nv-foot__line-t--m { display: none; }

/* ---------- شريط الضمان: طرق الدفع + الاستبدال ---------- */
.nv-foot__assure {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  padding: 22px 0; border-top: 1px solid var(--nv-line-soft, rgba(172, 121, 27, .14));
}
.nv-foot__pay { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; min-width: 0; }
.nv-foot__cap { font: 500 14px/1.4 var(--nv-display, sans-serif); color: var(--nv-ink, #171310); white-space: nowrap; }
.nv-foot__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nv-foot__chip {
  display: flex; align-items: center; justify-content: center; width: 58px; height: 38px; border-radius: 10px;
  background: #fff; border: 1px solid var(--nv-line-soft, rgba(172, 121, 27, .14));
}
.nv-foot__chip img { display: block; width: 46px; height: 30px; object-fit: contain; }
.nv-foot__ret {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-inline: 4px;
  font: 400 14px/1.4 var(--nv-font); color: var(--nv-muted, #6B5444); transition: color .35s var(--nv-ease, ease);
}
.nv-foot__ret i, .nv-foot__ret b { position: relative; flex: none; width: 22px; height: 22px; color: var(--nv-gold-text, #7A520F); }
.nv-foot__ret i::before { -webkit-mask-image: var(--nvf-i-ret); mask-image: var(--nvf-i-ret); -webkit-mask-size: 21px; mask-size: 21px; }
.nv-foot__ret b { width: 18px; transition: transform .5s var(--nv-ease, ease); }
.nv-foot__ret b::before { -webkit-mask-image: var(--nvf-i-arrow); mask-image: var(--nvf-i-arrow); -webkit-mask-size: 17px; mask-size: 17px; }
.nv-foot__ret:hover { color: var(--nv-brown, #522C00); }
.nv-foot__ret:hover b { transform: translateX(-4px); }

/* ---------- التوقيع المحفور ---------- */
.nv-foot__mark { width: var(--nvf-wrap); margin: 6px auto 0; line-height: 0; pointer-events: none; user-select: none; }
.nv-foot__mark svg { display: block; width: 100%; height: auto; overflow: visible; }
.nv-foot__mark text { font-family: var(--nv-latin, serif); font-weight: 500; font-size: 158px; }
.nv-foot.nvf-anim .nv-foot__mark svg { opacity: 0; transform: translateY(22px); transition: opacity 1.4s var(--nv-ease, ease), transform 1.6s var(--nv-ease, ease); }
.nv-foot.nvf-anim.is-in .nv-foot__mark svg { opacity: 1; transform: none; }

/* ---------- الشريط السفلي (رفيع، بلون شريط الإعلانات العلوي) ---------- */
.nv-foot__base {
  background: var(--nv-ink, #171310); color: rgba(246, 231, 214, .78);
  padding-bottom: calc(var(--nvf-safe, 0px) + env(safe-area-inset-bottom, 0px));
}
.nv-foot__base-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; }
/* سطر الحقوق: سطر واحد دائمًا. footer.js يختار الصيغة التي تتسع: الاسم الكامل ← أول كلمة ← بلا اسم */
.nv-foot__copy { flex: 1 1 auto; min-width: 0; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 400 13px/1.6 var(--nv-font); }
.nv-foot__sep { display: inline-block; vertical-align: middle; width: 4px; height: 4px; margin: -2px 12px 0; background: var(--nv-gold, #AC791B); transform: rotate(45deg); }
.nv-foot__rt { color: rgba(246, 231, 214, .62); }
.nv-foot__nm--short { display: none; }
.nv-foot__copy.is-mid .nv-foot__nm--full, .nv-foot__copy.is-short .nv-foot__nm { display: none; }
.nv-foot__copy.is-mid .nv-foot__nm--short { display: inline; }
.nv-foot__sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.nv-foot__top {
  position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(231, 199, 174, .28) !important; color: #F6E7D6 !important;
  transition: background .4s var(--nv-ease, ease), border-color .4s, transform .5s var(--nv-ease, ease);
}
.nv-foot__top::before { -webkit-mask-image: var(--nvf-i-up); mask-image: var(--nvf-i-up); -webkit-mask-size: 19px; mask-size: 19px; }
.nv-foot__top:hover { background: rgba(231, 199, 174, .12) !important; border-color: var(--nv-gold, #AC791B) !important; transform: translateY(-2px); }
.nv-foot__base :focus-visible { outline-color: var(--nv-champagne, #E7C7AE); }

/* سطر التطوير: في المنتصف تحت الحقوق، هادئ؛ الرابط كله (نص + شعار) هدف لمس 44px */
.nv-foot__credit-row { display: flex; justify-content: center; padding: 0 0 6px; border-top: 1px solid rgba(231, 199, 174, .1); }
.nv-foot__credit {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 14px 0; border-radius: 999px; white-space: nowrap;
  font: 400 13px/1.4 var(--nv-font); color: rgba(246, 231, 214, .58); transition: color .35s var(--nv-ease, ease);
}
.nv-foot__credit-logo { display: block; flex: none; width: auto; height: 24px; max-width: none; transition: transform .5s var(--nv-ease, ease); }
.nv-foot__credit:hover { color: rgba(246, 231, 214, .9); }
.nv-foot__credit:hover .nv-foot__credit-logo { transform: translateY(-1px); }
.nv-foot__credit:focus-visible { outline-offset: 0; border-radius: 999px; }

/* بديل اختياري للشريط السفلي بلون فاتح (C.lightBase = true في footer.js) */
.nv-foot--light-base .nv-foot__base { background: var(--nv-cream, #FEE6CE); color: var(--nv-muted, #6B5444); border-top: 1px solid var(--nv-line-soft, rgba(172, 121, 27, .14)); }
.nv-foot--light-base .nv-foot__rt { color: inherit; }
.nv-foot--light-base .nv-foot__top { border-color: var(--nv-line, rgba(172, 121, 27, .24)) !important; color: var(--nv-gold-text, #7A520F) !important; }
.nv-foot--light-base .nv-foot__top:hover { background: var(--nv-paper, #FFFBF6) !important; }
.nv-foot--light-base .nv-foot__base :focus-visible { outline-color: var(--nv-gold, #AC791B); }
.nv-foot--light-base .nv-foot__credit-row { border-top-color: var(--nv-line-soft, rgba(172, 121, 27, .14)); }
.nv-foot--light-base .nv-foot__credit { color: var(--nv-muted, #6B5444); }
.nv-foot--light-base .nv-foot__credit:hover { color: var(--nv-ink, #171310); }

/* ---------- ديسكتوب ضيّق ---------- */
@media (max-width: 1279px) and (min-width: 1024px) {
  .nv-foot__grid { grid-template-columns: 1.05fr 1.3fr 1fr 1.2fr; column-gap: 36px; padding-top: 68px; }
  .nv-foot__id { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nv-foot__logo { width: 56px; height: 56px; }
  .nv-foot__name { font-size: 17px; }
  .nv-foot__desc { margin-top: 20px; }
  .nv-foot__wa { gap: 12px; padding-inline: 12px; }
  .nv-foot__wa-ic { width: 44px; height: 44px; }
  .nv-foot__wa-t { font-size: 14px; }
  .nv-foot__wa-go { display: none; }
  .nv-foot__link, .nv-foot__line { font-size: 14px; }
}

/* ---------- تابلت: عمودان × صفان ---------- */
@media (max-width: 1023px) and (min-width: 768px) {
  .nv-foot__grid { grid-template-columns: 1fr 1fr; gap: 44px 48px; padding: 60px 0 44px; }
  .nv-foot__desc { max-width: 40ch; }
  .nv-foot__col--contact { grid-column: 2; grid-row: 1; }
  .nv-foot__wa { max-width: 380px; }
  .nv-foot__col--shop { grid-column: 1; grid-row: 2; }
  .nv-foot__col--info { grid-column: 2; grid-row: 2; }
}

/* ---------- الجوال: تطبيق مضغوط + أكورديون ---------- */
@media (max-width: 767px) {
  .nv-foot { margin-top: 40px; --nvf-wrap: calc(100% - 32px); background: radial-gradient(420px 260px at 90% 0%, rgba(249, 218, 190, .45), transparent 72%), var(--nvf-bg); }
  .nv-foot__grid { grid-template-columns: minmax(0, 1fr); padding: 38px 0 6px; row-gap: 0; }

  .nv-foot__id { gap: 12px; }
  .nv-foot__logo { width: 50px; height: 50px; padding: 2px; }
  .nv-foot__idtx { gap: 6px; }
  .nv-foot__name { font-size: 16px; }
  .nv-foot__desc { margin-top: 10px; max-width: none; font-size: 13.5px; line-height: 1.8; }
  .nv-foot__social { margin-top: 12px; gap: 8px; }

  /* التواصل يأتي مباشرة بعد الهوية ويبقى ظاهرًا */
  .nv-foot__col--contact { order: 2; margin-top: 22px; }
  .nv-foot__col--contact > .nv-foot__h { display: none; }
  .nv-foot__col--shop { order: 3; margin-top: 22px; }
  .nv-foot__col--info { order: 4; }
  .nv-foot__wa { min-height: 66px; padding: 10px 12px 10px 14px; border-radius: 20px; }
  .nv-foot__wa-ic { width: 44px; height: 44px; }
  .nv-foot__wa-t { font-size: 14.5px; }
  .nv-foot__wa-n { font-size: 14px; }
  .nv-foot__alt { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
  .nv-foot__line {
    justify-self: stretch; justify-content: center; gap: 8px; min-height: 46px; padding: 0 10px; border-radius: 999px;
    border: 1px solid var(--nv-line, rgba(172, 121, 27, .24)); background: rgba(255, 251, 246, .6);
    font: 500 13.5px/1.2 var(--nv-font); color: var(--nv-ink, #171310);
  }
  .nv-foot__line i { width: 22px; height: 22px; border: 0; }
  .nv-foot__line:hover i { background: none; }
  .nv-foot__line-t--d { display: none; }
  .nv-foot__line-t--m { display: inline; }
  .nv-foot__line:only-child { grid-column: 1 / -1; }

  /* الأكورديون */
  .nv-foot__col--acc { border-top: 1px solid var(--nv-line-soft, rgba(172, 121, 27, .14)); }
  .nv-foot__col--info { border-bottom: 1px solid var(--nv-line-soft, rgba(172, 121, 27, .14)); }
  .nv-foot__col--acc > .nv-foot__h { margin: 0; min-height: 0; display: block; }
  .nv-foot__col--acc > .nv-foot__h::before { display: none; }
  .nv-foot__tog {
    display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 2px;
    font: 500 15px/1.4 var(--nv-display, sans-serif); color: var(--nv-ink, #171310); text-align: start; border-radius: 12px;
  }
  .nv-foot__tog i {
    position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--nv-line, rgba(172, 121, 27, .24));
    color: var(--nv-gold-text, #7A520F); transition: transform .5s var(--nv-ease, ease), background .35s, border-color .35s;
  }
  .nv-foot__tog i::before { -webkit-mask-image: var(--nvf-i-chev); mask-image: var(--nvf-i-chev); -webkit-mask-size: 18px; mask-size: 18px; }
  .nv-foot__tog[aria-expanded="true"] i { transform: rotate(180deg); background: var(--nv-brown, #522C00); border-color: var(--nv-brown, #522C00); color: var(--nv-ivory, #FFF7EF); }
  .nv-foot__panel { padding: 0 2px 12px; }
  .nv-foot__panel[hidden] { display: none; }
  .nv-foot__panel > ul { animation: nvf-in .45s var(--nv-ease, ease) both; }
  .nv-foot__links--two { column-gap: 12px; }
  .nv-foot__link { display: flex; min-height: 44px; font-size: 14px; }

  /* طرق الدفع والاستبدال */
  .nv-foot__assure { display: block; padding: 22px 0 6px; border-top: 0; }
  .nv-foot__pay { display: block; }
  .nv-foot__cap { font-size: 14px; margin-bottom: 10px; }
  .nv-foot__chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(42px, 1fr)); gap: 6px; }
  .nv-foot__chip { width: auto; height: 36px; border-radius: 10px; }
  .nv-foot__chip img { width: 38px; height: 25px; }
  .nv-foot__ret { margin-top: 8px; padding-inline: 0; font-size: 13.5px; }

  .nv-foot__mark { margin-top: 2px; }
  .nv-foot__base-in { min-height: 52px; gap: 12px; }
  .nv-foot__copy { font-size: 13px; line-height: 1.55; }
  .nv-foot__sep { margin-inline: 8px; }
  .nv-foot__credit-row { padding-bottom: 4px; }
  .nv-foot__credit { gap: 8px; padding-inline: 10px; }
  .nv-foot__credit-logo { height: 22px; }
}
@media (max-width: 359px) {
  .nv-foot__chips { gap: 5px; }
  .nv-foot__chip img { width: 34px; height: 22px; }
  .nv-foot__line { font-size: 13px; padding: 0 6px; gap: 6px; }
  .nv-foot__wa-t { font-size: 14px; }
  .nv-foot__wa-go { width: 30px; height: 30px; }
}
@keyframes nvf-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .nv-foot *, .nv-foot *::before, .nv-foot *::after { transition: none !important; animation: none !important; }
}

/* ---------- R2: الفوتر لا يقفز ----------
   في الصفحات التي يُحمَّل محتواها لاحقًا (الأقسام، البحث…) كان الفوتر يظهر داخل الشاشة ثم يُدفع للأسفل (CLS حتى 0.3).
   نضمن أن المحتوى الرئيسي يملأ الشاشة من أول رسم، فيبدأ الفوتر دائمًا تحت الطيّة ولا تُحسب حركته. */
/* r4: لا تنطبق حين تكون القائمة فارغة (رسالة «لا منتجات» ظاهرة): كانت تترك فراغًا طويلًا بين الرسالة والفوتر. أثناء التحميل وفي القوائم المحمّلة كما هي. */
body[class*="product-index"]:not(:has(.s-products-list-placeholder)) #main-content { min-height: 100vh; min-height: 100svh; }

/* r3b (B-01): بريد المتجر القديم في فوتر الثيم الخام يُخفى بالـCSS قبل وصول JS (وإن عاد الفوتر الخام عند فشل البناء).
   النص لا يُكتب حرفيًا: \6b = k */
footer.store-footer a[href^="mailto:" i][href*="fa\6bhr" i] { display: none !important; }
/* =========================================================
   NOVALIA — نافذة البحث (v2)
   مكوّن سلة <salla-search> يرسم نافذته <salla-modal class="s-search-modal"> داخل body
   (DOM عادي بلا shadow) فننسّقها هنا بالكامل. الإصلاحات السلوكية في search.js.
   الجوال (< 640): لوح علوي ينسدل من أعلى الشاشة بدل صفحة بيضاء كاملة، وتحته الصفحة معتمة (اللمس يغلق).
   الديسكتوب (≥ 640): لوح وسطي هادئ بعرض 760.
   ملاحظة: سلة تضع transform:none !important على .s-modal-body فنحرّك اللوح بالخاصية translate.
   ========================================================= */

/* النسخة المكررة (انظر search.js) لا تظهر ولا تأخذ التركيز */
salla-modal.nv-search-dup { display: none !important; }

/* قفل التمرير مع حفظ الموضع (سلة تجعل body ثابتًا فتقفز الصفحة لأعلاها) */
html.nv-search-lock body {
  position: fixed !important; top: var(--nv-lock-top, 0) !important; left: 0 !important; right: 0 !important;
  width: 100% !important; overflow: hidden !important;
}

/* لحظة الانتقال لصفحة نتائج البحث (Enter): نعيد الصفحة لموضعها تحت اللوح ليحفظه المتصفح للرجوع */
html.nv-search-free body.modal-is-open { position: relative !important; width: auto !important; }

/* ---------- 1. الإطار والخلفية ---------- */
salla-modal.s-search-modal { z-index: 200; }
salla-modal.s-search-modal .s-modal-overlay {
  background-color: rgba(23, 19, 16, .42) !important;
  -webkit-backdrop-filter: blur(4px) saturate(1.1); backdrop-filter: blur(4px) saturate(1.1);
}
salla-modal.s-search-modal .s-modal-wrapper { overflow: hidden; }
salla-modal.s-search-modal .s-modal-header { display: none !important; }

salla-modal.s-search-modal.s-search-modal-new .s-modal-body {
  background: var(--nv-ivory, #FFF7EF) !important; color: var(--nv-ink, #171310);
  font-family: var(--nv-font); text-align: start;
  box-shadow: 0 34px 70px -34px rgba(23, 19, 16, .6), 0 0 0 1px rgba(172, 121, 27, .14);
}
salla-modal.s-search-modal .s-search-panel { height: auto; min-height: 0; flex: 1 1 auto; display: flex; flex-direction: column; }

/* ---------- 2. سطر الإدخال ---------- */
salla-modal.s-search-modal .s-search-input-row {
  margin: 0 !important; padding: 14px 14px 12px; gap: 8px; display: flex; align-items: center; flex: none;
}
salla-modal.s-search-modal .s-search-input-wrapper { flex: 1 1 auto; min-width: 0; }
salla-modal.s-search-modal .s-search-modal-new .s-search-input,
salla-modal.s-search-modal .s-search-input {
  -webkit-appearance: none; appearance: none;
  height: 50px !important; border-radius: 999px !important; width: 100%;
  background: var(--nv-paper, #FFFBF6) !important; border: 1px solid var(--nv-line, rgba(172, 121, 27, .24)) !important;
  padding: 0 46px 0 14px !important; padding-inline: 46px 14px !important;
  font: 400 16px/1.4 var(--nv-font) !important; color: var(--nv-ink, #171310) !important;
  box-shadow: none !important; outline: none !important;
  transition: border-color .35s var(--nv-ease), box-shadow .35s var(--nv-ease), background .35s var(--nv-ease);
}
salla-modal.s-search-modal .s-search-input::placeholder { color: var(--nv-muted, #6B5444); opacity: .85; }
salla-modal.s-search-modal .s-search-input:focus {
  border-color: var(--nv-gold, #AC791B) !important; background: #fff !important;
  box-shadow: 0 0 0 4px rgba(172, 121, 27, .14) !important;
}
salla-modal.s-search-modal .s-search-input::-webkit-search-decoration { -webkit-appearance: none; }
salla-modal.s-search-modal .s-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin: 0; border-radius: 50%; cursor: pointer;
  background: var(--nv-cream, #FEE6CE) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B5444' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 13px no-repeat;
}
salla-modal.s-search-modal .s-search-icon-wrap {
  position: absolute; inset-inline-start: 16px; inset-inline-end: auto; right: auto; left: auto;
  top: 50%; transform: translateY(-50%); width: 20px; height: 20px; pointer-events: none; display: block; z-index: 2;
}
[dir="rtl"] salla-modal.s-search-modal .s-search-icon-wrap { right: 16px; }
[dir="ltr"] salla-modal.s-search-modal .s-search-icon-wrap { left: 16px; }
salla-modal.s-search-modal .s-search-icon { display: block; width: 20px; height: 20px; position: relative; }
salla-modal.s-search-modal .s-search-icon svg { display: none !important; }
salla-modal.s-search-modal .s-search-icon::before {
  content: ""; position: absolute; inset: 0; background: var(--nv-gold, #AC791B);
  -webkit-mask: var(--nv-i-search) center / contain no-repeat; mask: var(--nv-i-search) center / contain no-repeat;
}
/* مؤشر التحميل أثناء البحث */
salla-modal.s-search-modal .s-search-icon:has(.s-search-spinner-loader)::before { display: none; }
salla-modal.s-search-modal .s-search-spinner-loader {
  position: absolute; inset: 1px; display: block; border-radius: 50%;
  border: 2px solid rgba(172, 121, 27, .22); border-top-color: var(--nv-gold, #AC791B);
  animation: nv-search-spin .8s linear infinite;
}
@keyframes nv-search-spin { to { transform: rotate(360deg); } }

/* زر الإغلاق (هو زر «رجوع» في سلة): دائرة × في نهاية السطر، ويظهر على الديسكتوب أيضًا */
salla-modal.s-search-modal .s-search-back-btn {
  order: 2; display: inline-flex !important; flex: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0 !important; margin: 0; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1px solid var(--nv-line, rgba(172, 121, 27, .24)); color: var(--nv-ink, #171310);
  transition: background .35s var(--nv-ease), border-color .35s var(--nv-ease), transform .35s var(--nv-ease);
}
salla-modal.s-search-modal .s-search-back-btn > span { display: none !important; }
salla-modal.s-search-modal .s-search-back-btn::before {
  content: ""; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;
}
salla-modal.s-search-modal .s-search-back-btn:hover { background: var(--nv-cream, #FEE6CE); border-color: var(--nv-gold, #AC791B); }
salla-modal.s-search-modal .s-search-back-btn:active { transform: scale(.94); }
salla-modal.s-search-modal .s-search-back-btn:focus-visible,
salla-modal.s-search-modal a:focus-visible,
salla-modal.s-search-modal button:focus-visible {
  outline: 2px solid var(--nv-gold, #AC791B) !important; outline-offset: 2px;
}
salla-modal.s-search-modal .s-search-product-card-overlay-link:focus-visible { outline-offset: -2px; border-radius: 16px; }

/* ---------- 3. اقتراحات الأقسام (حالة الخمول، من قائمة المتجر نفسها) ---------- */
.nv-search-quick { padding: 2px 16px 16px; flex: none; }
.nv-search-quick[hidden] { display: none !important; }
.nv-search-quick__title { margin: 0 0 10px; font: 400 13px/1.6 var(--nv-font); color: var(--nv-muted, #6B5444); }
.nv-search-quick__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nv-search-quick__list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
  background: var(--nv-paper, #FFFBF6); border: 1px solid var(--nv-line-soft, rgba(172, 121, 27, .14));
  font: 500 14px/1 var(--nv-font); color: var(--nv-ink, #171310); text-decoration: none;
  transition: background .35s var(--nv-ease), border-color .35s var(--nv-ease);
}
.nv-search-quick__list a:hover { background: var(--nv-cream, #FEE6CE); border-color: var(--nv-gold, #AC791B); }
.nv-search-quick__list a:focus-visible { outline: 2px solid var(--nv-gold, #AC791B); outline-offset: 2px; }

/* ---------- 4. الخمول (سجل البحث، الأكثر بحثًا) ---------- */
salla-modal.s-search-modal .s-search-idle-panel { box-shadow: none !important; padding: 2px 16px 16px; }
salla-modal.s-search-modal .s-search-idle-panel-empty { padding: 0 !important; }
salla-modal.s-search-modal .s-search-idle-section-title {
  margin: 0 0 10px; font: 400 13px/1.6 var(--nv-font) !important; color: var(--nv-muted, #6B5444) !important; letter-spacing: 0 !important; text-transform: none;
}
salla-modal.s-search-modal .s-search-history-list,
salla-modal.s-search-modal .s-search-idle-categories-list { display: flex; flex-wrap: wrap; gap: 8px; }
salla-modal.s-search-modal .s-search-history-chip,
salla-modal.s-search-modal .s-search-idle-category-chip {
  display: inline-flex; align-items: center; gap: 2px; min-height: 44px; border-radius: 999px !important;
  background: var(--nv-paper, #FFFBF6) !important; border: 1px solid var(--nv-line-soft, rgba(172, 121, 27, .14)) !important;
  font: 400 14px/1.3 var(--nv-font) !important; color: var(--nv-ink, #171310) !important;
}
salla-modal.s-search-modal .s-search-idle-category-chip { padding: 0 16px; }
salla-modal.s-search-modal .s-search-history-chip { padding-inline: 6px 14px; }
salla-modal.s-search-modal .s-search-history-chip-term { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; color: inherit !important; }
salla-modal.s-search-modal .s-search-history-chip-icon { color: var(--nv-gold, #AC791B); display: inline-flex; }
salla-modal.s-search-modal .s-search-history-chip-icon svg { width: 16px; height: 16px; }
salla-modal.s-search-modal .s-search-history-chip-remove {
  width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--nv-muted, #6B5444);
}
salla-modal.s-search-modal .s-search-history-chip-remove svg { width: 14px; height: 14px; fill: currentColor; }
salla-modal.s-search-modal .s-search-most-searched-list { margin: 0; padding: 0; list-style: none; }
salla-modal.s-search-modal .s-search-most-searched-item {
  display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 4px;
  font: 400 15px/1.5 var(--nv-font) !important; color: var(--nv-ink, #171310) !important;
  border-bottom: 1px solid var(--nv-line-soft, rgba(172, 121, 27, .14));
}
salla-modal.s-search-modal .s-search-most-searched-icon svg { fill: var(--nv-gold, #AC791B) !important; }
salla-modal.s-search-modal .s-search-most-searched-highlight { color: var(--nv-gold-text, #7A520F) !important; font-weight: 600; }

/* ---------- 5. النتائج ---------- */
salla-modal.s-search-modal .s-search-results-body {
  box-shadow: none !important; gap: 0 !important; border-top: 1px solid var(--nv-line-soft, rgba(172, 121, 27, .14));
  flex: 1 1 auto; min-height: 0;
}
salla-modal.s-search-modal .s-search-results-grid-wrap {
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 10px 12px 8px !important;
}
salla-modal.s-search-modal .s-search-results-grid-wrap > .s-search-idle-section-title { margin: 2px 6px 6px; }
salla-modal.s-search-modal .s-search-results-grid { row-gap: 0 !important; column-gap: 10px !important; }
salla-modal.s-search-modal .s-search-grid-item { border-bottom: 1px solid var(--nv-line-soft, rgba(172, 121, 27, .14)); }
salla-modal.s-search-modal .s-search-grid-item:last-child { border-bottom: 0; }
salla-modal.s-search-modal salla-search-product-card.s-search-product-card-entry {
  display: flex; align-items: center; gap: 14px; margin: 0 !important; padding: 10px 6px !important; min-height: 84px;
  border-radius: 16px; background: transparent !important; box-shadow: none !important; border: 0 !important;
  transition: background .35s var(--nv-ease);
}
salla-modal.s-search-modal salla-search-product-card.s-search-product-card-entry:hover { background: var(--nv-paper, #FFFBF6) !important; }
salla-modal.s-search-modal .s-search-product-card-image {
  width: 64px !important; height: 64px !important; flex: none; margin: 0 !important; border-radius: 14px !important; overflow: hidden;
  background: var(--nv-cream, #FEE6CE) !important;
}
salla-modal.s-search-modal .s-search-product-card-image img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; }
salla-modal.s-search-modal .s-search-product-card-promotion-title { display: none !important; }
salla-modal.s-search-modal .s-search-product-card-content { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 0 !important; }
salla-modal.s-search-modal .s-search-product-card-content-title {
  margin: 0; font: 400 14.5px/1.55 var(--nv-font) !important; color: var(--nv-ink, #171310) !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal;
}
salla-modal.s-search-modal .s-search-product-card-content-sub { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
salla-modal.s-search-modal .s-search-product-card-price-value,
salla-modal.s-search-modal .s-search-product-card-content-sub p {
  margin: 0; font: 500 14.5px/1.4 var(--nv-font) !important; color: var(--nv-gold-text, #7A520F) !important;
}
salla-modal.s-search-modal .s-search-product-card-content-sub .line-through,
salla-modal.s-search-modal .s-search-product-card-content-sub del { color: var(--nv-muted, #6B5444) !important; font-weight: 400 !important; font-size: 13px !important; }
/* رمز الريال: نكتب «ر.س» كما في أقسام الصفحة */
salla-modal.s-search-modal .s-search-product-card-content-sub i.sicon-sar { font-style: normal; margin-inline-start: 3px; }
salla-modal.s-search-modal .s-search-product-card-content-sub i.sicon-sar::before {
  content: "ر.س" !important; font-family: var(--nv-font) !important; font-weight: 400; font-size: 13px; color: var(--nv-muted, #6B5444);
}
salla-modal.s-search-modal .s-search-product-card-out-of-stock img { opacity: .55; }
salla-modal.s-search-modal .s-search-product-card-out-of-stock-label {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px;
  background: var(--nv-cream, #FEE6CE) !important; color: var(--nv-muted, #6B5444) !important; font: 500 13px/1 var(--nv-font) !important;
}
salla-modal.s-search-modal .s-search-no-results-placeholder {
  margin: 0; padding: 26px 12px 30px; text-align: center; font: 400 14.5px/1.7 var(--nv-font) !important; color: var(--nv-muted, #6B5444) !important;
}

/* «عرض كل النتائج»: زر كبسولي في أسفل اللوح */
salla-modal.s-search-modal .s-search-view-all {
  flex: none; margin: 4px 14px 14px; min-height: 48px; padding: 0 22px !important; border: 0 !important; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none !important;
  background: var(--nv-brown, #522C00); color: var(--nv-ivory, #FFF7EF) !important;
  font: 500 14.5px/1.3 var(--nv-font) !important; text-align: center;
  transition: background .35s var(--nv-ease), transform .35s var(--nv-ease);
}
salla-modal.s-search-modal .s-search-view-all:hover { background: #3E2100; text-decoration: none !important; }
salla-modal.s-search-modal .s-search-view-all:active { transform: scale(.98); }
salla-modal.s-search-modal .s-search-view-all-icon { display: inline-flex; width: 16px; height: 16px; }
salla-modal.s-search-modal .s-search-view-all-icon svg { width: 16px !important; height: 16px !important; fill: currentColor !important; }

/* ---------- 6. الجوال: لوح علوي ---------- */
@media (max-width: 639px) {
  salla-modal.s-search-modal.s-search-modal-new .s-modal-body.s-modal-body {
    position: fixed !important; top: 0 !important; bottom: auto !important; left: 0 !important; right: 0 !important;
    width: 100% !important; max-width: none !important; margin: 0 !important;
    height: auto !important; max-height: min(88dvh, 780px) !important; overflow: hidden !important;
    display: flex !important; flex-direction: column;
    padding: env(safe-area-inset-top) 0 0 !important;
    border-radius: 0 0 26px 26px !important;
  }
  salla-modal.s-search-modal .s-search-panel { max-height: calc(min(88dvh, 780px) - env(safe-area-inset-top)); }
  salla-modal.s-search-modal .s-search-results-grid-wrap { max-height: none !important; }
  /* مقبض صغير أسفل اللوح: إشارة «لوح» هادئة */
  salla-modal.s-search-modal .s-search-panel::after {
    content: ""; flex: none; align-self: center; width: 38px; height: 4px; margin: 0 0 10px; border-radius: 4px; background: rgba(172, 121, 27, .28);
  }
}
@media (max-width: 359px) {
  salla-modal.s-search-modal .s-search-input-row { padding: 12px 10px 10px; gap: 6px; }
  salla-modal.s-search-modal .s-search-input { padding-inline: 42px 10px !important; }
  [dir="rtl"] salla-modal.s-search-modal .s-search-icon-wrap { right: 14px; }
  salla-modal.s-search-modal salla-search-product-card.s-search-product-card-entry { gap: 12px; }
  salla-modal.s-search-modal .s-search-product-card-image { width: 56px !important; height: 56px !important; }
  salla-modal.s-search-modal .s-search-view-all { margin-inline: 10px; }
}

/* ---------- 7. الديسكتوب والتابلت: لوح وسطي ---------- */
@media (min-width: 640px) {
  salla-modal.s-search-modal.s-search-modal-new .s-modal-body.s-modal-body {
    width: min(760px, 92vw) !important; max-width: none !important; margin-top: clamp(64px, 11vh, 120px) !important;
    display: inline-flex !important; flex-direction: column; vertical-align: top;
    padding: 0 !important; border-radius: 26px !important; overflow: hidden !important;
  }
  salla-modal.s-search-modal .s-search-input-row { padding: 18px 20px 14px; gap: 10px; }
  salla-modal.s-search-modal .s-search-input { height: 54px !important; padding-inline: 50px 18px !important; }
  [dir="rtl"] salla-modal.s-search-modal .s-search-icon-wrap { right: 19px; }
  salla-modal.s-search-modal .nv-search-quick { padding: 2px 20px 20px; }
  salla-modal.s-search-modal .s-search-idle-panel { padding: 2px 20px 20px; }
  salla-modal.s-search-modal .s-search-results-body { flex-direction: column !important; }
  salla-modal.s-search-modal .s-search-results-grid-wrap { max-height: min(56vh, 520px) !important; padding: 12px 16px 10px !important; }
  salla-modal.s-search-modal .s-search-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  salla-modal.s-search-modal .s-search-grid-item:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  salla-modal.s-search-modal .s-search-view-all { margin: 6px 20px 20px; align-self: center; min-width: 280px; }
}

/* ---------- 8. الحركة ---------- */
/* لحظة قبل أن تضيف سلة صنف الدخول: نُخفي اللوح فلا يومض في مكانه ثم يتحرك */
salla-modal.s-search-modal[visible] .s-modal-body:not(.s-modal-entering):not(.s-modal-leaving) { opacity: 0; }
salla-modal.s-search-modal .s-modal-body.s-modal-entering { animation: nv-sheet-in .6s var(--nv-ease) both !important; }
salla-modal.s-search-modal .s-modal-body.s-modal-leaving { animation: nv-sheet-out .3s var(--nv-ease) both !important; }
salla-modal.s-search-modal .s-modal-overlay.s-modal-entering { animation: nv-fade-in .4s ease-out both !important; }
salla-modal.s-search-modal .s-modal-overlay.s-modal-overlay-leaving { opacity: 0; transition: opacity .3s ease; }
@keyframes nv-sheet-in { from { opacity: 0; translate: 0 -28px; } to { opacity: 1; translate: 0 0; } }
@keyframes nv-sheet-out { from { opacity: 1; translate: 0 0; } to { opacity: 0; translate: 0 -18px; } }
@keyframes nv-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes nv-panel-in { from { opacity: 0; translate: 0 -14px; scale: .985; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes nv-panel-out { from { opacity: 1; } to { opacity: 0; translate: 0 -8px; } }
@media (min-width: 640px) {
  salla-modal.s-search-modal .s-modal-body.s-modal-entering { animation-name: nv-panel-in !important; }
  salla-modal.s-search-modal .s-modal-body.s-modal-leaving { animation-name: nv-panel-out !important; }
}
@media (prefers-reduced-motion: reduce) {
  salla-modal.s-search-modal .s-modal-body.s-modal-entering,
  salla-modal.s-search-modal .s-modal-body.s-modal-leaving,
  salla-modal.s-search-modal .s-modal-overlay.s-modal-entering { animation-name: nv-fade-in !important; animation-duration: .2s !important; }
  salla-modal.s-search-modal .s-modal-body.s-modal-leaving { animation: none !important; opacity: 0; }
  salla-modal.s-search-modal .s-search-spinner-loader { animation-duration: 2s; }
  salla-modal.s-search-modal *, .nv-search-quick * { transition: none !important; }
}

/* ---------- R2: بلا قفزات ----------
   بطاقة النتيجة تُدرج فارغة (قبل hydration) بارتفاع 9px ثم تكبر إلى 93px فتقفز القائمة وزر «عرض كل النتائج»؛
   نحجز ارتفاع البطاقة من لحظة إدراجها. */
salla-modal.s-search-modal .s-search-grid-item { min-height: 93px; box-sizing: border-box; }
salla-modal.s-search-modal .s-search-grid-item > salla-search-product-card:not(.hydrated) { display: block; min-height: 76px; }
/* الحقول على الجوال 16px دائمًا (iOS يكبّر الصفحة عند أي حقل أصغر) */
@media (max-width: 1024px) {
  salla-modal.s-search-modal .s-search-input { font-size: 16px !important; }
}
/* =========================================================
   NOVALIA — نافذة «تمت الإضافة للسلة» (v2)
   المكوّن: <salla-add-product-toast class="s-add-product-toast"> من ثيم رائد (add-product-toast.js)، DOM عادي.
   يظهر بعد كل إضافة للسلة (أقسامنا، بطاقات الثيم، صفحة المنتج) عبر حدث «Product Added».
   كل القواعد مشروطة بالصنف nv-cp الذي يضيفه cartpop.js: إن لم يعمل الملف يبقى شكل الثيم كما هو.
   الجوال: بطاقة عائمة أسفل الشاشة قرب الإبهام (لا تغطي الهيدر ولا عدّاد السلة)، تُسحب للأسفل لإغلاقها.
   الديسكتوب: بطاقة تنسدل تحت أيقونة السلة مباشرة.
   ========================================================= */
/* خارج تدفق الصفحة تمامًا ومن أول رسم (قبل cartpop.js): لا يدخل في حساب إزاحة التخطيط (CLS).
   - مخفي بـ visibility من البداية (لا انتقال عند إضافة nv-cp)،
   - موضعه ثابت (top/left لا يتغيران أبدًا)، والحركة والتموضع كلها بـ transform،
   - على الجوال مثبّت من حافته العليا عند أسفل الشاشة، فتغيّر ارتفاعه عند وصول بيانات المنتج لا يحرّك صندوقه. */
salla-add-product-toast.s-add-product-toast:not(.s-add-product-toast--visible) { visibility: hidden; pointer-events: none; }
salla-add-product-toast.s-add-product-toast { position: fixed !important; contain: layout style; }
salla-add-product-toast.s-add-product-toast.nv-cp {
  position: fixed; z-index: 9999; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 14px; overflow: hidden;
  padding: 18px 16px 16px; border-radius: 22px;
  background: var(--nv-paper, #FFFBF6); color: var(--nv-ink, #171310);
  border: 1px solid var(--nv-line, rgba(172, 121, 27, .24));
  box-shadow: 0 30px 60px -26px rgba(82, 44, 0, .5), 0 2px 10px -4px rgba(82, 44, 0, .16);
  font-family: var(--nv-font); text-align: start;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, transform .3s var(--nv-ease), visibility 0s linear .3s;
}
salla-add-product-toast.s-add-product-toast.nv-cp.s-add-product-toast--visible {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .35s var(--nv-ease), transform .6s var(--nv-ease), visibility 0s;
}

/* شريط الوقت: خيط ذهبي رفيع على الحافة العليا بدل الشريط الأخضر */
.nv-cp .s-add-product-toast__progress {
  position: absolute; top: 0; left: 0; right: 0; height: 2px; width: auto; margin: 0;
  background: transparent !important; pointer-events: none;
}
.nv-cp .s-add-product-toast__progress-bar { height: 100%; background: var(--nv-gold, #AC791B) !important; opacity: .75; border-radius: 0 2px 2px 0; }

/* العنوان */
.nv-cp .s-add-product-toast__header { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 32px; }
.nv-cp .s-add-product-toast__header-content { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nv-cp .s-add-product-toast__icon { display: none !important; }
.nv-cp .s-add-product-toast__header-content::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--nv-gold, #AC791B) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF7EF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.6 3.4 7.4-7.6'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.nv-cp .s-add-product-toast__title {
  font: 500 14.5px/1.4 var(--nv-display) !important; color: var(--nv-ink, #171310) !important; letter-spacing: 0;
}
.nv-cp .s-add-product-toast__close {
  flex: none; width: 44px; height: 44px; margin: -8px -8px -8px -10px; padding: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer;
  color: var(--nv-muted, #6B5444); transition: background .3s var(--nv-ease), color .3s var(--nv-ease);
}
.nv-cp .s-add-product-toast__close i { display: none !important; }
.nv-cp .s-add-product-toast__close::before {
  content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nv-cp .s-add-product-toast__close:hover { background: var(--nv-cream, #FEE6CE); color: var(--nv-ink, #171310); }
.nv-cp .s-add-product-toast__divider { display: none; }

/* المنتج */
.nv-cp .s-add-product-toast__body { display: flex; align-items: center; gap: 12px; }
.nv-cp .s-add-product-toast__image {
  flex: none; width: 64px !important; height: 64px !important; border-radius: 14px !important; overflow: hidden;
  border: 0 !important; background: var(--nv-cream, #FEE6CE) !important;
}
.nv-cp .s-add-product-toast__image img { width: 100%; height: 100%; object-fit: cover !important; }
.nv-cp .s-add-product-toast__details { flex: 1 1 auto; min-width: 0; gap: 2px; }
.nv-cp .s-add-product-toast__name {
  font: 400 14.5px/1.55 var(--nv-font) !important; color: var(--nv-ink, #171310) !important; text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  padding-block: 11px; margin-block: -11px; /* مساحة لمس 44px دون تغيير التخطيط */
}
.nv-cp .s-add-product-toast__name:hover { color: var(--nv-brown, #522C00) !important; }
.nv-cp .s-add-product-toast__options span,
.nv-cp .s-add-product-toast__show-more { font: 400 13px/1.6 var(--nv-font) !important; color: var(--nv-muted, #6B5444) !important; }
.nv-cp .s-add-product-toast__show-more { color: var(--nv-gold-text, #7A520F) !important; }
.nv-cp .s-add-product-toast__price {
  flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 0;
  font: 500 15px/1.4 var(--nv-font) !important; color: var(--nv-ink, #171310) !important; white-space: nowrap;
}
.nv-cp .s-add-product-toast__price-sale { color: var(--nv-brown, #522C00) !important; }
.nv-cp .s-add-product-toast__price-original { font: 400 13px/1.4 var(--nv-font) !important; color: var(--nv-muted, #6B5444) !important; text-decoration: line-through; }
/* رمز الريال: «ر.س» كما في أقسام الصفحة */
.nv-cp .s-add-product-toast__price i.sicon-sar { font-style: normal; margin-inline-start: 3px; }
.nv-cp .s-add-product-toast__price i.sicon-sar::before {
  content: "ر.س" !important; font-family: var(--nv-font) !important; font-weight: 400; font-size: 13px; color: var(--nv-muted, #6B5444);
}

/* الأزرار: إتمام الطلب (أساسي) + عرض السلة (ثانوي)، كبسولات 46px */
.nv-cp .s-add-product-toast__actions { display: flex; gap: 10px; }
.nv-cp .s-add-product-toast__actions salla-button { flex: 1 1 0; min-width: 0; display: block; }
.nv-cp .s-add-product-toast__actions salla-button > a { display: block; width: 100%; text-decoration: none; }
.nv-cp .s-add-product-toast__actions .s-button-btn {
  width: 100%; height: 46px !important; min-height: 46px; padding: 0 14px !important; border-radius: 999px !important;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 14.5px/1 var(--nv-font) !important; box-shadow: none !important;
  transition: background .3s var(--nv-ease), border-color .3s var(--nv-ease), transform .3s var(--nv-ease);
}
.nv-cp .s-add-product-toast__actions .s-button-btn:active { transform: scale(.97); }
.nv-cp .s-add-product-toast__actions .s-button-text { display: inline-flex; align-items: center; gap: 8px; overflow: visible; }
.nv-cp .s-add-product-toast__actions .s-button-text svg { width: 18px; height: 18px; flex: none; }
.nv-cp .s-add-product-toast__actions .s-button-primary,
.nv-cp .s-add-product-toast__actions .s-button-solid {
  background: var(--nv-brown, #522C00) !important; color: var(--nv-ivory, #FFF7EF) !important; border: 1px solid var(--nv-brown, #522C00) !important;
}
.nv-cp .s-add-product-toast__actions .s-button-primary:hover { background: #3E2100 !important; }
.nv-cp .s-add-product-toast__actions .s-button-outline,
.nv-cp .s-add-product-toast__actions .s-button-gray-outline {
  background: transparent !important; color: var(--nv-ink, #171310) !important; border: 1px solid var(--nv-line, rgba(172, 121, 27, .24)) !important;
}
.nv-cp .s-add-product-toast__actions .s-button-gray-outline:hover { background: var(--nv-cream, #FEE6CE) !important; border-color: var(--nv-gold, #AC791B) !important; }
.nv-cp .s-add-product-toast__actions .s-button-btn:focus-visible,
.nv-cp .s-add-product-toast__actions a:focus-visible,
.nv-cp .s-add-product-toast__close:focus-visible,
.nv-cp a:focus-visible { outline: 2px solid var(--nv-gold, #AC791B) !important; outline-offset: 2px; }

/* ---------- الجوال: بطاقة عائمة أسفل الشاشة ---------- */
@media (max-width: 767px) {
  salla-add-product-toast.s-add-product-toast.nv-cp {
    top: 100%; left: 10px; right: 10px; bottom: auto; width: auto;
    transform: translateY(28px); touch-action: none;
  }
  salla-add-product-toast.s-add-product-toast.nv-cp.s-add-product-toast--visible { transform: translateY(calc(-100% - 10px - env(safe-area-inset-bottom, 0px) + var(--nv-cp-drag, 0px))); }
  salla-add-product-toast.s-add-product-toast.nv-cp.nv-cp--drag { transition: none !important; }
  /* مقبض صغير يدلّ على السحب */
  salla-add-product-toast.s-add-product-toast.nv-cp::before {
    content: ""; position: absolute; top: 7px; left: 50%; width: 34px; height: 4px; margin-left: -17px; border-radius: 4px;
    background: rgba(172, 121, 27, .22);
  }
}
@media (max-width: 359px) {
  salla-add-product-toast.s-add-product-toast.nv-cp { padding: 18px 12px 12px; gap: 12px; }
  .nv-cp .s-add-product-toast__image { width: 56px !important; height: 56px !important; }
  .nv-cp .s-add-product-toast__actions { gap: 8px; }
  .nv-cp .s-add-product-toast__actions .s-button-btn { padding: 0 10px !important; font-size: 14px !important; gap: 6px; }
  .nv-cp .s-add-product-toast__actions .s-button-text svg { display: none; }
}

/* ---------- الديسكتوب: تحت أيقونة السلة ---------- */
@media (min-width: 768px) {
  salla-add-product-toast.s-add-product-toast.nv-cp {
    top: 0; left: 0; right: auto; bottom: auto; width: 384px;
    transform: translate(var(--nv-cp-left, 16px), calc(var(--nv-cp-top, 16px) - 10px)) scale(.98); transform-origin: 30px 0;
  }
  salla-add-product-toast.s-add-product-toast.nv-cp.s-add-product-toast--visible { transform: translate(var(--nv-cp-left, 16px), var(--nv-cp-top, 16px)); }
}

@media (prefers-reduced-motion: reduce) {
  salla-add-product-toast.s-add-product-toast.nv-cp,
  salla-add-product-toast.s-add-product-toast.nv-cp.s-add-product-toast--visible { transition: opacity .2s linear, visibility 0s linear .2s; }
  salla-add-product-toast.s-add-product-toast.nv-cp.s-add-product-toast--visible { transition: opacity .2s linear, visibility 0s; }
  .nv-cp .s-add-product-toast__progress-bar { transition: none !important; }
  .nv-cp * { transition: none !important; }
}
/* =========================================================
   NOVALIA — الشريط العلوي (تصور v3) · يُحمَّل بعد header.css
   شريط فاتح بلون الشمبانيا بدل الأسود، أيقونة خطية لكل رسالة،
   وعلى الجوال تتناوب الرسائل وخط ذهبي رفيع يتمدد من المنتصف.
   الجذر .nv-bar (من header.js) + الصنف .nv-tb (من topbar.js).
   ========================================================= */
html:root {
  --nv-bar-h: 44px;
  --nv-tb-bg: linear-gradient(90deg, #F7DDC6 0%, #FCE9D7 50%, #F7DDC6 100%);
  --nv-tb-i-return: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.5a7.6 7.6 0 0113.6-3.8l1.4 1.8'/%3E%3Cpath d='M19.8 4.6v4.1h-4.1'/%3E%3Cpath d='M19.5 13.5a7.6 7.6 0 01-13.6 3.8l-1.4-1.8'/%3E%3Cpath d='M4.2 19.4v-4.1h4.1'/%3E%3C/svg%3E");
  --nv-tb-i-split: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.2 13.2A8.2 8.2 0 1110.8 3.8'/%3E%3Cpath d='M13.6 2.9a7.6 7.6 0 017.5 7.5h-7.5z' fill='%23000'/%3E%3C/svg%3E");
  --nv-tb-i-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.2' y='5.6' width='17.6' height='12.8' rx='2.2'/%3E%3Cpath d='M3.2 9.6h17.6'/%3E%3Cpath d='M6.8 14.6h3.4'/%3E%3C/svg%3E");
  --nv-tb-i-dot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7l5 5-5 5-5-5z'/%3E%3C/svg%3E");
  --nv-tb-i-wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.4 19.6l1.1-3.9A8.2 8.2 0 1112 20.2a8.1 8.1 0 01-3.8-.9z'/%3E%3Cpath d='M9.2 8.4c-.4.9-.2 2.6 1.4 4.2s3.3 1.9 4.2 1.5l.7-1.3-1.7-.9-.8.7c-.8-.3-1.7-1.2-2-2l.7-.8-.9-1.7z' fill='%23000' stroke='none'/%3E%3C/svg%3E");
  --nv-tb-orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 86 9'%3E%3Cpath d='M0 4.5h32M54 4.5h32' stroke='%23AC791B' stroke-opacity='.45' stroke-width='1'/%3E%3Cpath d='M43 .5l4 4-4 4-4-4z' fill='%23AC791B' fill-opacity='.8'/%3E%3C/svg%3E");
  --nv-tb-i-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
}
@media (max-width: 1024px) { html:root { --nv-bar-h: 44px; } }
/* حجز ارتفاع الشريط من أول رسم (CLS = 0): الشريط نفسه يُدرج لاحقًا من header.js (السكربت defer)،
   فيظهر أولًا شريط فارغ بنفس اللون والارتفاع، ثم يحلّ الشريط الحقيقي مكانه (header.nv-bar-in) بلا أي إزاحة. */
body.theme-raed header.store-header::before {
  content: ""; display: block; height: var(--nv-bar-h); background: var(--nv-tb-bg); box-shadow: inset 0 -1px rgba(172, 121, 27, .2);
}
body.theme-raed header.store-header.nv-bar-in::before { content: none; display: none; }
/* المعيّن الذهبي في منتصف الشريط المحجوز: يظهر لحظة التحميل، ويبقى وحده إن أخفت العميلة الرسائل في هذه الجلسة */
body.theme-raed header.store-header::before {
  background-image: var(--nv-tb-orn), var(--nv-tb-bg); background-repeat: no-repeat; background-position: center, 0 0; background-size: 86px 9px, auto;
}
html.nv-tb-quiet .nv-bar { display: none !important; }
/* بعد الإخفاء: لا شريط، وإزاحة الهيدر اللاصق تُحسب من الصفر */
html:root.nv-tb-off { --nv-bar-h: 0px; }
html.nv-tb-off .nv-bar { display: none !important; }

.nv-bar.nv-tb {
  position: relative; display: block; height: var(--nv-bar-h); overflow: hidden;
  background: var(--nv-tb-bg); color: var(--nv-ink); font: 400 13.5px/1 var(--nv-font);
  transition: opacity .35s var(--nv-ease), transform .45s var(--nv-ease);
}
/* خط سفلي ذهبي يتلاشى عند الطرفين: يفصل الشريط عن الهيدر العاجي بلا ثقل */
.nv-tb::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(172, 121, 27, .38) 22%, rgba(172, 121, 27, .38) 78%, transparent);
}
.nv-tb__in {
  position: relative; height: 100%; width: min(1320px, calc(100% - 40px)); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "start list end"; align-items: center;
}
.nv-tb__list { grid-area: list; display: flex; align-items: stretch; height: 100%; margin: 0; padding: 0; list-style: none; }
.nv-tb__item { display: flex; align-items: center; white-space: nowrap; }
.nv-tb__item > .nv-tb__msg { align-self: stretch; }
.nv-tb__item + .nv-tb__item::before {
  content: ""; width: 7px; height: 7px; margin-inline: 26px; flex: none; background: var(--nv-gold); opacity: .75;
  -webkit-mask: var(--nv-tb-i-dot) center / contain no-repeat; mask: var(--nv-tb-i-dot) center / contain no-repeat;
}
.nv-tb__msg {
  display: inline-flex; align-items: center; gap: 9px; min-height: 40px; color: inherit; text-decoration: none;
  border-radius: 999px; transition: color .35s var(--nv-ease);
}
.nv-tb__msg span { line-height: 1.4; }
a.nv-tb__msg span { background: linear-gradient(var(--nv-gold), var(--nv-gold)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--nv-ease); }
a.nv-tb__msg:hover { color: var(--nv-brown); }
a.nv-tb__msg:hover span { background-size: 100% 1px; }
.nv-tb__ic {
  flex: none; width: 17px; height: 17px; background: var(--nv-gold-text);
  -webkit-mask: var(--nv-tb-i-dot) center / contain no-repeat; mask: var(--nv-tb-i-dot) center / contain no-repeat;
}
.nv-tb__ic--return { -webkit-mask-image: var(--nv-tb-i-return); mask-image: var(--nv-tb-i-return); }
.nv-tb__ic--split { -webkit-mask-image: var(--nv-tb-i-split); mask-image: var(--nv-tb-i-split); }
.nv-tb__ic--card { -webkit-mask-image: var(--nv-tb-i-card); mask-image: var(--nv-tb-i-card); }
.nv-tb__ic--dot { width: 9px; height: 9px; }

/* واتساب في طرف الشريط (ديسكتوب فقط) */
.nv-tb__wa {
  grid-area: end; justify-self: end; display: inline-flex; align-items: center; gap: 8px; height: var(--nv-bar-h); padding-inline: 4px;
  color: var(--nv-muted); text-decoration: none; font: 500 13.5px/1 var(--nv-font); transition: color .35s var(--nv-ease);
}
.nv-tb__wa i { width: 17px; height: 17px; background: currentColor; -webkit-mask: var(--nv-tb-i-wa) center / contain no-repeat; mask: var(--nv-tb-i-wa) center / contain no-repeat; }
.nv-tb__wa bdi { unicode-bidi: isolate; direction: ltr; font-variant-numeric: tabular-nums; }
.nv-tb__wa:hover { color: var(--nv-brown); }
.nv-tb__x, .nv-tb__line { display: none; }

.nv-tb a:focus-visible, .nv-tb button:focus-visible { outline: 2px solid var(--nv-gold-text); outline-offset: -3px; border-radius: 10px; }

@media (min-width: 1025px) and (max-width: 1179px) {
  .nv-tb__item + .nv-tb__item::before { margin-inline: 16px; }
  .nv-tb__wa bdi { display: none; }
  .nv-tb__wa { width: 44px; justify-content: center; }
}

/* ---------- الجوال والتابلت: رسالة واحدة تتناوب + زر إخفاء ---------- */
@media (max-width: 1024px) {
  .nv-bar.nv-tb { font-size: 13px; }
  .nv-tb__in { width: 100%; display: block; }
  .nv-tb__list { position: absolute; inset: 0 44px; display: block; }
  .nv-tb__item { position: absolute; inset: 0; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(70%);
    transition: opacity .55s var(--nv-ease), transform .7s var(--nv-ease), visibility 0s .7s; }
  .nv-tb__item + .nv-tb__item::before { display: none; }
  .nv-tb__item.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--nv-ease) .12s, transform .7s var(--nv-ease) .08s, visibility 0s; }
  .nv-tb__item.is-out { opacity: 0; visibility: visible; transform: translateY(-70%); transition: opacity .4s var(--nv-ease), transform .6s var(--nv-ease), visibility 0s .6s; }
  .nv-tb__msg { gap: 8px; min-height: 44px; max-width: 100%; }
  .nv-tb__msg span { overflow: hidden; text-overflow: ellipsis; }
  .nv-tb__ic { width: 16px; height: 16px; }
  .nv-tb__wa { display: none; }
  .nv-tb::after { background: rgba(172, 121, 27, .2); }
  .nv-tb__x {
    display: inline-flex; position: absolute; top: 0; inset-inline-end: 0; width: 44px; height: var(--nv-bar-h);
    align-items: center; justify-content: center; padding: 0; margin: 0; border: 0; background: transparent; cursor: pointer; color: var(--nv-muted);
  }
  .nv-tb__x::before { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--nv-tb-i-x) center / contain no-repeat; mask: var(--nv-tb-i-x) center / contain no-repeat; }
  .nv-tb__x:active { color: var(--nv-ink); }
  /* الخط الذهبي: يتمدد من المنتصف طوال مدة الرسالة ثم يتلاشى مع تبدّلها */
  .nv-tb__line {
    display: block; position: absolute; bottom: 0; left: 18%; right: 18%; height: 1.5px; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--nv-gold) 30%, var(--nv-gold) 70%, transparent); transform: scaleX(0); opacity: 0;
  }
  .nv-tb.is-run .nv-tb__line { animation: nv-tb-line var(--nv-tb-dur, 4600ms) linear both; }
  .nv-tb.is-paused .nv-tb__line { animation-play-state: paused; }
  .nv-tb.is-gone { opacity: 0; transform: translateY(-100%); transition-duration: .2s, .22s; }
}
@keyframes nv-tb-line { 0% { transform: scaleX(0); opacity: 0; } 12% { opacity: .9; } 88% { opacity: .9; } 100% { transform: scaleX(1); opacity: 0; } }
@media (max-width: 359px) {
  .nv-bar.nv-tb { font-size: 13px; }
  .nv-tb__list { inset-inline: 40px; }
  .nv-tb__msg { gap: 6px; }
  .nv-tb__ic { width: 15px; height: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .nv-tb, .nv-tb * { transition: none !important; animation: none !important; }
  .nv-tb__line { display: none !important; }
}
/* =========================================================
   NOVALIA — قائمة الجوال الجانبية (تصور v1) · يُحمَّل بعد header.css
   لوحة عاجية تنزلق من اليمين: اختصارا الحساب والسلة، الأقسام الحقيقية
   بدوائر مصغّرة من قسم الأقسام، قوائم فرعية قابلة للطي، وبطاقة واتساب.
   ========================================================= */
html:root {
  --nv-dw-w: min(86vw, 392px);
  --nv-dw-i-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E");
  --nv-dw-i-go: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 6.5L9 12l5.5 5.5'/%3E%3C/svg%3E");
  --nv-dw-i-wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.4 19.6l1.1-3.9A8.2 8.2 0 1112 20.2a8.1 8.1 0 01-3.8-.9z'/%3E%3Cpath d='M9.2 8.4c-.4.9-.2 2.6 1.4 4.2s3.3 1.9 4.2 1.5l.7-1.3-1.7-.9-.8.7c-.8-.3-1.7-1.2-2-2l.7-.8-.9-1.7z' fill='%23000' stroke='none'/%3E%3C/svg%3E");
}
html.nv-dw-lock, html.nv-dw-lock body { overflow: hidden !important; }

.nv-dw { position: fixed; inset: 0; z-index: 1000; color: var(--nv-ink); font-family: var(--nv-font); -webkit-tap-highlight-color: transparent; }
.nv-dw[hidden] { display: none !important; }
.nv-dw *, .nv-dw *::before, .nv-dw *::after { box-sizing: border-box; }

/* الخلفية المعتمة */
.nv-dw__scrim {
  position: absolute; inset: 0; background: rgba(23, 19, 16, .42); opacity: 0;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); transition: opacity .45s var(--nv-ease);
}
.nv-dw.is-open .nv-dw__scrim { opacity: var(--nv-dw-drag, 1); }

/* اللوحة */
.nv-dw__panel {
  position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: var(--nv-dw-w); display: flex; flex-direction: column;
  background: var(--nv-ivory); border-start-end-radius: 26px; border-end-end-radius: 26px; overflow: hidden; outline: none;
  box-shadow: -34px 0 70px -34px rgba(23, 19, 16, .6); transform: translateX(104%); transition: transform .56s var(--nv-ease);
}
html[dir="ltr"] .nv-dw__panel { transform: translateX(-104%); box-shadow: 34px 0 70px -34px rgba(23, 19, 16, .6); }
.nv-dw.is-open .nv-dw__panel { transform: none; }

/* رأس اللوحة: الشعار + الإغلاق */
.nv-dw__head {
  flex: none; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 64px; padding-inline: 20px 14px; border-bottom: 1px solid var(--nv-line-soft);
}
.nv-dw__brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; color: var(--nv-ink); text-decoration: none; direction: ltr; }
.nv-dw__brand img {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover; padding: 2px; background: var(--nv-paper); border: 1px solid var(--nv-line);
}
.nv-dw__brand span { font: 500 17px/1 var(--nv-latin); letter-spacing: .3em; margin-inline-end: -.3em; }
.nv-dw__close {
  width: 44px; height: 44px; margin: 0; padding: 0; border-radius: 50%; border: 1px solid var(--nv-line); background: transparent; color: var(--nv-ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .3s var(--nv-ease), transform .3s var(--nv-ease);
}
.nv-dw__close::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--nv-dw-i-x) center / contain no-repeat; mask: var(--nv-dw-i-x) center / contain no-repeat; }
.nv-dw__close:active { transform: scale(.93); background: var(--nv-cream); }

.nv-dw__body {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 16px 0 calc(26px + env(safe-area-inset-bottom));
}
.nv-dw__body::-webkit-scrollbar { display: none; }

/* اختصارا الحساب والسلة */
.nv-dw__quick { display: flex; gap: 10px; padding-inline: 20px; }
.nv-dw__q {
  position: relative; flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; height: 46px; padding-inline: 10px;
  border-radius: 999px; background: var(--nv-paper); border: 1px solid var(--nv-line); color: var(--nv-ink); text-decoration: none;
  font: 500 14px/1.2 var(--nv-font); transition: background .3s var(--nv-ease), border-color .3s var(--nv-ease), transform .3s var(--nv-ease);
}
.nv-dw__q span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-dw__q:active { transform: scale(.97); background: var(--nv-cream); border-color: var(--nv-gold); }
.nv-dw__qi { flex: none; width: 20px; height: 20px; background: var(--nv-gold-text); -webkit-mask: var(--nv-i-user) center / contain no-repeat; mask: var(--nv-i-user) center / contain no-repeat; }
.nv-dw__qi--bag { -webkit-mask-image: var(--nv-i-bag); mask-image: var(--nv-i-bag); }
.nv-dw__count {
  flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--nv-brown); color: var(--nv-ivory); font: 500 13px/1 var(--nv-font); font-variant-numeric: tabular-nums;
}
.nv-dw__count[hidden] { display: none; }

/* سطر لاتيني صغير بنمط الهوية */
.nv-dw__eyebrow {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 22px 24px 6px;
  font: 500 11.5px/1 var(--nv-latin); letter-spacing: .36em; color: var(--nv-gold-text); direction: ltr;
}
.nv-dw__eyebrow::after { content: ""; width: 30px; height: 1px; background: var(--nv-gold); }

/* الأقسام */
.nv-dw__list { list-style: none; margin: 0; padding: 0 10px; }
.nv-dw__item { position: relative; margin: 0; }
.nv-dw__item + .nv-dw__item::before {
  content: ""; position: absolute; top: 0; inset-inline: 72px 14px; height: 1px; background: var(--nv-line-soft); pointer-events: none; transition: opacity .3s var(--nv-ease);
}
.nv-dw__row {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 58px; margin: 0; padding: 6px 14px;
  border: 0; border-radius: 18px; background: transparent; color: var(--nv-ink); font: inherit; text-align: start; text-decoration: none; cursor: pointer;
  transition: background .3s var(--nv-ease);
}
.nv-dw__row:active { background: var(--nv-cream); }
.nv-dw__row.is-here { background: rgba(254, 230, 206, .7); }
.nv-dw__row.is-here .nv-dw__name { color: var(--nv-brown); font-weight: 500; }

.nv-dw__th {
  flex: none; position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--nv-peach); box-shadow: 0 0 0 1px rgba(172, 121, 27, .22), 0 0 0 3px var(--nv-ivory), 0 0 0 4px rgba(172, 121, 27, .12);
  transition: transform .5s var(--nv-ease);
}
.nv-dw__item:nth-child(even) .nv-dw__th { background: #FBEBDD; }
.nv-dw__th img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(82, 44, 0, .2)); }
.nv-dw__th--fill { overflow: hidden; }
.nv-dw__th--fill img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.nv-dw__th--offer { background: linear-gradient(150deg, #F6E2B0, #E4BE74) !important; font: 500 22px/1 var(--nv-latin); color: var(--nv-brown); }
.nv-dw__th--mono { font: 400 17px/1 var(--nv-display); color: var(--nv-gold-text); }
.nv-dw__row:active .nv-dw__th { transform: scale(.94); }

.nv-dw__name { flex: 1; min-width: 0; font: 400 15px/1.45 var(--nv-display); color: var(--nv-ink); }
.nv-dw__item--offer .nv-dw__name { color: var(--nv-gold-text); font-weight: 500; }
.nv-dw__go, .nv-dw__chev {
  flex: none; width: 18px; height: 18px; background: var(--nv-gold); opacity: .85;
  -webkit-mask: var(--nv-dw-i-go) center / contain no-repeat; mask: var(--nv-dw-i-go) center / contain no-repeat;
}
html[dir="ltr"] .nv-dw__go { transform: scaleX(-1); }
.nv-dw__chev { -webkit-mask-image: var(--nv-i-chev); mask-image: var(--nv-i-chev); transition: transform .45s var(--nv-ease); }
.nv-dw__item.is-x .nv-dw__chev { transform: rotate(180deg); }
.nv-dw__item.is-x > .nv-dw__row { background: rgba(254, 230, 206, .55); }
.nv-dw__item.is-x::before, .nv-dw__item.is-x + .nv-dw__item::before, .nv-dw__item:has(> .nv-dw__row.is-here)::before, .nv-dw__item:has(> .nv-dw__row.is-here) + .nv-dw__item::before { opacity: 0; }

/* القائمة الفرعية: تُطوى وتُفتح في مكانها */
.nv-dw__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--nv-ease); }
.nv-dw__sub.is-open { grid-template-rows: 1fr; }
.nv-dw__sub > ul { min-height: 0; overflow: hidden; list-style: none; margin: 0; padding: 0; padding-inline: 66px 8px; visibility: hidden; transition: visibility 0s .32s; }
.nv-dw__sub.is-open > ul { visibility: visible; transition: none; }
.nv-dw__sub li { margin: 0; opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--nv-ease), transform .4s var(--nv-ease); }
.nv-dw__sub li:last-child { padding-bottom: 8px; }
.nv-dw__sub.is-open li { opacity: 1; transform: none; transition-delay: .1s; }
.nv-dw__sub.is-open li + li { transition-delay: .16s; }
.nv-dw__sub a {
  display: flex; align-items: center; gap: 11px; min-height: 46px; padding-inline: 12px; border-radius: 14px;
  color: var(--nv-ink); font: 400 14px/1.5 var(--nv-font); text-decoration: none; transition: background .3s var(--nv-ease);
}
.nv-dw__sub a::before { content: ""; flex: none; width: 12px; height: 1px; background: var(--nv-gold); }
.nv-dw__sub a:active, .nv-dw__sub a.is-here { background: var(--nv-cream); }
.nv-dw__sub a.nv-dw__all { color: var(--nv-gold-text); font-weight: 500; }

/* بطاقة واتساب */
.nv-dw__wa {
  position: relative; display: flex; align-items: center; gap: 14px; margin: 18px 20px 0; padding: 11px 16px; min-height: 64px; border-radius: 20px;
  background: linear-gradient(135deg, #FDEBD9, #FBE3CD); border: 1px solid var(--nv-line-soft); color: var(--nv-ink); text-decoration: none;
  transition: transform .3s var(--nv-ease), border-color .3s var(--nv-ease);
}
.nv-dw__wa i { flex: none; position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--nv-paper); border: 1px solid var(--nv-line); }
.nv-dw__wa i::before { content: ""; position: absolute; inset: 10px; background: var(--nv-gold-text); -webkit-mask: var(--nv-dw-i-wa) center / contain no-repeat; mask: var(--nv-dw-i-wa) center / contain no-repeat; }
.nv-dw__wa span { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.nv-dw__wa b { font: 500 14.5px/1.4 var(--nv-font); }
.nv-dw__wa bdi { font: 400 13px/1.3 var(--nv-font); color: var(--nv-muted); direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.nv-dw__wa::after { content: ""; flex: none; width: 18px; height: 18px; background: var(--nv-gold); opacity: .85; -webkit-mask: var(--nv-dw-i-go) center / contain no-repeat; mask: var(--nv-dw-i-go) center / contain no-repeat; }
.nv-dw__wa:active { transform: scale(.98); border-color: var(--nv-gold); }

/* دخول متدرّج للعناصر بعد انزلاق اللوحة */
.nv-dw__quick, .nv-dw__eyebrow, .nv-dw__item, .nv-dw__wa {
  opacity: 0; transform: translateX(16px); transition: opacity .5s var(--nv-ease), transform .65s var(--nv-ease);
}
html[dir="ltr"] .nv-dw__quick, html[dir="ltr"] .nv-dw__eyebrow, html[dir="ltr"] .nv-dw__item, html[dir="ltr"] .nv-dw__wa { transform: translateX(-16px); }
.nv-dw.is-open .nv-dw__quick, .nv-dw.is-open .nv-dw__eyebrow, .nv-dw.is-open .nv-dw__item, .nv-dw.is-open .nv-dw__wa { opacity: 1; transform: none; }
.nv-dw.is-open .nv-dw__quick { transition-delay: .12s; }
.nv-dw.is-open .nv-dw__eyebrow { transition-delay: .16s; }
.nv-dw.is-open .nv-dw__item, .nv-dw.is-open .nv-dw__wa { transition-delay: calc(.19s + var(--i, 0) * 32ms); }

/* التركيز المرئي */
.nv-dw a:focus-visible, .nv-dw button:focus-visible { outline: 2px solid var(--nv-gold-text); outline-offset: 2px; }
.nv-dw .nv-dw__row:focus-visible, .nv-dw__sub a:focus-visible { outline-offset: -2px; }
.nv-dw__panel:focus-visible { outline: none; }

.nv-dw__sr, .nv-dw__all small { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 359px) {
  html:root { --nv-dw-w: min(88vw, 392px); }
  .nv-dw__head { height: 60px; padding-inline: 16px 12px; }
  .nv-dw__brand span { font-size: 16px; letter-spacing: .24em; margin-inline-end: -.24em; }
  .nv-dw__quick { padding-inline: 16px; gap: 8px; }
  .nv-dw__q { gap: 6px; font-size: 13.5px; padding-inline: 8px; }
  .nv-dw__row { min-height: 56px; gap: 12px; padding-inline: 10px; }
  .nv-dw__th { width: 42px; height: 42px; }
  .nv-dw__th img { width: 40px; height: 40px; }
  .nv-dw__item + .nv-dw__item::before { inset-inline-start: 64px; }
  .nv-dw__sub > ul { padding-inline-start: 58px; }
  .nv-dw__eyebrow { margin-top: 20px; }
  .nv-dw__wa { margin-inline: 16px; }
}
@media (min-width: 1025px) { .nv-dw { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .nv-dw *, .nv-dw *::before, .nv-dw *::after { transition: none !important; animation: none !important; }
}
/* =========================================================
   NOVALIA — نافذة تسجيل الدخول (تصور v1) · يُحمَّل بعد header.css
   نموذج الدخول نفسه (البريد/الجوال، رمز التحقق، أزرار Google/Apple/Facebook)
   يأتي من إطار iframe على accounts.salla.com — نطاق آخر لا يصل إليه CSS المتجر.
   ما نملكه: الغلاف فقط (الخلفية المعتمة، الورقة، رأس الهوية، زر الإغلاق، سطر التذييل).
   لا نضيف عناصر داخل مكوّن سلة: كل الزخرفة بعناصر ::before/::after.
   ========================================================= */
html:root {
  --nv-lg-i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A520F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10.5' width='14' height='9.5' rx='2.2'/%3E%3Cpath d='M8.2 10.5V8a3.8 3.8 0 017.6 0v2.5'/%3E%3C/svg%3E");
  --nv-lg-i-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E");
}

/* الخلفية: حبر دافئ مع تمويه بدل الرمادي المزرق */
salla-modal.s-login-modal .s-modal-overlay {
  background: rgba(23, 19, 16, .46) !important; opacity: 1;
  -webkit-backdrop-filter: blur(4px) saturate(1.1); backdrop-filter: blur(4px) saturate(1.1);
}

/* الورقة: تبقى بيضاء لأن داخل الإطار عناصر بخلفية بيضاء ثابتة (عنوان الفاصل والحقول) */
salla-modal.s-login-modal .s-modal-body {
  position: relative; overflow: hidden; background: #fff !important;
  border-radius: 26px !important; padding: 76px 26px 60px !important;
  box-shadow: 0 0 0 1px rgba(172, 121, 27, .2), 0 44px 90px -40px rgba(23, 19, 16, .6) !important;
  animation: nv-lg-in .6s var(--nv-ease) both;
}
@media (min-width: 640px) {
  salla-modal.s-login-modal .s-modal-body { width: 420px !important; max-width: calc(100vw - 32px) !important; }
}

/* رأس الهوية: شريط شمبانيا يذوب في الأبيض + الاسم اللاتيني + خط ذهبي */
salla-modal.s-login-modal .s-modal-header {
  position: absolute !important; top: 0; inset-inline: 0; height: 64px !important; padding: 0 !important; margin: 0 !important; z-index: 2;
  display: flex !important; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #FCE7D3 0%, rgba(252, 231, 211, .45) 62%, rgba(255, 255, 255, 0) 100%);
}
salla-modal.s-login-modal .s-modal-header::before {
  content: "NOVALIA"; direction: ltr; font: 500 19px/1 var(--nv-latin, serif); letter-spacing: .42em; padding-left: .42em; color: var(--nv-ink, #171310);
}
salla-modal.s-login-modal .s-modal-header::after {
  content: ""; position: absolute; bottom: 0; left: 26px; right: 26px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(172, 121, 27, .42) 30%, rgba(172, 121, 27, .42) 70%, transparent);
}

/* زر الإغلاق: دائرة 44px بلون الحبر بدل الـ X الأحمر */
salla-modal.s-login-modal .s-modal-close {
  position: absolute !important; top: 10px !important; left: auto !important; right: auto !important; inset-inline-end: 12px !important;
  width: 44px !important; height: 44px !important; padding: 0 !important; margin: 0 !important; border-radius: 50% !important;
  background: rgba(255, 251, 246, .7) !important; border: 1px solid var(--nv-line, rgba(172, 121, 27, .24)) !important; color: var(--nv-ink, #171310) !important;
  display: inline-flex !important; align-items: center; justify-content: center; cursor: pointer;
  transition: background .3s var(--nv-ease), border-color .3s var(--nv-ease), transform .3s var(--nv-ease);
}
salla-modal.s-login-modal .s-modal-close > * { display: none !important; }
salla-modal.s-login-modal .s-modal-close::before {
  content: ""; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--nv-lg-i-x) center / contain no-repeat; mask: var(--nv-lg-i-x) center / contain no-repeat;
}
salla-modal.s-login-modal .s-modal-close:hover { background: var(--nv-cream, #FEE6CE) !important; border-color: var(--nv-gold, #AC791B) !important; }
salla-modal.s-login-modal .s-modal-close:active { transform: scale(.93); }
salla-modal.s-login-modal .s-modal-close:focus-visible { outline: 2px solid var(--nv-gold-text, #7A520F); outline-offset: 2px; }

/* الإطار: ينتقل ارتفاعه بنعومة (سلة تغيّره عند الانتقال لخطوة الرمز) */
salla-modal.s-login-modal iframe { display: block; position: relative; z-index: 1; }

/* تذييل صغير: من يتولى الدخول */
salla-modal.s-login-modal .s-modal-body::after {
  content: "دخول آمن عبر منصة سلة"; position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding-inline-start: 22px; font: 400 13px/22px var(--nv-font, sans-serif); color: var(--nv-muted, #6B5444);
  background: var(--nv-lg-i-lock) right center / 16px 16px no-repeat; pointer-events: none;
}
html[dir="ltr"] salla-modal.s-login-modal .s-modal-body::after { background-position: left center; }

/* الجوال: ورقة سفلية بحواف علوية مستديرة */
@media (max-width: 639px) {
  salla-modal.s-login-modal .s-modal-body {
    border-radius: 26px 26px 0 0 !important; padding: 72px 18px calc(56px + env(safe-area-inset-bottom)) !important;
    animation-name: nv-lg-up;
  }
  salla-modal.s-login-modal .s-modal-header { height: 60px !important; }
  salla-modal.s-login-modal .s-modal-header::before { font-size: 17px; letter-spacing: .38em; padding-left: .38em; }
  salla-modal.s-login-modal .s-modal-close { top: 8px !important; inset-inline-end: 10px !important; }
  salla-modal.s-login-modal .s-modal-body::after { bottom: calc(16px + env(safe-area-inset-bottom)); }
}
@keyframes nv-lg-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes nv-lg-up { from { transform: translateY(40px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  salla-modal.s-login-modal .s-modal-body { animation: none !important; }
  salla-modal.s-login-modal .s-modal-close { transition: none !important; }
}
/* =========================================================
   NOVALIA — صفحة المنتج (pdp) · تصور v1 · ثيم رائد
   - كل قاعدة هنا مشروطة بـ body.product-single (أو بأصناف nv-pdp/nv-sb التي لا تُنشأ إلا في صفحة المنتج)،
     فالرئيسية وبقية الصفحات لا تتأثر.
   - الملف في <head>: يرتب الصفحة ويخفي الفوضى ويحجز الأماكن من أول رسم. pdp.js (بعد ~2ث) يملأ الأماكن المحجوزة
     بنفس المقاسات، فلا تقفز الصفحة.
   - الترتيب بـ flex/order لا بنقل عقد الثيم. الألوان عبر متغيرات سلة نفسها.
   - --nv-g-ratio: نسبة إطار المعرض (العرض ÷ الارتفاع). 1 الآن (صور 1:1)؛ تُغيَّر إلى 0.8 (أي 4:5) عند وصول صور المعيار الجديد.
     متغير واحد يقود الجوال والديسكتوب والمكان المحجوز قبل تشغيل Swiper.
   ========================================================= */
body.product-single {
  /* ── السلّم الطباعي الموحّد (r2) — مصدر واحد لكل أحجام صفحة المنتج، ويقرؤه pdp-xsell.css أيضًا ──
     الجوال: الاسم 22 · عناوين الأقسام 19 (داخل العمود 18) · عناوين الصفوف 15 · النص 14 · المساعد 13–13.5 · السعر 22 · اسم البطاقة 14
     الديسكتوب: الاسم 30–34 · الأقسام 24 (داخل العمود 22) · الصفوف 15.5 · النص 15 · المساعد 13.5 · السعر 24 · اسم البطاقة 16
     لا نص تحت 13px · لا letter-spacing على العربية · وزن العناوين ≤ 500 */
  --nvp-h1: 22px; --nvp-h1-lh: 36px; --nvp-h1-w: 500;
  --nvp-sec: 19px; --nvp-sec-in: 18px; --nvp-sub: 15px;
  --nvp-body: 14px; --nvp-help: 13.5px; --nvp-price: 22px;
  --nvp-card: 14px; --nvp-card-price: 16px;
  --nv-g-ratio: 1; /* 0.8 = 4:5 */
  --nv-pdp-gut: 16px;
  --nv-pdp-sb-h: 65px; /* r4: ارتفاع الشريط الثابت الفعلي 65px (48 + 8 + 8 + حد 1px)؛ كان 64 فيغطي الشريط آخر بكسل من الفوتر */
  /* ألوان سلة على صفحة المنتج: بني الهوية بدل الأخضر المزرق #0a2c30 */
  --color-primary: #522C00; --color-primary-dark: #3A2008; --color-primary-light: #E7C7AE; --color-primary-reverse: #FFF7EF;
  --nv-pdp-i-return: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.5a7.6 7.6 0 0113.6-3.8l1.4 1.8'/%3E%3Cpath d='M19.8 4.6v4.1h-4.1'/%3E%3Cpath d='M19.5 13.5a7.6 7.6 0 01-13.6 3.8l-1.4-1.8'/%3E%3Cpath d='M4.2 19.4v-4.1h4.1'/%3E%3C/svg%3E");
  --nv-pdp-i-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.2' y='5.6' width='17.6' height='12.8' rx='2.2'/%3E%3Cpath d='M3.2 9.6h17.6'/%3E%3Cpath d='M6.8 14.6h3.4'/%3E%3C/svg%3E");
  --nv-pdp-i-split: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.2 13.2A8.2 8.2 0 1110.8 3.8'/%3E%3Cpath d='M13.6 2.9a7.6 7.6 0 017.5 7.5h-7.5z' fill='%23000'/%3E%3C/svg%3E");
  --nv-pdp-i-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
  --nv-pdp-i-wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.4 19.6l1.1-3.9A8.2 8.2 0 1112 20.2a8.1 8.1 0 01-3.8-.9z'/%3E%3Cpath d='M9.2 8.4c-.4.9-.2 2.6 1.4 4.2s3.3 1.9 4.2 1.5l.7-1.3-1.7-.9-.8.7c-.8-.3-1.7-1.2-2-2l.7-.8-.9-1.7z' fill='%23000' stroke='none'/%3E%3C/svg%3E");
  --nv-pdp-i-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 8.6h13.6l-.9 11.6H6.1L5.2 8.6z'/%3E%3Cpath d='M9 8.6V7.2a3 3 0 016 0v1.4'/%3E%3Cpath d='M12 11.8v5M9.5 14.3h5'/%3E%3C/svg%3E");
  --nv-pdp-i-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19.6s-7.4-4.4-7.4-9.7A4.1 4.1 0 0112 7.6a4.1 4.1 0 017.4 2.3c0 5.3-7.4 9.7-7.4 9.7z'/%3E%3C/svg%3E");
}

/* ---------- 0) قفزات الرأس: مكان الشريط العلوي محجوز قبل أن يُحقن (+44px كانت تدفع الصفحة) ---------- */
html:not(.nv-tb-off) body.product-single header.store-header:not(:has(> .nv-bar))::before {
  content: ""; display: block; height: var(--nv-bar-h, 44px); background: var(--nv-tb-bg, #F9E4D1);
}

/* ---------- 1) مسار التنقل ---------- */
body.product-single .container--breadcrumbs { min-height: 52px; }
body.product-single .container--breadcrumbs .breadcrumbs { padding: 16px 0 12px; }
body.product-single salla-breadcrumb { display: block; min-height: 24px; }
body.product-single .s-breadcrumb-wrapper { flex-wrap: nowrap; overflow: visible; overflow-x: clip; align-items: center; white-space: nowrap; font: 400 13.5px/24px var(--nv-font); color: var(--nv-muted); }
body.product-single .s-breadcrumb-item { white-space: nowrap; }
body.product-single .s-breadcrumb-item a { color: var(--nv-muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; padding-inline: 9px; margin-inline: -9px; } /* هدف لمس 44px (تابلت) بلا تغيير في ارتفاع السطر */
body.product-single .s-breadcrumb-item a:hover { color: var(--nv-gold-text); }
body.product-single .s-breadcrumb-item:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--nv-ink); }
body.product-single .s-breadcrumb-arrow svg { width: 12px; height: 12px; opacity: .5; }

/* ---------- 2) التخطيط ---------- */
body.product-single .container--product-details { padding-top: 0; }
body.product-single .container--product-details > [id^="product-"] { align-items: flex-start; }
body.product-single .container--product-details .main-content {
  display: flex; flex-direction: column; min-width: 0; overflow: visible !important; color: var(--nv-ink); font-family: var(--nv-font);
}
body.product-single .main-content > * { order: 30; }
body.product-single .main-content > salla-hook { order: 0; }
body.product-single .main-content > .nv-eb { order: 1; }
body.product-single .main-content > h1 { order: 2; }
body.product-single .main-content > .nv-hk { order: 3; }
body.product-single .main-content > [data-testid="store-product-price"] { order: 4; }
body.product-single .main-content > salla-cashback-banner { order: 5; }
body.product-single .main-content > form.product-form { order: 6; }
body.product-single .main-content > .nv-oos { order: 7; }
body.product-single .main-content > .nv-trust { order: 8; }
body.product-single .main-content > div:has(> div > .sicon-fire) { order: 9; }
body.product-single .main-content > .nv-notes { order: 10; }
body.product-single .main-content > .nv-acc { order: 11; }
body.product-single .main-content > salla-bought-together { order: 12; }
body.product-single .main-content > salla-installment { order: 13; }
body.product-single .main-content > div.flex:has(> salla-social-share) { order: 14; }

/* ---------- 3) ما يُخفى من أول رسم (لا قفز) ---------- */
body.product-single .main-content > .product-brand,                         /* شعار الماركة 48×48 (أورا) */
body.product-single .main-content > h2.product-entry__sub-title,            /* يحل محله السطر التعريفي */
body.product-single .main-content > div.mb-3:has(> a[href*="/tag-"]),       /* سحابة الوسوم */
body.product-single .product-sku-wrapper,                                    /* رقم الموديل */
body.product-single form.product-form > section:has([data-testid="store-product-add-note"]),
body.product-single form.product-form > section:has([data-testid="store-product-attach-file"]),  /* المرفقات */
body.product-single form.product-form > section:has(.price-wrapper),        /* صف السعر المكرر (يبقى في DOM: الشريط الثابت يقرأ منه) */
body.product-single .details-slider .promotion-title,                       /* الشارة الحمراء فوق الصورة: انتقلت إلى السطر الصغير */
body.product-single salla-bought-together:not(:has(.s-bought-together-item)), /* «يُشترى معًا أحيانًا» فارغ (لم تُحدَّد له منتجات في لوحة سلة) */
body.product-single .s-block--bundle-similar-products,
body.product-single .s-block--bundle-customers-also-bought,
body.product-single .s-block--bundle-customers-also-viewed,
body.product-single .s-block--bundle-out-of-stock-alternative,              /* «وفّرنا لك البديل»: عروض اليوم الوطني المنتهية */
body.product-single .container:has(> salla-products-slider[source="related"]):not(:has(custom-salla-product-card)), /* «قد تعجبك» الفارغ */
body.product-single salla-comments:not(:has(salla-comment-item)) {          /* لا آراء ⇒ لا كتلة (لا نجوم فارغة ولا آراء مصطنعة) */
  display: none !important;
}
/* الوصف الأصلي: يُنقل بالجافاسكربت إلى أكورديون «الوصف» بعد تنظيفه. أمان: يعود وحده بعد 25 ث إن لم يصل pdp.js أصلًا،
   وفورًا إن وصل وفشل (body.nv-pdp-fail). كانت المهلة 9 ث في المنشور و12 ث بعده: على الشبكات البطيئة يصل ملف JS بعدها،
   فيظهر الوصف الخام ثم يختفي عند وصوله (r3c). ما يُحجب خلالها ليس من مسار الشراء: الاسم والسعر والأزرار ظاهرة من أول رسم. */
body.product-single:not(.nv-pdp) .main-content > .product__description {
  visibility: hidden; max-height: 0; overflow: hidden; margin: 0 !important; padding: 0 !important;
  animation: nv-pdp-back 0s linear 25s forwards;
}
@keyframes nv-pdp-back { to { visibility: visible; max-height: none; overflow: visible; } }
body.product-single.nv-pdp .main-content > .product__description { display: none; }
/* ما يأتي بعد النموذج ينتظر بناء الكتل (صف الثقة…) فوقه: مخفي حتى ذلك، والعنصر المخفي لا يُحسب في إزاحة التخطيط */
/* وكل ما تحت زر الشراء ينتظر أيضًا اكتمال زر سلة (يضيف «اشترِ الآن»/Apple Pay بارتفاع غير معروف مسبقًا)، ثم يظهر بتلاشٍ هادئ */
body.product-single:not(.nv-pdp) .main-content > div:has(> div > .sicon-fire),
body.product-single:not(.nv-pdp) .main-content > salla-installment,
body.product-single:not(.nv-pdp) .main-content > div.flex:has(> salla-social-share),
/* r6: مرساة :has على عمود المنتج (.main-content، وفيه زر سلة) لا على body — النتيجة والأولوية (0,5,4) نفسهما. كانت على body فكل مكوّن من سلة
   يكتمل في أي مكان من الصفحة (يأخذ الصنف hydrated) يعيد فحص الصفحة كلها: نحو ثانية من TBT تحت Slow 4G + CPU×4 (work-r6/pdp/NOTES.md) */
body.product-single .main-content:not(:has(salla-add-product-button[data-testid="store-product-add-to-cart"].hydrated)) > :is(.nv-oos, .nv-trust, .nv-notes, .nv-acc, salla-installment, div:has(> div > .sicon-fire), div.flex:has(> salla-social-share)) {
  visibility: hidden; opacity: 0; animation: nv-pdp-vis 0s linear 25s forwards;
}
body.product-single .main-content > :is(.nv-oos, .nv-trust, .nv-notes, .nv-acc) { transition: opacity .6s var(--nv-ease); }
/* الظهور من الأعلى إلى الأسفل: كل كتلة تتأخر قليلًا عن التي فوقها («أكملي هالتك» تتبعها في pdp-xsell.css) */
body.product-single .main-content > .nv-trust { transition-delay: .06s; }
body.product-single .main-content > .nv-notes { transition-delay: .14s; }
body.product-single .main-content > .nv-acc { transition-delay: .22s; }
@keyframes nv-pdp-vis { to { visibility: visible; opacity: 1; } }
/* ألوان المحرر المضمّنة (احتياط حتى قبل التنظيف) */
body.product-single .product__description [style] { color: inherit !important; background: none !important; }

/* ---------- 4) المعرض: إطار كريمي بنسبة ثابتة، محجوز قبل تشغيل Swiper ---------- */
body.product-single .container--product-details .sidebar { position: relative; top: auto; overflow: visible; }
body.product-single salla-slider.details-slider {
  display: block; position: relative; padding: 8px; border-radius: 24px;
  background: linear-gradient(180deg, #FFF9F2 0%, #FBEEE1 100%);
  border: 1px solid rgba(172, 121, 27, .16);
  box-shadow: 0 30px 50px -44px rgba(82, 44, 0, .45);
}
body.product-single .details-slider .s-slider-container {
  position: relative; width: 100%; aspect-ratio: var(--nv-g-ratio); height: auto !important;
  max-height: 50vh; max-height: 50svh; border-radius: 17px; overflow: hidden; background: #FBEFE3;
}
body.product-single .details-slider .s-slider-container > .swiper-wrapper { height: 100% !important; }
body.product-single .details-slider .s-slider-container .swiper-slide { height: 100% !important; display: flex !important; align-items: center; justify-content: center; }
body.product-single .details-slider .s-slider-container .swiper-slide img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
/* قبل التهيئة (HTML الخادم: [slot=items] و[slot=thumbs] قبل أن يبني المكوّن Swiper): نفس الإطار بالمقاس نفسه،
   والصورة الأولى فقط ظاهرة من أول رسم (كانت كل الصور فوق بعضها بطول 1860px ثم تنكمش: CLS 0.36، ولا شيء يظهر قبل ~3ث) */
body.product-single salla-slider.details-slider:not(.hydrated) { visibility: visible !important; }
body.product-single salla-slider.details-slider > [slot="items"] {
  display: block; position: relative; width: 100%; aspect-ratio: var(--nv-g-ratio); max-height: 50vh; max-height: 50svh; border-radius: 17px; overflow: hidden; background: #FBEFE3;
}
body.product-single salla-slider.details-slider > [slot="items"] > .swiper-slide { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
body.product-single salla-slider.details-slider > [slot="items"] > .swiper-slide:not(:first-child) { display: none !important; }
body.product-single salla-slider.details-slider > [slot="items"] img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
body.product-single salla-slider.details-slider > .promotion-title { display: none !important; }
body.product-single salla-slider.details-slider > [slot="thumbs"] { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
body.product-single salla-slider.details-slider > [slot="thumbs"] > * { width: 64px; height: 64px; flex: none; border-radius: 12px; overflow: hidden; border: 1px solid rgba(172, 121, 27, .18); opacity: .7; }
body.product-single salla-slider.details-slider > [slot="thumbs"] > :first-child { opacity: 1; border-color: var(--nv-gold); }
body.product-single salla-slider.details-slider > [slot="thumbs"] img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; background: #FBEFE3 !important; }
/* المفضلة على الصورة: دائرة ورقية 44px */
body.product-single .details-slider .btn--wishlist { position: absolute !important; z-index: 3; top: 12px !important; left: 12px !important; right: auto !important; bottom: auto !important; }
body.product-single .details-slider .btn--wishlist button {
  width: 44px !important; height: 44px !important; border-radius: 50% !important; border: 1px solid rgba(172, 121, 27, .2) !important;
  background: rgba(255, 251, 246, .88) !important; color: var(--nv-brown) !important; backdrop-filter: blur(6px);
}
/* الأسهم: تختفي مع صورة واحدة، وتصير دوائر هادئة */
body.product-single .details-slider .s-slider-block__title { position: static; height: 0; margin: 0; }
body.product-single .details-slider:not(:has(.swiper-wrapper > .swiper-slide:nth-child(2))) .s-slider-block__title-nav { display: none !important; }
body.product-single .details-slider .s-slider-nav-arrow {
  position: absolute; z-index: 4; top: calc(8px + min(50%, 25vh)); transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 251, 246, .9); border: 1px solid rgba(172, 121, 27, .22); color: var(--nv-brown);
}
body.product-single .details-slider .s-slider-prev { right: 20px; left: auto; }
body.product-single .details-slider .s-slider-next { left: 20px; right: auto; }
body.product-single .details-slider .s-slider-nav-arrow.swiper-button-disabled { opacity: 0; pointer-events: none; }
/* المصغّرات: مربعة (كانت مستطيلة تقص الصور المربعة) */
body.product-single .details-slider .s-slider-thumbs { margin-top: 8px; }
body.product-single .details-slider .s-slider-thumbs .swiper-wrapper { transform: none !important; justify-content: center; gap: 8px; direction: rtl; flex-direction: row; }
body.product-single .details-slider .s-slider-thumbs .swiper-slide {
  width: 64px !important; height: 64px !important; margin: 0 !important; flex: none; border-radius: 12px; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(172, 121, 27, .18); opacity: .7; transition: opacity .4s var(--nv-ease), border-color .4s var(--nv-ease);
}
body.product-single .details-slider .s-slider-thumbs .swiper-slide img { border-radius: 0 !important; background: #FBEFE3 !important; }
body.product-single .details-slider .s-slider-thumbs .swiper-slide-thumb-active { opacity: 1; border-color: var(--nv-gold); }
/* نقاط الجوال (يبنيها pdp.js فوق الصورة؛ لا تأخذ مكانًا) */
body.product-single .nv-g-dots { position: absolute; z-index: 3; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 7px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 251, 246, .72); backdrop-filter: blur(6px); pointer-events: none; }
body.product-single .nv-g-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(122, 82, 15, .3); transition: width .4s var(--nv-ease), background .4s var(--nv-ease); }
body.product-single .nv-g-dots i.is-on { width: 18px; border-radius: 3px; background: var(--nv-gold); }
@media (min-width: 768px) { body.product-single .nv-g-dots { display: none; } } /* الديسكتوب: المصغّرات */

/* ---------- 5) الملخص: السطر الصغير، الاسم بسطر واحد، السطر التعريفي ---------- */
body.product-single .main-content > h1 {
  margin: 0; font: var(--nvp-h1-w) var(--nvp-h1)/var(--nvp-h1-lh) var(--nv-display) !important; color: var(--nv-ink) !important; letter-spacing: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; height: var(--nvp-h1-lh); padding-bottom: 0; /* ارتفاع السطر ≈ 1.6: نقاط الياء الأخيرة في Alexandria لا تُقص */
}
/* المكان المحجوز للسطر الصغير والسطر التعريفي قبل pdp.js (نفس المقاسات بالضبط) */
body.product-single:not(.nv-pdp) .main-content > h1 { margin-top: 26px; margin-bottom: 23px; }
.nv-eb {
  display: flex; align-items: center; gap: 9px; height: 20px; margin: 0 0 6px; overflow: hidden; white-space: nowrap;
  font: 500 13px/20px var(--nv-font); color: var(--nv-gold-text);
}
.nv-eb__lat { font: 500 13px/20px var(--nv-latin); letter-spacing: .32em; color: var(--nv-gold-text); direction: ltr; }
.nv-eb__dot { width: 5px; height: 5px; flex: none; background: var(--nv-gold); transform: rotate(45deg); }
.nv-eb__txt { overflow: hidden; text-overflow: ellipsis; }
.nv-hk { height: 21px; margin: 2px 0 0; font: 400 13.5px/21px var(--nv-font); color: var(--nv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 6) السعر (كالرئيسية: رقم Alexandria + «ر.س» ذهبي صغير) ---------- */
body.product-single .main-content > [data-testid="store-product-price"] { margin-top: 12px; min-height: 32px; gap: 12px; align-items: center; }
body.product-single [data-testid="store-product-price"] p { margin: 0; font: 500 var(--nvp-price)/32px var(--nv-display) !important; color: var(--nv-ink) !important; }
body.product-single [data-testid="store-product-price"] p.text-red-800 { color: var(--nv-brown) !important; }
body.product-single [data-testid="store-product-price"] .line-through { font: 400 14px/1 var(--nv-font); color: var(--nv-muted) !important; }
body.product-single [data-testid="store-product-price"] i.sicon-sar { display: none; }
body.product-single [data-testid="store-product-price"] p::after,
body.product-single [data-testid="store-product-price"] .line-through::after { content: "ر.س"; margin-inline-start: 5px; font: 400 13px/1 var(--nv-font); color: var(--nv-gold-text); }
body.product-single [data-testid="store-product-price"] .line-through::after { color: inherit; }
.nv-chips { display: flex; gap: 6px; margin-inline-start: auto; min-width: 0; overflow: hidden; }
.nv-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; white-space: nowrap; font: 500 13px/1 var(--nv-font); color: var(--nv-gold-text); background: #FBEEDD; border: 1px solid rgba(172, 121, 27, .2); }
.nv-chip--out { color: var(--nv-muted); background: #F3E7DA; border-color: rgba(107, 84, 68, .18); }
/* فجوة (لوحات العرض فقط: NV_PDP_SHOW_GAPS) */
.nv-gap { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; white-space: nowrap; font: 500 13px/1 var(--nv-font); color: #7A4A00; background: #FFF4DE; border: 1px dashed #C98A12; }
.nv-gap::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #C98A12; flex: none; }

/* ---------- 7) الشراء ---------- */
body.product-single .main-content > form.product-form { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
body.product-single form.product-form > section { margin: 0 !important; padding: 0 !important; background: transparent !important; border-radius: 0 !important; }
body.product-single form.product-form section.sticky-product-bar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; position: static !important; box-shadow: none !important; border: 0 !important; }
body.product-single form.product-form section.sticky-product-bar:not(:has(.sticky-product-bar__quantity)) { grid-template-columns: minmax(0, 1fr); }
body.product-single .sticky-product-bar__quantity { margin: 0 !important; }
body.product-single .sticky-product-bar__quantity > label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.product-single salla-quantity-input[data-testid="store-product-quantity"] { display: block; width: 124px; height: 48px; }
body.product-single salla-quantity-input .s-quantity-input-container {
  display: flex; align-items: center; justify-content: space-between; height: 48px; width: 124px; border-radius: 999px; overflow: hidden;
  border: 1px solid rgba(82, 44, 0, .22) !important; background: var(--nv-paper);
}
body.product-single salla-quantity-input .s-quantity-input-button { width: 44px !important; height: 46px !important; color: var(--nv-brown) !important; background: transparent !important; border: 0 !important; }
body.product-single salla-quantity-input .s-quantity-input-input { width: 34px !important; height: 46px; border: 0 !important; background: transparent !important; text-align: center; font: 500 16px/1 var(--nv-display) !important; color: var(--nv-ink) !important; }
body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"] { display: block; min-height: 48px; margin: 0 !important; }
body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"] > div { display: flex; flex-direction: column; align-items: stretch; gap: 8px; width: 100%; }
body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"] salla-button { display: block !important; width: 100% !important; }
body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"] button.s-button-element { width: 100% !important; }
body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"] button.s-button-element {
  height: 48px !important; min-height: 48px; border-radius: 999px !important; font: 500 15px/1 var(--nv-display) !important; letter-spacing: 0;
  box-shadow: 0 18px 30px -22px rgba(82, 44, 0, .9);
}
body.product-single .s-button-primary { background: var(--nv-brown) !important; border-color: var(--nv-brown) !important; color: #FFF7EF !important; }
body.product-single .s-button-primary:hover { background: #3A2008 !important; }
/* النص بالمؤنث كما في الرئيسية («أضيفي»): النص الأصلي يبقى لقارئ الشاشة عبر aria-label من pdp.js */
body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"] .s-button-element:not(.s-button-loading) .s-button-text { font-size: 0 !important; line-height: 0 !important; display: inline-flex; align-items: center; }
body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"] .s-button-element:not(.s-button-loading) .s-button-text::before { content: "أضيفي إلى السلة"; display: block; font: 500 15px/1.8 var(--nv-display); }
/* «اشتري الآن» وApple Pay: انظر «أزرار الشراء v2» في آخر الملف */
/* زر معطّل لأن خيارًا إلزاميًا لم يُختر (العينات): بني باهت، والضغطة تصل للغلاف فيمرّر pdp.js إلى الخيار (لا فشل صامت) */
body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"] button[disabled] { opacity: .5 !important; pointer-events: none; cursor: pointer; }
body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"]:has(button[disabled]) salla-button { cursor: pointer; }
/* نفدت الكمية: بلون الهوية لا رمادي */
body.product-single salla-add-product-button[product-status="out"] button.s-button-element {
  background: #F4E7D9 !important; border: 1px solid rgba(172, 121, 27, .28) !important; color: var(--nv-gold-text) !important; opacity: 1 !important; cursor: not-allowed; box-shadow: none !important;
}
.nv-oos { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin-top: 10px; font: 400 13.5px/1.5 var(--nv-font); color: var(--nv-muted); }
.nv-oos a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border-radius: 999px; white-space: nowrap; font: 500 13.5px/1 var(--nv-display); color: var(--nv-brown) !important; border: 1px solid rgba(82, 44, 0, .24); text-decoration: none !important; }
.nv-oos a i { width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--nv-pdp-i-wa) center / contain no-repeat; mask: var(--nv-pdp-i-wa) center / contain no-repeat; }
/* الخيارات الإلزامية (العينات): سطر واحد مدمج — التسمية والقائمة جنبًا إلى جنب، فيبقى الزر في أول شاشة */
body.product-single salla-product-options, body.product-single salla-product-options salla-conditional-fields { display: block; margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.product-single .s-product-options-option-container { margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
body.product-single .s-product-options-option { display: grid !important; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; margin: 0 !important; padding: 0 !important; }
body.product-single .s-product-options-option-label { display: flex; align-items: center; margin: 0 !important; font: 500 14px/1.5 var(--nv-display) !important; color: var(--nv-ink) !important; white-space: nowrap; }
body.product-single .s-product-options-option-label b { font-weight: 500; }
body.product-single .s-product-options-option-label b span { color: var(--nv-gold-text); }
body.product-single .s-product-options-option-label small { display: none !important; }  /* «اختر» مكررة داخل القائمة نفسها */
body.product-single .s-product-options-option-content select.s-form-control { width: 100%; height: 48px; margin: 0; border-radius: 999px !important; padding-inline: 18px 40px; border: 1px solid rgba(82, 44, 0, .22) !important; background-color: var(--nv-paper) !important; font: 400 15px/1 var(--nv-font) !important; color: var(--nv-ink) !important; }
body.product-single salla-product-options.nv-need select.s-form-control { border-color: var(--nv-gold) !important; box-shadow: 0 0 0 3px rgba(172, 121, 27, .2); }
.nv-need-msg { margin: 8px 2px 0; font: 500 13.5px/1.5 var(--nv-font); color: #7A4A00; }

/* ---------- 8) صف الثقة ---------- */
.nv-trust { display: flex; flex-direction: column; margin: 16px 0 0; padding: 4px 14px; list-style: none; border-radius: 18px; background: var(--nv-paper); border: 1px solid rgba(172, 121, 27, .14); }
.nv-trust li { display: flex; align-items: center; gap: 11px; min-height: 44px; margin: 0; font: 400 13.5px/1.4 var(--nv-font); color: var(--nv-ink); white-space: nowrap; }
.nv-trust li + li { border-top: 1px solid rgba(172, 121, 27, .12); }
.nv-trust li > a, .nv-trust li > span { display: flex; align-items: center; min-height: 44px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: inherit !important; text-decoration: none !important; }
.nv-trust li > a::after { content: ""; width: 14px; height: 14px; margin-inline-start: auto; flex: none; background: var(--nv-gold-text); transform: rotate(90deg); -webkit-mask: var(--nv-pdp-i-chev) center / contain no-repeat; mask: var(--nv-pdp-i-chev) center / contain no-repeat; }
.nv-trust i { width: 20px; height: 20px; flex: none; background: var(--nv-gold-text); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.nv-trust .nv-i-return { --m: var(--nv-pdp-i-return); }
.nv-trust .nv-i-card { --m: var(--nv-pdp-i-card); }
.nv-trust .nv-i-split { --m: var(--nv-pdp-i-split); }
/* «تم شراؤه N مرات»: رقم حقيقي من سلة، بنبرة هادئة بدل الأحمر */
body.product-single .main-content > div:has(> div > .sicon-fire) { margin: 12px 0 0 !important; padding: 0 !important; background: transparent !important; }
body.product-single .main-content > div:has(> div > .sicon-fire) > div { padding: 0 !important; color: var(--nv-muted) !important; font: 400 13px/1.6 var(--nv-font); }
body.product-single .main-content .sicon-fire { color: var(--nv-gold); }

/* ---------- 9) النوتات / المكونات ---------- */
.nv-notes { margin-top: 22px; }
.nv-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.nv-sec-h h2 { margin: 0; font: 400 var(--nvp-sec-in)/1.6 var(--nv-display); color: var(--nv-ink); white-space: nowrap; }
.nv-sec-h span { font: 500 13px/1 var(--nv-latin); letter-spacing: .3em; color: var(--nv-gold-text); direction: ltr; white-space: nowrap; }
.nv-notes__rows { margin: 0; display: flex; flex-direction: column; border-top: 1px solid rgba(172, 121, 27, .18); }
.nv-notes__row { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; align-items: start; padding: 11px 0; border-bottom: 1px solid rgba(172, 121, 27, .14); }
.nv-notes__row dt { padding-top: 5px; font: 500 14px/1.4 var(--nv-display); color: var(--nv-gold-text); white-space: nowrap; }
.nv-notes__row dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nv-note { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; white-space: nowrap; font: 400 13.5px/1 var(--nv-font); color: var(--nv-ink); background: #FFF6EC; border: 1px solid rgba(172, 121, 27, .18); }
.nv-notes__flat { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; border-top: 1px solid rgba(172, 121, 27, .18); }
.nv-notes__foot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* ---------- 10) الأكورديونات ---------- */
.nv-acc { margin-top: 22px; border-top: 1px solid rgba(172, 121, 27, .2); }
.nv-acc__item { border-bottom: 1px solid rgba(172, 121, 27, .2); }
.nv-acc__h { margin: 0; }
.nv-acc__b {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 0 2px; border: 0; background: none; cursor: pointer; text-align: start;
  font: 500 var(--nvp-sub)/1.4 var(--nv-display); color: var(--nv-ink); white-space: nowrap;
}
.nv-acc__b > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.nv-acc__b .nv-gap { margin-inline-start: 4px; }
.nv-acc__b::after { content: ""; width: 18px; height: 18px; margin-inline-start: auto; flex: none; background: var(--nv-gold-text); -webkit-mask: var(--nv-pdp-i-chev) center / contain no-repeat; mask: var(--nv-pdp-i-chev) center / contain no-repeat; transition: transform .45s var(--nv-ease); }
.nv-acc__b[aria-expanded="true"]::after { transform: rotate(180deg); }
.nv-acc__b:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 2px; border-radius: 8px; }
.nv-acc__p { padding: 0 2px 18px; font: 400 var(--nvp-body)/1.85 var(--nv-font); color: #3B2F27; }
.nv-acc__p[hidden] { display: none; }
.nv-acc__p.is-anim { animation: nv-acc-in .45s var(--nv-ease); }
@keyframes nv-acc-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.nv-acc__p p { margin: 0 0 10px; }
.nv-acc__p a { color: var(--nv-gold-text) !important; text-decoration: underline; text-underline-offset: 3px; }
.nv-acc__p ul, .nv-acc__p ol { margin: 0 0 12px; padding-inline-start: 20px; }
.nv-acc__p ul { list-style: disc; }
.nv-acc__p ol { list-style: decimal; }
.nv-acc__p li { margin: 0 0 4px; }
.nv-acc__p li::marker { color: var(--nv-gold); }
.nv-acc__p h2, .nv-acc__p h3, .nv-acc__p h4 { margin: 16px 0 6px !important; font: 500 var(--nvp-sub)/1.6 var(--nv-display) !important; color: var(--nv-ink) !important; }
.nv-acc__p strong, .nv-acc__p b { font-weight: 500; color: var(--nv-ink); }
.nv-acc__p .article--main { padding: 0 !important; }
.nv-pieces { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.nv-pieces li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 10px 0; margin: 0 !important; border-bottom: 1px solid rgba(172, 121, 27, .12); }
.nv-pieces li:last-child { border-bottom: 0; }
.nv-pieces b { font: 500 var(--nvp-body)/1.5 var(--nv-display); color: var(--nv-ink); white-space: nowrap; }
.nv-pieces em { font-style: normal; font: 500 13px/1 var(--nv-font); color: var(--nv-gold-text); white-space: nowrap; }
.nv-pieces small { flex-basis: 100%; font: 400 13.5px/1.6 var(--nv-font); color: var(--nv-muted); }

/* ---------- 11) التقسيط والمشاركة ---------- */
body.product-single .main-content > salla-installment { display: block; margin-top: 16px; }
body.product-single .main-content > salla-installment #tabbyPromo { border-radius: 16px; }
body.product-single .main-content > div.flex:has(> salla-social-share) { margin-top: 14px; gap: 8px; }
body.product-single .main-content .s-social-share-list a { width: 44px !important; height: 44px !important; display: grid !important; place-items: center; }
body.product-single .main-content salla-social-share { margin: 0 !important; }
body.product-single .main-content .s-social-share-btn,
body.product-single .main-content [data-testid="store-product-wishlist-btn"] button { width: 44px !important; height: 44px !important; border-radius: 50% !important; border: 1px solid rgba(172, 121, 27, .22) !important; background: var(--nv-paper) !important; color: var(--nv-brown) !important; }

/* ---------- 12) الشريط الثابت (جوال) ---------- */
.nv-sb { display: none; }
@media (max-width: 767px) {
  body.product-single { padding-bottom: calc(var(--nv-pdp-sb-h) + env(safe-area-inset-bottom, 0px)); }
  .nv-sb {
    display: block; position: fixed; z-index: 55; left: 0; right: 0; bottom: 0;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 251, 246, .94); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px);
    border-top: 1px solid rgba(172, 121, 27, .28); box-shadow: 0 -18px 30px -26px rgba(82, 44, 0, .55);
    transform: translateY(110%); visibility: hidden; transition: transform .5s var(--nv-ease), visibility 0s linear .5s;
  }
  .nv-sb.is-on { transform: none; visibility: visible; transition: transform .5s var(--nv-ease), visibility 0s; }
  /* يختفي مع القائمة الجانبية والبحث ونافذة «تمت الإضافة» */
  html.nv-dw-lock .nv-sb, html.nv-search-open .nv-sb, html.nv-search-lock .nv-sb,
  body > salla-add-product-toast.s-add-product-toast--visible ~ .nv-sb { /* r6: بلا :has على body — النافذة ابن مباشر لـbody في رائد و.nv-sb يُلحق بآخره؛ الأولوية (0,2,2) نفسها */ transform: translateY(110%); visibility: hidden; transition: transform .3s var(--nv-ease), visibility 0s linear .3s; }
  .nv-sb__in { display: flex; align-items: center; gap: 10px; height: 48px; }
  .nv-sb__img { width: 44px; height: 44px; flex: none; border-radius: 12px; object-fit: cover; background: #FBEFE3; border: 1px solid rgba(172, 121, 27, .16); }
  .nv-sb__txt { min-width: 0; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 1px; }
  .nv-sb__name { margin: 0; font: 500 13.5px/1.7 var(--nv-display); color: var(--nv-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nv-sb__price { margin: 0; font: 500 16px/1.2 var(--nv-display); color: var(--nv-ink); white-space: nowrap; }
  .nv-sb__price span { margin-inline-start: 4px; font: 400 13px/1 var(--nv-font); color: var(--nv-gold-text); }
  .nv-sb__btn {
    flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 48px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--nv-brown); color: #FFF7EF; font: 500 14.5px/1 var(--nv-display); white-space: nowrap; box-shadow: 0 14px 24px -18px rgba(82, 44, 0, .9);
  }
  .nv-sb__btn i { width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--nv-pdp-i-bag) center / contain no-repeat; mask: var(--nv-pdp-i-bag) center / contain no-repeat; }
  .nv-sb__btn:active { transform: scale(.97); }
  .nv-sb__btn:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 2px; }
  .nv-sb__btn[aria-disabled="true"] { background: #F4E7D9; color: var(--nv-gold-text); border: 1px solid rgba(172, 121, 27, .28); box-shadow: none; cursor: not-allowed; }
  .nv-sb__btn[aria-disabled="true"] i { display: none; }
  .nv-sb__btn.is-busy { opacity: .6; }
}
@media (max-width: 359px) {
  .nv-sb__img { display: none; }
  .nv-sb__btn { padding: 0 16px; font-size: 14px; }
}

/* ---------- 13) آراء العميلات (تظهر فقط مع تعليق حقيقي) ---------- */
body.product-single salla-comments { display: block; }
body.product-single .s-comments-product { width: min(1260px, calc(100% - 32px)); margin: 40px auto 0; padding: 22px 20px !important; border-radius: 24px; background: var(--nv-paper) !important; border: 1px solid rgba(172, 121, 27, .14); }
body.product-single .s-comments-title { margin: 0 0 10px !important; font: 300 var(--nvp-sec)/1.4 var(--nv-display) !important; color: var(--nv-ink) !important; }
body.product-single .s-comments-header { font: 400 13.5px/1.5 var(--nv-font); color: var(--nv-muted); border-color: rgba(172, 121, 27, .16) !important; }
body.product-single .s-comments-sort-input { min-height: 44px; border-radius: 12px !important; border-color: rgba(82, 44, 0, .2) !important; font-size: 14px !important; }
body.product-single .s-comments-item-wrapper { padding: 14px 0 !important; border-color: rgba(172, 121, 27, .14) !important; }
body.product-single .s-comments-item-user-info-name-with-margin { font: 500 var(--nvp-body)/1.5 var(--nv-display) !important; color: var(--nv-ink) !important; }
body.product-single .s-comments-item-timestamp { font-size: 13px !important; color: var(--nv-muted) !important; }
body.product-single .s-comments-item-content { font: 400 var(--nvp-body)/1.8 var(--nv-font) !important; color: #3B2F27 !important; }

/* ---------- 14) «قد يعجبك»: صف واحد من «منتجات قد تعجبك» الأصلية بلغة بطاقات الرئيسية ---------- */
body.product-single .container:has(> salla-products-slider[source="related"]) { width: min(1260px, calc(100% - 32px)); max-width: none; margin: 44px auto 12px !important; padding: 0 !important; }
body.product-single salla-products-slider[source="related"] .s-slider-block__title { align-items: flex-end; margin-bottom: 12px; }
body.product-single salla-products-slider[source="related"] .s-slider-block__title-right h2 { margin: 0; font-size: 0 !important; line-height: 0; white-space: nowrap; }
body.product-single salla-products-slider[source="related"] .s-slider-block__title-right h2::before { content: "YOU MAY ALSO LIKE"; display: block; margin-bottom: 10px; font: 500 13px/1 var(--nv-latin); letter-spacing: .34em; color: var(--nv-gold-text); direction: ltr; text-align: right; }
body.product-single salla-products-slider[source="related"] .s-slider-block__title-right h2::after { content: "قد يعجبكِ أيضًا"; font: 300 var(--nvp-sec)/1.4 var(--nv-display); color: var(--nv-ink); }
body.product-single salla-products-slider[source="related"] .s-slider-nav-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(82, 44, 0, .24) !important; background: transparent !important; color: var(--nv-brown) !important; }
body.product-single custom-salla-product-card.s-product-card-entry {
  display: flex !important; flex-direction: column; height: 100%; padding: 8px !important; border-radius: 22px !important; overflow: hidden; background: var(--nv-paper) !important;
  border: 1px solid rgba(172, 121, 27, .13) !important; box-shadow: none !important;
}
body.product-single custom-salla-product-card .s-product-card-image { position: relative; flex: none !important; width: 100%; aspect-ratio: 1 / 1; height: auto !important; max-height: none !important; border-radius: 16px !important; overflow: hidden; background: #FBEFE3 !important; }
body.product-single custom-salla-product-card .s-product-card-image > a { display: block; width: 100%; height: 100%; }
body.product-single custom-salla-product-card .s-product-card-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
/* الاسم سطر كامل، ثم السعر وزر الإضافة في صف واحد (لا تداخل) */
body.product-single custom-salla-product-card .s-product-card-content {
  display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t t" "p b"; align-items: center; gap: 2px 8px; padding: 10px 6px 4px !important; flex: 1;
}
body.product-single custom-salla-product-card .s-product-card-content-main { grid-area: t; min-width: 0; margin: 0 !important; }
body.product-single custom-salla-product-card .s-product-card-content-sub { grid-area: p; margin: 0 !important; }
body.product-single custom-salla-product-card .s-product-card-content-footer { grid-area: b; position: static !important; margin: 0 !important; width: auto !important; }
body.product-single custom-salla-product-card .s-product-card-content-title { margin: 0 !important; }
body.product-single custom-salla-product-card .s-product-card-content-title a {
  display: block; font: 500 var(--nvp-card)/1.75 var(--nv-display) !important; color: var(--nv-ink) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  -webkit-line-clamp: unset !important; max-height: none !important; height: auto !important; padding-block: 10px; margin-block: -10px; /* هدف لمس 44px بلا تغيير في التخطيط */
}
body.product-single custom-salla-product-card .s-product-card-price { margin: 0 !important; font: 500 var(--nvp-card-price)/1.3 var(--nv-display) !important; color: var(--nv-ink) !important; white-space: nowrap; }
body.product-single custom-salla-product-card .s-product-card-price i.sicon-sar { display: none; }
body.product-single custom-salla-product-card .s-product-card-price::after { content: "ر.س"; margin-inline-start: 4px; font: 400 13px/1 var(--nv-font); color: var(--nv-gold-text); }
body.product-single custom-salla-product-card .s-product-card-content-footer salla-add-product-button, body.product-single custom-salla-product-card .s-product-card-content-footer salla-button { display: block; width: auto !important; }
body.product-single custom-salla-product-card .s-product-card-content-footer button.s-button-element {
  width: 44px !important; height: 44px !important; min-width: 0 !important; padding: 0 !important; border-radius: 50% !important;
  border: 1px solid rgba(82, 44, 0, .3) !important; background: transparent !important; color: var(--nv-brown) !important;
}
body.product-single custom-salla-product-card .s-product-card-content-footer button.s-button-element:hover { background: var(--nv-brown) !important; color: #FFF7EF !important; }
body.product-single custom-salla-product-card .s-product-card-content-footer .s-button-text > span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.product-single custom-salla-product-card .s-product-card-content-footer .s-button-text i { margin: 0 !important; font-size: 18px !important; }
body.product-single custom-salla-product-card .s-product-card-wishlist-btn { top: 10px !important; left: 10px !important; right: auto !important; }
body.product-single custom-salla-product-card .s-product-card-wishlist-btn button { width: 44px !important; height: 44px !important; border-radius: 50% !important; background: rgba(255, 251, 246, .86) !important; border: 1px solid rgba(172, 121, 27, .18) !important; color: var(--nv-brown) !important; }
@media (max-width: 767px) {
  body.product-single .container:has(> salla-products-slider[source="related"]) { width: calc(100% - 24px); margin-top: 34px !important; }
  body.product-single custom-salla-product-card.s-product-card-entry { padding: 5px !important; border-radius: 18px !important; }
  body.product-single custom-salla-product-card .s-product-card-image { border-radius: 14px !important; }
  body.product-single custom-salla-product-card .s-product-card-content { padding: 8px 4px 2px !important; }
  body.product-single salla-products-slider[source="related"] .s-slider-block__title-right h2::before { font-size: 13px; letter-spacing: .24em; margin-bottom: 6px; }
}
/* الشارات الحمراء (promotion_title) على البطاقات: شمبانيا هادئة، 13px على الأقل */
body.product-single .s-product-card-promotion-title,
body.product-single custom-salla-product-card .promotion-title,
body.product-single [class*="promotion-title"]:not(.details-slider *) {
  background: #FBEEDD !important; color: var(--nv-gold-text) !important; font: 500 13px/1.6 var(--nv-font) !important; border-radius: 999px !important; border: 1px solid rgba(172, 121, 27, .2);
}
body.product-single .text-red-800, body.product-single .\!text-red-800, body.product-single .text-red-600 { color: var(--nv-brown) !important; }

/* ---------- 15) التركيز من لوحة المفاتيح ---------- */
body.product-single .container--product-details :is(a, button, select, input):focus-visible,
body.product-single custom-salla-product-card :is(a, button):focus-visible { outline: 2px solid var(--nv-gold) !important; outline-offset: 2px; }

/* =========================================================
   الجوال (< 768): مضغوط كتطبيق — المعرض والاسم والسعر والزر في أول شاشة
   ========================================================= */
@media (max-width: 767px) {
  body.product-single .container--breadcrumbs { display: none; }                 /* القسم يظهر في السطر الصغير؛ المسار يبقى في DOM لمحركات البحث */
  body.product-single .container--product-details { padding-inline: var(--nv-pdp-gut); padding-top: 12px; }
  body.product-single .container--product-details .sidebar { margin: 0 0 14px !important; }
  body.product-single .details-slider .s-slider-thumbs, body.product-single salla-slider.details-slider > [slot="thumbs"] { display: none !important; }
  body.product-single .details-slider .s-slider-block__title-nav { display: none !important; }
  body.product-single .main-content > div.flex:has(> salla-social-share) { display: none; } /* المفضلة على الصورة؛ المشاركة من المتصفح */
  body.product-single .s-product-options-option-content select.s-form-control,
  body.product-single .s-comments-sort-input { font-size: 16px !important; }   /* حقول الإدخال 16px على الجوال: لا تكبير تلقائي في iOS */
}
@media (max-width: 359px) {
  body.product-single { --nvp-h1: 20px; --nvp-h1-lh: 34px; --nvp-price: 20px; --nvp-sec: 18px; }
}

/* =========================================================
   التابلت والديسكتوب (≥ 768): عمودان — المعرض ثابت والمعلومات تتمرر
   ========================================================= */
@media (min-width: 768px) {
  body.product-single .container--product-details, body.product-single .container--breadcrumbs { padding-inline: max(24px, calc((100% - 1260px) / 2)) !important; max-width: none; }
  body.product-single .container--product-details > [id^="product-"] { gap: 28px; }
  body.product-single .container--product-details .sidebar {
    width: 50% !important; margin: 0 !important; position: sticky !important; top: calc(var(--nv-row2-h, 54px) + 24px); align-self: flex-start;
  }
  body.product-single .container--product-details .main-content { position: static !important; width: auto !important; flex: 1; padding-top: 4px; }
  body.product-single .details-slider .s-slider-container, body.product-single salla-slider.details-slider > [slot="items"] { max-height: calc(100vh - 230px); }
  .nv-eb { height: 22px; margin-bottom: 10px; font-size: 13.5px; line-height: 22px; }
  .nv-eb__lat { font-size: 14px; line-height: 22px; }
  body.product-single { --nvp-h1: 26px; --nvp-h1-lh: 44px; --nvp-h1-w: 400; --nvp-sec: 22px; --nvp-sec-in: 20px; --nvp-sub: 15.5px; --nvp-body: 15px; --nvp-price: 24px; --nvp-card: 15px; --nvp-card-price: 17px; }
  body.product-single:not(.nv-pdp) .main-content > h1 { margin-top: 32px; margin-bottom: 30px; }
  .nv-hk { height: 24px; margin-top: 6px; font-size: 15px; line-height: 24px; }
  body.product-single .main-content > [data-testid="store-product-price"] { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(172, 121, 27, .2); }
  body.product-single .main-content > form.product-form { margin-top: 18px; }
  body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"] button.s-button-element { height: 52px !important; }
  body.product-single salla-quantity-input[data-testid="store-product-quantity"], body.product-single salla-quantity-input .s-quantity-input-container { height: 52px; }
  body.product-single salla-quantity-input .s-quantity-input-button, body.product-single salla-quantity-input .s-quantity-input-input { height: 50px !important; }
  .nv-trust { margin-top: 18px; }
}
@media (min-width: 1024px) {
  /* الارتفاع يقود الإطار: يتسع المعرض كاملًا (بمصغّراته) في الشاشة الأولى، والعرض = الارتفاع × النسبة (--nv-g-ratio) */
  body.product-single { --nv-g-h: clamp(440px, calc(100vh - 290px), 680px); --nvp-h1: clamp(30px, 2.3vw, 34px); --nvp-h1-lh: 54px; --nvp-sec: 24px; --nvp-sec-in: 22px; --nvp-card: 16px; }
  body.product-single salla-slider.details-slider:has(.swiper-slide:nth-child(2)) { --nv-g-h: clamp(400px, calc(100vh - 380px), 600px); }
  body.product-single .container--product-details > [id^="product-"] { gap: 56px; justify-content: center; }
  body.product-single .container--product-details .sidebar { width: auto !important; flex: none; }
  body.product-single salla-slider.details-slider { width: calc(var(--nv-g-h) * var(--nv-g-ratio) + 26px); padding: 12px; border-radius: 28px; }
  body.product-single .details-slider .s-slider-container,
  body.product-single salla-slider.details-slider > [slot="items"] { width: 100% !important; height: var(--nv-g-h) !important; max-height: none !important; aspect-ratio: auto; border-radius: 19px; }
  body.product-single .details-slider .s-slider-thumbs .swiper-slide, body.product-single salla-slider.details-slider > [slot="thumbs"] > * { width: 72px !important; height: 72px !important; }
  body.product-single .details-slider .s-slider-thumbs, body.product-single salla-slider.details-slider > [slot="thumbs"] { margin-top: 12px; }
  body.product-single .container--product-details .main-content { flex: 1 1 auto; max-width: 560px; }
}

@media (prefers-reduced-motion: reduce) {
  .nv-sb, .nv-sb.is-on, .nv-acc__p.is-anim, .nv-acc__b::after, body.product-single .nv-g-dots i { transition: none !important; animation: none !important; }
}

/* =========================================================
   «يُشترى معًا أحيانًا» — مكوّن سلة salla-bought-together (منتجات يحددها المتجر من لوحة سلة)
   يظهر بعد الأكورديونات بهوية نوفاليا، ويختفي إن لم تُحدَّد له منتجات
   ========================================================= */
body.product-single .main-content > salla-bought-together { display: block; margin-top: 18px; }
body.product-single .s-bought-together-entry {
  padding: 18px 16px 16px !important; border-radius: 22px !important; border: 1px solid rgba(172, 121, 27, .16) !important;
  background: linear-gradient(180deg, #FFF9F2 0%, #FBEEE1 100%) !important; box-shadow: 0 30px 50px -46px rgba(82, 44, 0, .45);
}
body.product-single .s-bought-together-header { margin: 0 0 12px !important; padding: 0 !important; text-align: start; }
body.product-single .s-bought-together-title { margin: 0 !important; font-size: 0 !important; line-height: 0 !important; }
body.product-single .s-bought-together-title::before { content: "يُشترى معًا أحيانًا"; display: block; font: 400 var(--nvp-sec-in)/1.8 var(--nv-display); color: var(--nv-ink); white-space: nowrap; }
body.product-single .s-bought-together-subtitle { margin: 0 !important; font-size: 0 !important; line-height: 0 !important; }
body.product-single .s-bought-together-subtitle::before { content: "اختاري ما يناسبك وأضيفيه مع طلبك"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; font: 400 13.5px/1.7 var(--nv-font); color: var(--nv-muted); }
body.product-single .s-bought-together-list { display: flex !important; flex-direction: column; gap: 8px; margin: 0 !important; padding: 0 !important; }
body.product-single .s-bought-together-item {
  display: flex !important; align-items: center; gap: 8px; min-height: 64px; margin: 0 !important; padding: 8px 10px 8px 14px !important;
  border-radius: 16px !important; background: var(--nv-paper, #FFFBF6) !important; border: 1px solid rgba(172, 121, 27, .12) !important;
}
body.product-single .s-bought-together-checkbox-label { flex: none; position: relative; display: grid !important; place-items: center; width: 44px; height: 44px; margin: 0 !important; cursor: pointer; }
body.product-single .s-bought-together-checkbox { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; margin: 0 !important; opacity: 0 !important; cursor: pointer; z-index: 1; }
body.product-single .s-bought-together-checkmark {
  position: relative !important; inset: auto !important; display: block !important; width: 22px !important; height: 22px !important; border-radius: 7px !important;
  border: 1.5px solid rgba(172, 121, 27, .55) !important; background: #fff !important; transition: background .3s var(--nv-ease), border-color .3s var(--nv-ease);
}
body.product-single .s-bought-together-checkmark::after { content: none; }
body.product-single .s-bought-together-checkbox:checked + .s-bought-together-checkmark { background: var(--nv-brown) !important; border-color: var(--nv-brown) !important; }
body.product-single .s-bought-together-checkbox:checked + .s-bought-together-checkmark::after {
  content: "" !important; display: block !important; position: absolute; left: 6.5px; top: 2.5px; width: 6px; height: 11px;
  border: solid #FFF7EF; border-width: 0 2px 2px 0; transform: rotate(45deg); background: none !important;
}
body.product-single .s-bought-together-checkbox:focus-visible + .s-bought-together-checkmark { outline: 2px solid var(--nv-gold); outline-offset: 2px; }
body.product-single .s-bought-together-item-link { flex: 1; min-width: 0; display: flex !important; align-items: center; gap: 10px; color: var(--nv-ink) !important; text-decoration: none !important; }
body.product-single .s-bought-together-item-img { width: 48px !important; height: 48px !important; flex: none; border-radius: 12px !important; object-fit: cover; background: #FBEFE3; margin: 0 !important; }
body.product-single .s-bought-together-item-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 var(--nvp-card)/1.9 var(--nv-display) !important; color: var(--nv-ink) !important; }
body.product-single .s-bought-together-item-price { flex: none; white-space: nowrap; font: 500 15px/1 var(--nv-display) !important; color: var(--nv-ink) !important; }
body.product-single .s-bought-together-entry i.sicon-sar { display: none !important; }
body.product-single .s-bought-together-item-price::after { content: "ر.س"; margin-inline-start: 4px; font: 400 13px/1 var(--nv-font); color: var(--nv-gold-text); }
body.product-single salla-button.s-bought-together-btn { display: block !important; width: 100% !important; margin-top: 12px !important; }
body.product-single button.s-bought-together-btn {
  width: 100% !important; height: 48px !important; border-radius: 999px !important; font: 500 15px/1 var(--nv-display) !important;
  box-shadow: 0 18px 30px -22px rgba(82, 44, 0, .9);
}
body.product-single button.s-bought-together-btn .s-button-text > span::after { content: " ر.س"; }

/* =========================================================
   «اشتري الآن» بالمؤنث كبقية الصفحة (النص الأصلي «اشترِ الآن»)
   ========================================================= */
body.product-single salla-mini-checkout-widget .s-add-product-button-mini-checkout-content { font-size: 0 !important; }
body.product-single salla-mini-checkout-widget .s-add-product-button-mini-checkout-content::after { content: "اشتري الآن"; font: 500 14px/1.6 var(--nv-display); white-space: nowrap; }

/* =========================================================
   الجوال: الكمية في سطر مضغوط، ثم «أضيفي إلى السلة» و«اشتري الآن» جنبًا إلى جنب
   ========================================================= */
@media (max-width: 767px) {
  body.product-single .sticky-product-bar__quantity { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; }
  body.product-single .sticky-product-bar__quantity > label {
    position: static !important; width: auto !important; height: auto !important; overflow: visible !important; clip: auto !important;
    margin: 0 !important; font: 500 14px/1.6 var(--nv-display) !important; color: var(--nv-ink) !important;
  }
  body.product-single salla-quantity-input[data-testid="store-product-quantity"],
  body.product-single salla-quantity-input .s-quantity-input-container { width: 124px; height: 44px; }
  body.product-single salla-quantity-input .s-quantity-input-button,
  body.product-single salla-quantity-input .s-quantity-input-input { height: 42px !important; }
}
@media (max-width: 359px) {
  body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"] .s-button-element:not(.s-button-loading) .s-button-text::before { font-size: 14px; }
  body.product-single salla-mini-checkout-widget .s-add-product-button-mini-checkout-content::after { font-size: 13.5px; }
}

/* الشاشات القصيرة (مثل 320×640): الزران أولًا ثم الكمية، كي يبقى الشراء في أول شاشة */
@media (max-width: 767px) and (max-height: 700px) {
  body.product-single form.product-form section.sticky-product-bar > .sticky-product-bar__quantity { order: 2; }
}
@media (max-width: 359px) {
  body.product-single .s-bought-together-entry { padding: 16px 12px 12px !important; }
  body.product-single .s-bought-together-item { gap: 6px; padding: 8px 8px 8px 10px !important; }
  body.product-single .s-bought-together-item-link { gap: 8px; min-height: 44px; }
  body.product-single .s-bought-together-item-img { width: 40px !important; height: 40px !important; }
  body.product-single .s-bought-together-item-name { font-size: 13.5px !important; white-space: normal; line-height: 1.5 !important; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } /* 320: الاسم الطويل («عطر الشعر باودر») يلتف بسطرين بدل أن يُقص بنقاط */
  body.product-single .s-bought-together-item-price { font-size: 14px !important; }
}

/* =========================================================
   أزرار الشراء v2
   الديسكتوب: صف واحد «الكمية · أضيفي إلى السلة · اشتري الآن» ثم Apple Pay بعرض السطر كله — نفس الارتفاع والكبسولة للجميع.
   الجوال: سطر الكمية، ثم الزران جنبًا إلى جنب، ثم Apple Pay.
   غلاف سلة وحاويته display:contents فتصير أزرار سلة نفسها عناصر في شبكة القسم (لا نسخ ولا إعادة بناء؛ الضغطات تبقى لسلة).
   ========================================================= */
body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"],
body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"] > .s-add-product-button-main { display: contents !important; }
body.product-single form.product-form section.sticky-product-bar {
  --nv-buy-h: 52px;
  display: grid !important; grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr); gap: 10px; align-items: stretch;
}
body.product-single form.product-form section.sticky-product-bar:not(:has(.sticky-product-bar__quantity)) { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
body.product-single form.product-form section.sticky-product-bar:not(:has(salla-mini-checkout-widget)) { grid-template-columns: auto minmax(0, 1fr); }
body.product-single form.product-form section.sticky-product-bar:not(:has(.sticky-product-bar__quantity)):not(:has(salla-mini-checkout-widget)) { grid-template-columns: minmax(0, 1fr); }
/* كل ما عدا الأزرار (Apple Pay وأي عنصر آخر من سلة) بعرض السطر كله */
body.product-single form.product-form section.sticky-product-bar > salla-add-product-button > :not(.s-add-product-button-main),
body.product-single form.product-form section.sticky-product-bar .s-add-product-button-main > :not(salla-button):not(salla-mini-checkout-widget) { grid-column: 1 / -1; }

/* الكمية بنفس ارتفاع الأزرار */
body.product-single form.product-form section.sticky-product-bar .sticky-product-bar__quantity { align-self: stretch; display: flex; align-items: center; }
body.product-single form.product-form section.sticky-product-bar salla-quantity-input[data-testid="store-product-quantity"],
body.product-single form.product-form section.sticky-product-bar salla-quantity-input .s-quantity-input-container { height: var(--nv-buy-h); }
body.product-single form.product-form section.sticky-product-bar salla-quantity-input .s-quantity-input-button,
body.product-single form.product-form section.sticky-product-bar salla-quantity-input .s-quantity-input-input { height: calc(var(--nv-buy-h) - 2px) !important; }

/* «أضيفي إلى السلة»: الزر الأساسي — بني ممتلئ مع أيقونة حقيبة */
body.product-single form.product-form section.sticky-product-bar salla-button { display: block !important; width: auto !important; min-width: 0; }
body.product-single form.product-form section.sticky-product-bar salla-add-product-button button.s-button-element {
  height: var(--nv-buy-h) !important; min-height: var(--nv-buy-h); padding: 0 18px !important;
  background: linear-gradient(180deg, #6A3A06 0%, var(--nv-brown) 100%) !important; border: 0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 247, 239, .14), 0 16px 28px -20px rgba(82, 44, 0, .85) !important;
  transition: background .3s var(--nv-ease), box-shadow .3s var(--nv-ease), transform .2s var(--nv-ease);
}
body.product-single form.product-form section.sticky-product-bar salla-add-product-button button.s-button-element:hover { background: linear-gradient(180deg, #5A3104 0%, #3E2206 100%) !important; box-shadow: inset 0 1px 0 rgba(255, 247, 239, .14), 0 20px 30px -20px rgba(82, 44, 0, .95) !important; }
body.product-single form.product-form section.sticky-product-bar salla-add-product-button button.s-button-element:active { transform: scale(.985); }
body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"] .s-button-element:not(.s-button-loading) .s-button-text { gap: 9px; }
body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"] .s-button-element:not(.s-button-loading) .s-button-text::after {
  content: ""; order: -1; width: 18px; height: 18px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 8h13l-1 11.2a1.6 1.6 0 0 1-1.6 1.4H8.1a1.6 1.6 0 0 1-1.6-1.4z'/%3E%3Cpath d='M9 10.5V7a3 3 0 0 1 6 0v3.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 8h13l-1 11.2a1.6 1.6 0 0 1-1.6 1.4H8.1a1.6 1.6 0 0 1-1.6-1.4z'/%3E%3Cpath d='M9 10.5V7a3 3 0 0 1 6 0v3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* «اشتري الآن»: ثانوي واضح — شمبانيا بإطار ذهبي رفيع وأيقونة «سريع». الزر الحقيقي داخل Shadow DOM لسلة ويُضبط بمتغيراتها */
body.product-single form.product-form section.sticky-product-bar salla-mini-checkout-widget {
  --salla-fast-checkout-button-height: var(--nv-buy-h); --salla-fast-checkout-button-width: 100%; --salla-fast-checkout-button-border-radius: 999px;
  --color-primary: rgba(172, 121, 27, .55);
  display: block !important; width: auto !important; min-width: 0; height: var(--nv-buy-h) !important; padding: 0 !important; margin: 0 !important;
  border: 0 !important; border-radius: 999px; overflow: hidden; cursor: pointer;
  background: linear-gradient(180deg, #FDEEDF 0%, #F6DBC0 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 14px 26px -22px rgba(82, 44, 0, .6);
  transition: background .3s var(--nv-ease), box-shadow .3s var(--nv-ease), transform .2s var(--nv-ease);
}
body.product-single form.product-form section.sticky-product-bar salla-mini-checkout-widget:hover { background: linear-gradient(180deg, #FAE4CE 0%, #F0CDA9 100%) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 18px 28px -20px rgba(82, 44, 0, .7); }
body.product-single form.product-form section.sticky-product-bar salla-mini-checkout-widget:active { transform: scale(.985); }
body.product-single salla-mini-checkout-widget .s-add-product-button-mini-checkout-content {
  direction: rtl; display: inline-flex !important; flex-direction: row !important; align-items: center; justify-content: center; gap: 8px; color: var(--nv-brown) !important; font-size: 0 !important;
}
/* قبل أن يكتمل مكوّن سلة (بلا Shadow DOM) يبقى النص في المنتصف */
body.product-single form.product-form section.sticky-product-bar salla-mini-checkout-widget:not(.hydrated) { display: flex !important; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px rgba(172, 121, 27, .55), inset 0 1px 0 rgba(255, 255, 255, .75), 0 14px 26px -22px rgba(82, 44, 0, .6); }
body.product-single salla-mini-checkout-widget .s-add-product-button-mini-checkout-content > span { display: none !important; }
body.product-single salla-mini-checkout-widget .s-add-product-button-mini-checkout-content::before {
  content: ""; width: 17px; height: 17px; flex: none; background: var(--nv-gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M13.2 2.8 5.6 13.4h5.6l-1 7.8 7.6-10.6h-5.6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M13.2 2.8 5.6 13.4h5.6l-1 7.8 7.6-10.6h-5.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.product-single salla-mini-checkout-widget .s-add-product-button-mini-checkout-content::after { content: "اشتري الآن"; font: 500 15px/1.6 var(--nv-display); color: var(--nv-brown); white-space: nowrap; } /* نفس وزن «أضيفي إلى السلة» */

/* Apple Pay: كبسولة سوداء (نمط Apple الأسود) بعرض السطر كله وبنفس الارتفاع */
body.product-single form.product-form section.sticky-product-bar salla-quick-buy { display: block; width: 100%; margin: 0 !important; }
body.product-single form.product-form section.sticky-product-bar apple-pay-button {
  --apple-pay-button-height: var(--nv-buy-h); --apple-pay-button-width: 100%; --apple-pay-button-border-radius: 999px; --apple-pay-button-box-sizing: border-box;
  display: block !important; width: 100% !important; margin: 0 !important;
}

/* عمود الشراء الضيق (تابلت ~820 وما شابه): الكمية بسطرها مع عنوانها، ثم الزران — يُقاس بعرض العمود لا الشاشة */
body.product-single .main-content > form.product-form { container: nvbuy / inline-size; }
@container nvbuy (max-width: 520px) {
  body.product-single form.product-form section.sticky-product-bar,
  body.product-single form.product-form section.sticky-product-bar:not(:has(.sticky-product-bar__quantity)) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body.product-single form.product-form section.sticky-product-bar:not(:has(salla-mini-checkout-widget)) { grid-template-columns: minmax(0, 1fr); }
  body.product-single form.product-form section.sticky-product-bar > .sticky-product-bar__quantity { grid-column: 1 / -1; justify-content: space-between; gap: 12px; }
  body.product-single form.product-form section.sticky-product-bar > .sticky-product-bar__quantity > label {
    position: static !important; width: auto !important; height: auto !important; overflow: visible !important; clip: auto !important;
    margin: 0 !important; font: 500 14px/1.6 var(--nv-display) !important; color: var(--nv-ink) !important;
  }
}
/* الجوال: الكمية سطر كامل، ثم الزران متساويين، ثم Apple Pay */
@media (max-width: 767px) {
  body.product-single form.product-form section.sticky-product-bar,
  body.product-single form.product-form section.sticky-product-bar:not(:has(.sticky-product-bar__quantity)) { --nv-buy-h: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  body.product-single form.product-form section.sticky-product-bar:not(:has(salla-mini-checkout-widget)) { grid-template-columns: minmax(0, 1fr); }
  body.product-single form.product-form section.sticky-product-bar > .sticky-product-bar__quantity { grid-column: 1 / -1; justify-content: space-between; }
  body.product-single form.product-form section.sticky-product-bar salla-quantity-input[data-testid="store-product-quantity"],
  body.product-single form.product-form section.sticky-product-bar salla-quantity-input .s-quantity-input-container { height: 44px; }
  body.product-single form.product-form section.sticky-product-bar salla-quantity-input .s-quantity-input-button,
  body.product-single form.product-form section.sticky-product-bar salla-quantity-input .s-quantity-input-input { height: 42px !important; }
  body.product-single form.product-form section.sticky-product-bar salla-add-product-button button.s-button-element { padding: 0 12px !important; }
  body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"] .s-button-element:not(.s-button-loading) .s-button-text { gap: 7px; }
  body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"] .s-button-element:not(.s-button-loading) .s-button-text::after,
  body.product-single salla-mini-checkout-widget .s-add-product-button-mini-checkout-content::before { width: 16px; height: 16px; }
}
@media (max-width: 359px) {
  body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"] .s-button-element:not(.s-button-loading) .s-button-text::after,
  body.product-single salla-mini-checkout-widget .s-add-product-button-mini-checkout-content::before { display: none; }
}

/* =========================================================
   r2 — إصلاحات وصقل (لا تغيير في بنية أزرار الشراء)
   ========================================================= */
/* نفدت الكمية: تدرّج الزر الأساسي (v2) كان يغلب لون «نفدت» فيظهر زر بني بنص باهت غير مقروء — يعود شمبانيا هادئًا معطّلًا */
body.product-single form.product-form section.sticky-product-bar salla-add-product-button[product-status="out"] button.s-button-element,
body.product-single form.product-form section.sticky-product-bar salla-add-product-button[product-status="out"] button.s-button-element:hover {
  background: #F4E7D9 !important; border: 1px solid rgba(172, 121, 27, .28) !important; color: var(--nv-gold-text) !important;
  box-shadow: none !important; opacity: 1 !important; transform: none; cursor: not-allowed;
}
body.product-single form.product-form section.sticky-product-bar salla-add-product-button[product-status="out"] button.s-button-element .s-button-text { color: var(--nv-gold-text) !important; opacity: 1 !important; }
@media (max-width: 767px) {
  /* أزرار الكمية: هدف لمس 44px كاملًا (كانت 42 داخل كبسولة 44) */
  body.product-single form.product-form section.sticky-product-bar salla-quantity-input[data-testid="store-product-quantity"],
  body.product-single form.product-form section.sticky-product-bar salla-quantity-input .s-quantity-input-container { height: 46px; }
  body.product-single form.product-form section.sticky-product-bar salla-quantity-input .s-quantity-input-button,
  body.product-single form.product-form section.sticky-product-bar salla-quantity-input .s-quantity-input-input { height: 44px !important; }
}
@media (max-width: 359px) {
  body.product-single salla-mini-checkout-widget .s-add-product-button-mini-checkout-content::after { font-size: 14px; }
}
/* مكان صف الأزرار محجوز قبل اكتمال مكوّن سلة: الغلاف صار display:contents (v2) ففُقد الحجز القديم (min-height) وكان النموذج يطول 22–62px عند الاكتمال */
body.product-single form.product-form section.sticky-product-bar { min-height: var(--nv-buy-h); align-content: start; }
@container nvbuy (max-width: 520px) {
  body.product-single form.product-form section.sticky-product-bar:has(.sticky-product-bar__quantity) { min-height: calc(var(--nv-buy-h) * 2 + 10px); }
}
@media (max-width: 767px) {
  body.product-single form.product-form section.sticky-product-bar:has(.sticky-product-bar__quantity) { min-height: calc(46px + 8px + var(--nv-buy-h)); }
}
/* «الطلب السريع» فارغ: لا يترك هامشًا 20px تحت العمود */
body.product-single .main-content > salla-quick-order:empty { display: none !important; }
/* Apple Pay: المكان محجوز من لحظة إدراج العنصر (مع اكتمال زر سلة) لا من لحظة تحميل مكتبة Apple، فلا ينزل ما تحته حين تُرسم متأخرة */
body.product-single form.product-form section.sticky-product-bar apple-pay-button { min-height: var(--nv-buy-h); }
/* الخيارات (العينات): العنصر موجود في HTML الخادم فارغًا ثم يكتمل بارتفاع 52px فيدفع الأزرار — المكان محجوز من أول رسم (خيار واحد) */
body.product-single form.product-form salla-product-options[options] { min-height: 52px; }

/* =========================================================
   r2 — أول رسم بالـCSS وحده (ملف JS التخصيص يصل آخر شيء على الشبكات البطيئة: 10–18 ث)
   ========================================================= */
/* زر السلة قبل اكتمال مكوّن سلة: كان نصًا خامًا «أضف إلى السلة»؛ الآن كبسولة بالشكل النهائي في مكانها النهائي (لا تعتمد على JS) */
body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"]:not(:has(salla-button)) {
  display: flex !important; align-items: center; justify-content: center; min-width: 0; height: var(--nv-buy-h); border-radius: 999px;
  background: linear-gradient(180deg, #6A3A06 0%, var(--nv-brown) 100%); color: #FFF7EF; font-size: 0 !important; line-height: 0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 247, 239, .14), 0 16px 28px -20px rgba(82, 44, 0, .85);
}
body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"]:not(:has(salla-button))::before { content: "أضيفي إلى السلة"; font: 500 15px/1.8 var(--nv-display); white-space: nowrap; }
body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="out"]:not(:has(salla-button)) {
  grid-column: 1 / -1; background: #F4E7D9; color: var(--nv-gold-text); border: 1px solid rgba(172, 121, 27, .28); box-shadow: none;
}
body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="out"]:not(:has(salla-button))::before { content: "نفدت الكمية"; }
/* المرحلة الوسطى (زر سلة أُدرج ولم يكتمل بعد — كانت سلة تخفيه فيومض المكان فارغًا): الكبسولة نفسها تبقى ظاهرة */
body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"] salla-button:not(.hydrated) {
  visibility: visible !important; display: flex !important; align-items: center; justify-content: center; height: var(--nv-buy-h); border-radius: 999px; overflow: hidden;
  background: linear-gradient(180deg, #6A3A06 0%, var(--nv-brown) 100%); color: #FFF7EF; font-size: 0 !important; line-height: 0 !important;
}
body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"] salla-button:not(.hydrated)::before { content: "أضيفي إلى السلة"; font: 500 15px/1.8 var(--nv-display); white-space: nowrap; }
body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="out"] salla-button:not(.hydrated) { background: #F4E7D9; color: var(--nv-gold-text); border: 1px solid rgba(172, 121, 27, .28); }
body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="out"] salla-button:not(.hydrated)::before { content: "نفدت الكمية"; }
/* المعرض بين اكتمال المكوّن وتشغيل Swiper: الشرائح كانت بعرضها الخام (~254px) على خلفية بيضاء لجزء من الثانية — الشريحة الأولى تملأ الإطار */
body.product-single .details-slider .s-slider-container:not(.swiper-initialized) > .swiper-wrapper { display: flex; transform: none !important; }
body.product-single .details-slider .s-slider-container:not(.swiper-initialized) .swiper-slide { flex: 0 0 100% !important; width: 100% !important; margin: 0 !important; background: transparent !important; }
body.product-single .details-slider .s-slider-container:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none !important; }
body.product-single .details-slider .s-slider-container .swiper-slide, body.product-single .details-slider .s-slider-container .swiper-slide img { background-color: transparent !important; }
/* وسوم العناوين نفسها (كانت ترث 20px/600 من الثيم فيتضخم ارتفاع السطر) */
.nv-acc__h { font: 500 var(--nvp-sub)/1.4 var(--nv-display); }
body.product-single custom-salla-product-card .s-product-card-content-title { font: 500 var(--nvp-card)/1.75 var(--nv-display) !important; }
/* صندوق تابي (محتواه داخل Shadow DOM لتابي فلا يُنسَّق من الداخل): إطار ورقي بحد ذهبي وزوايا 16px يقص حدّه الرمادي، وتصغير 86% ⇒ نص ≈13.8px */
body.product-single .main-content > salla-installment #tabbyPromoWrapper:has(#tabbyPromo > *) { border-radius: 16px; overflow: hidden; background: var(--nv-paper); border: 1px solid rgba(172, 121, 27, .24); }
body.product-single .main-content > salla-installment #tabbyPromo { margin: -2px; zoom: .86; }
/* NV-NAMES:BEGIN (مولَّد — work-r2/pdp/gen_names_css.py) */
/* الاسم النظيف من أول رسم: النص الخام يُخفى (font-size:0) ويُرسم الاسم من pdp-data في ::before بالمقاس نفسه؛ حين يعمل pdp.js يكتب الاسم نفسه في العنوان فلا يتغير شيء على الشاشة */
body.product-single:not(.nv-pdp) #product-5116704 .main-content > h1,
body.product-single:not(.nv-pdp) #product-74178397 .main-content > h1,
body.product-single:not(.nv-pdp) #product-295191038 .main-content > h1,
body.product-single:not(.nv-pdp) #product-332251515 .main-content > h1,
body.product-single:not(.nv-pdp) #product-384427613 .main-content > h1,
body.product-single:not(.nv-pdp) #product-404950663 .main-content > h1,
body.product-single:not(.nv-pdp) #product-568981403 .main-content > h1,
body.product-single:not(.nv-pdp) #product-592299762 .main-content > h1,
body.product-single:not(.nv-pdp) #product-600589086 .main-content > h1,
body.product-single:not(.nv-pdp) #product-682352354 .main-content > h1,
body.product-single:not(.nv-pdp) #product-712590080 .main-content > h1,
body.product-single:not(.nv-pdp) #product-830674726 .main-content > h1,
body.product-single:not(.nv-pdp) #product-902219467 .main-content > h1,
body.product-single:not(.nv-pdp) #product-1064224491 .main-content > h1,
body.product-single:not(.nv-pdp) #product-1146134928 .main-content > h1,
body.product-single:not(.nv-pdp) #product-1530174103 .main-content > h1,
body.product-single:not(.nv-pdp) #product-1686714151 .main-content > h1,
body.product-single:not(.nv-pdp) #product-2052491712 .main-content > h1 { font-size: 0 !important; }
body.product-single:not(.nv-pdp) #product-5116704 .main-content > h1::before,
body.product-single:not(.nv-pdp) #product-74178397 .main-content > h1::before,
body.product-single:not(.nv-pdp) #product-295191038 .main-content > h1::before,
body.product-single:not(.nv-pdp) #product-332251515 .main-content > h1::before,
body.product-single:not(.nv-pdp) #product-384427613 .main-content > h1::before,
body.product-single:not(.nv-pdp) #product-404950663 .main-content > h1::before,
body.product-single:not(.nv-pdp) #product-568981403 .main-content > h1::before,
body.product-single:not(.nv-pdp) #product-592299762 .main-content > h1::before,
body.product-single:not(.nv-pdp) #product-600589086 .main-content > h1::before,
body.product-single:not(.nv-pdp) #product-682352354 .main-content > h1::before,
body.product-single:not(.nv-pdp) #product-712590080 .main-content > h1::before,
body.product-single:not(.nv-pdp) #product-830674726 .main-content > h1::before,
body.product-single:not(.nv-pdp) #product-902219467 .main-content > h1::before,
body.product-single:not(.nv-pdp) #product-1064224491 .main-content > h1::before,
body.product-single:not(.nv-pdp) #product-1146134928 .main-content > h1::before,
body.product-single:not(.nv-pdp) #product-1530174103 .main-content > h1::before,
body.product-single:not(.nv-pdp) #product-1686714151 .main-content > h1::before,
body.product-single:not(.nv-pdp) #product-2052491712 .main-content > h1::before { font-size: var(--nvp-h1); }
body.product-single:not(.nv-pdp) #product-5116704 .main-content > h1::before { content: "عطر الشعر شذى"; }
body.product-single:not(.nv-pdp) #product-74178397 .main-content > h1::before { content: "بكج أورا"; }
body.product-single:not(.nv-pdp) #product-295191038 .main-content > h1::before { content: "عطر الشعر باودر"; }
body.product-single:not(.nv-pdp) #product-332251515 .main-content > h1::before { content: "عرض اليوم الوطني: شذى + عود"; }
body.product-single:not(.nv-pdp) #product-384427613 .main-content > h1::before { content: "عرض اليوم الوطني: باودر + عود"; }
body.product-single:not(.nv-pdp) #product-404950663 .main-content > h1::before { content: "عرض اليوم الوطني: أورا + لبان"; }
body.product-single:not(.nv-pdp) #product-568981403 .main-content > h1::before { content: "بكج مندلين"; }
body.product-single:not(.nv-pdp) #product-592299762 .main-content > h1::before { content: "عطر الشعر مندلين"; }
body.product-single:not(.nv-pdp) #product-600589086 .main-content > h1::before { content: "عرض اليوم الوطني: مندلين + عود"; }
body.product-single:not(.nv-pdp) #product-682352354 .main-content > h1::before { content: "عطر باودر"; }
body.product-single:not(.nv-pdp) #product-712590080 .main-content > h1::before { content: "عود مسقي"; }
body.product-single:not(.nv-pdp) #product-830674726 .main-content > h1::before { content: "بكج شذى"; }
body.product-single:not(.nv-pdp) #product-902219467 .main-content > h1::before { content: "عطر مندلين"; }
body.product-single:not(.nv-pdp) #product-1064224491 .main-content > h1::before { content: "المعمول دوسري"; }
body.product-single:not(.nv-pdp) #product-1146134928 .main-content > h1::before { content: "بكج باودر"; }
body.product-single:not(.nv-pdp) #product-1530174103 .main-content > h1::before { content: "مجموعة العينات"; }
body.product-single:not(.nv-pdp) #product-1686714151 .main-content > h1::before { content: "عطر شذى"; }
body.product-single:not(.nv-pdp) #product-2052491712 .main-content > h1::before { content: "عود مروكي فاخر"; }
/* NV-NAMES:END */
/* عمود الشراء الضيق (تابلت 768–900): نص «أضيفي إلى السلة» كان يُقص — نفس ضغط الجوال (حشوة 12 وأيقونة 16)، وتُحذف الأيقونتان تحت 345px */
@container nvbuy (max-width: 520px) {
  body.product-single form.product-form section.sticky-product-bar salla-add-product-button button.s-button-element { padding: 0 12px !important; }
  body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"] .s-button-element:not(.s-button-loading) .s-button-text { gap: 7px; }
  body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"] .s-button-element:not(.s-button-loading) .s-button-text::after,
  body.product-single salla-mini-checkout-widget .s-add-product-button-mini-checkout-content::before { width: 16px; height: 16px; }
}
@container nvbuy (max-width: 345px) {
  body.product-single salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"] .s-button-element:not(.s-button-loading) .s-button-text::after,
  body.product-single salla-mini-checkout-widget .s-add-product-button-mini-checkout-content::before { display: none; }
}

/* =========================================================
   r3c — «وميض صفحة المنتج»: الشكل كله من CSS من أول رسم؛ pdp.js يضيف في أماكن محجوزة فقط
   (القياس والأدوات: work-r3/pdpfix)
   ========================================================= */
/* 1) pdp.js وصل وفشل (body.nv-pdp-fail): محتوى الثيم يعود فورًا بلا انتظار المهلة */
body.product-single.nv-pdp-fail:not(.nv-pdp) .main-content > .product__description { visibility: visible; max-height: none; overflow: visible; animation: none; }
body.product-single.nv-pdp-fail:not(.nv-pdp) .main-content > :is(salla-installment, div:has(> div > .sicon-fire), div.flex:has(> salla-social-share)),
body.product-single.nv-pdp-fail:not(.nv-pdp) main > .container--product-details ~ * { visibility: visible; opacity: 1; animation: none; }
/* 2) ما تحت عمود المنتج («قد يعجبكِ»، الآراء…) كان ظاهرًا تحت الأزرار مباشرة ثم ينزل 400–570px حين يضيف pdp.js الثقة والنوتات والأكورديون:
      يبقى في مكانه محجوبًا إلى أن تُبنى الكتل (العنصر المحجوب لا يُحسب إزاحة)، ويعود وحده بالمهلة نفسها */
body.product-single:not(.nv-pdp) main > .container--product-details ~ * { visibility: hidden; opacity: 0; animation: nv-pdp-vis 0s linear 25s forwards; } /* opacity: أبناء مكوّنات سلة يفرضون visibility:visible */
/* 3) الاسم النظيف (NV-NAMES) كتلة مستقلة: كان آخر حرف فيه يتصل بأول حرف من النص الخام المخفي بعده («مسقيـ») ثم يتبدل عند وصول JS */
body.product-single:not(.nv-pdp) .main-content > h1::before { display: block; overflow: hidden; text-overflow: ellipsis; }
/* 4) السطر الصغير والسطر التعريفي من أول رسم: يُرسمان في عنصرَي salla-hook الفارغين الموجودين في HTML الخادم (أول العمود وبعد العنوان)
      بمقاسات .nv-eb و.nv-hk نفسها حرفيًا؛ النص من pdp-data عبر القواعد المولَّدة (NV-FIRST). حين يعمل pdp.js يختفيان ويحل محلهما العنصران الحقيقيان في الإطار نفسه.
      منتج بلا بيانات: السطران فارغان بالارتفاع نفسه (حجز فقط). إن غاب العنصران من HTML بقي الحجز القديم بالهوامش. */
body.product-single:not(.nv-pdp) .main-content > salla-hook[name="product:single.description.start"]:empty {
  display: flex !important; order: 1; align-items: center; gap: 9px; height: 20px; margin: 0 0 6px; overflow: hidden; white-space: nowrap;
  font: 500 13px/20px var(--nv-font); color: var(--nv-gold-text);
}
body.product-single:not(.nv-pdp) .main-content > salla-hook[name="product:single.description.start"]:empty::before { font: 500 13px/20px var(--nv-latin); letter-spacing: .32em; color: var(--nv-gold-text); direction: ltr; }
body.product-single:not(.nv-pdp) .main-content > salla-hook[name="product:single.description.start"]:empty::after { overflow: hidden; text-overflow: ellipsis; }
body.product-single:not(.nv-pdp) .main-content > salla-hook[name="product:single.description"]:empty {
  display: block !important; order: 3; height: 21px; margin: 2px 0 0; font: 400 13.5px/21px var(--nv-font); color: var(--nv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.product-single:not(.nv-pdp) .main-content:has(> salla-hook[name="product:single.description.start"]:empty):has(> salla-hook[name="product:single.description"]:empty) > h1 { margin-top: 0; margin-bottom: 0; } /* :has لا تتداخل؛ :empty يقبل تعليقات Stencil */
@media (min-width: 768px) {
  body.product-single:not(.nv-pdp) .main-content > salla-hook[name="product:single.description.start"]:empty { height: 22px; margin-bottom: 10px; font-size: 13.5px; line-height: 22px; }
  body.product-single:not(.nv-pdp) .main-content > salla-hook[name="product:single.description.start"]:empty::before { font-size: 14px; line-height: 22px; }
  body.product-single:not(.nv-pdp) .main-content > salla-hook[name="product:single.description"]:empty { height: 24px; margin-top: 6px; font-size: 15px; line-height: 24px; }
}
/* 5) المعرض بين اكتمال مكوّن سلة وتشغيل Swiper (~120ms): الحاوية كانت flex بحشوة 48px وهامش سالب فتنكمش الصورة إلى 252px ثم تعود 338px */
body.product-single .details-slider .s-slider-container:not(.swiper-initialized) { display: block !important; padding: 0 !important; margin: 0 !important; }
body.product-single .details-slider .s-slider-container:not(.swiper-initialized) > .swiper-wrapper { width: 100% !important; padding: 0 !important; margin: 0 !important; }
/* 5ب) وفي اللحظة نفسها تكون الشرائح ما زالت داخل [slot=items] منقولًا إلى داخل swiper-wrapper بحشوة 48px وهامش سالب (358px، والصورة 305px): يُلغى صندوقه فتملأ الشريحة الأولى الإطار */
body.product-single .details-slider .s-slider-container:not(.swiper-initialized) > .swiper-wrapper > [slot="items"] { display: contents !important; }
body.product-single .details-slider .s-slider-container:not(.swiper-initialized) > .swiper-wrapper > [slot="items"] > .swiper-slide:not(:first-child) { display: none !important; }
/* 5ج) المصغّرات (منتج بعدة صور) في الحالتين الوسيطتين نفسيهما: كانت 75×80 ثم 133×133 ثم 72×72، والمعرض يطول 61px ويعود */
@media (min-width: 768px) { body.product-single .details-slider .s-slider-thumbs:has(> .s-slider-thumbs-container:not(.swiper-initialized)) { display: block !important; margin-inline: 0 !important; padding: 0 !important; } } /* الجوال: المصغّرات مخفية أصلًا */
body.product-single .details-slider .s-slider-thumbs-container:not(.swiper-initialized) { padding: 0 !important; margin: 0 -5px !important; width: auto !important; }
body.product-single .details-slider .s-slider-thumbs-container:not(.swiper-initialized) .swiper-wrapper { width: auto !important; }
body.product-single .details-slider .s-slider-thumbs-container:not(.swiper-initialized) .swiper-wrapper > [slot="thumbs"] { display: contents !important; }
body.product-single .details-slider .s-slider-thumbs-container:not(.swiper-initialized) .swiper-wrapper > [slot="thumbs"] > *,
body.product-single .details-slider .s-slider-thumbs-container:not(.swiper-initialized) .swiper-wrapper > :not([slot]) {
  width: 64px !important; height: 64px !important; margin: 0 !important; padding: 0 !important; flex: none !important; border-radius: 12px; overflow: hidden; border: 1px solid rgba(172, 121, 27, .18); opacity: .7;
}
@media (min-width: 1024px) {
  body.product-single .details-slider .s-slider-thumbs-container:not(.swiper-initialized) .swiper-wrapper > [slot="thumbs"] > *,
  body.product-single .details-slider .s-slider-thumbs-container:not(.swiper-initialized) .swiper-wrapper > :not([slot]) { width: 72px !important; height: 72px !important; }
}
/* 6) زر المفضلة قبل اكتمال مكوّنه: كان أيقونة خام 15×26 لعُشر ثانية ثم دائرة — الدائرة نفسها من أول رسم */
body.product-single .details-slider salla-button.btn--wishlist:not(.hydrated) {
  display: grid !important; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(172, 121, 27, .2);
  background: rgba(255, 251, 246, .88); color: var(--nv-brown);
}
/* 6ب) زر الإضافة بين تحميل مكتبة سلة واكتمال المكوّن (~0.7 ث، أطول على الأجهزة البطيئة): سلة تحجب العنصر (visibility:hidden) فكانت كبسولة الزر تظهر ثم تختفي ثم تعود */
body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"]:not(.hydrated),
body.product-single form.product-form section.sticky-product-bar salla-mini-checkout-widget:not(.hydrated) { visibility: visible !important; }
/* 6ج) قبل اكتمال زر سلة كانت كبسولة واحدة «أضيفي إلى السلة» بعرض الصف كله ثم تنقسم إلى زرين عند الاكتمال (~1 ث):
       الزران بمقاسيهما النهائيين من أول رسم («اشتري الآن» مفعّل في المتجر لكل منتج متاح؛ إن أُوقف من لوحة سلة تُحذف هذه الكتلة).
       عرض فقط: لا يُضغطان قبل اكتمال مكوّن سلة كما كان. الأيقونة خلفية بإزاحة ثابتة عن المنتصف (--i عرضها، --g الفراغ، --tw عرض النص). */
body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"]:not(:has(salla-button)) {
  display: grid !important; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 10px; row-gap: 0; overflow: hidden; background: none; box-shadow: none; border-radius: 0;
}
body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"]:not(:has(salla-button))::before, body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"]:not(:has(salla-button))::after {
  grid-row: 1; display: flex; align-items: center; justify-content: center; min-width: 0; height: var(--nv-buy-h); border-radius: 999px; white-space: nowrap; overflow: hidden;
  padding-inline-start: calc(var(--i) + var(--g) + var(--adj)); background-repeat: no-repeat; background-position: calc(50% + (var(--tw) + var(--g)) / 2) center, 0 0; background-size: var(--i) var(--i), auto;
}
body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"]:not(:has(salla-button))::before {
  --i: 18px; --g: 9px; --tw: 124px; --adj: -8px; grid-column: 1; content: "أضيفي إلى السلة"; font: 500 15px/1.8 var(--nv-display); color: #FFF7EF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF7EF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 8h13l-1 11.2a1.6 1.6 0 0 1-1.6 1.4H8.1a1.6 1.6 0 0 1-1.6-1.4z'/%3E%3Cpath d='M9 10.5V7a3 3 0 0 1 6 0v3.5'/%3E%3C/svg%3E"), linear-gradient(180deg, #6A3A06 0%, var(--nv-brown) 100%); box-shadow: inset 0 1px 0 rgba(255, 247, 239, .14);
}
body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"]:not(:has(salla-button))::after {
  --i: 17px; --g: 8px; --tw: 80px; --adj: 8px; grid-column: 2; content: "اشتري الآن"; font: 500 15px/1.6 var(--nv-display); color: var(--nv-brown);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AC791B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.2 2.8 5.6 13.4h5.6l-1 7.8 7.6-10.6h-5.6z'/%3E%3C/svg%3E"), linear-gradient(180deg, #FDEEDF 0%, #F6DBC0 100%); box-shadow: inset 0 0 0 1px rgba(172, 121, 27, .55), inset 0 1px 0 rgba(255, 255, 255, .75);
}
@container nvbuy (max-width: 520px) {
  body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"]:not(:has(salla-button)) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"]:not(:has(salla-button))::before { --i: 16px; --g: 7px; --adj: -3px; }
  body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"]:not(:has(salla-button))::after { --i: 16px; }
}
@media (max-width: 767px) {
  body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"]:not(:has(salla-button)) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 8px; }
  body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"]:not(:has(salla-button))::before { --i: 16px; --g: 7px; --adj: -3px; }
  body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"]:not(:has(salla-button))::after { --i: 16px; }
}
@media (max-width: 359px) {
  body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"]:not(:has(salla-button))::before, body.product-single form.product-form section.sticky-product-bar salla-add-product-button[data-testid="store-product-add-to-cart"][product-status="sale"]:not(:has(salla-button))::after { --i: 0px; --g: 0px; font-size: 14px; }
}
/* 6د) حقل الكمية فارغ في HTML الخادم حتى يكتمل مكوّنه (كان يظهر العنوان «الكمية» وحده ثم الكبسولة): الكبسولة نفسها مرسومة من أول رسم بالقيمة الابتدائية */
body.product-single form.product-form section.sticky-product-bar salla-quantity-input[data-testid="store-product-quantity"]:not(.hydrated):empty {
  display: flex !important; align-items: center; justify-content: center; box-sizing: border-box; border-radius: 999px; border: 1px solid rgba(82, 44, 0, .22);
  font: 500 16px/1 var(--nv-display); color: var(--nv-ink);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%239CA3AF' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M1.5 8h13'/%3E%3C/svg%3E") left 15px center / 15px 15px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%239CA3AF' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M1.5 8h13M8 1.5v13'/%3E%3C/svg%3E") right 15px center / 15px 15px no-repeat, var(--nv-paper);
}
body.product-single form.product-form section.sticky-product-bar salla-quantity-input[data-testid="store-product-quantity"]:not(.hydrated):empty::before { content: attr(value); }
/* 7) خيار العينات على التابلت والديسكتوب: التسمية فوق القائمة (81px لا 52px) فكان يدفع الأزرار 29px عند اكتماله */
@media (min-width: 768px) { body.product-single form.product-form salla-product-options[options] { min-height: 81px; } }
/* NV-FIRST:BEGIN (مولَّد — work-r3/pdpfix/gen_first_css.py) */
/* السطر الصغير (::before اللاتيني، ::after الشارة أو القسم) والسطر التعريفي واسم المنتج في مسار التنقل — من pdp-data، قبل وصول pdp.js */
body.product-single:not(.nv-pdp) #product-5116704 .main-content > salla-hook[name="product:single.description.start"]:empty::before { content: "SHATHA"; }
body.product-single:not(.nv-pdp) #product-5116704 .main-content > salla-hook[name="product:single.description.start"]:empty::after { content: "مزيج الجمال وقوة الرائحة"; }
body.product-single:not(.nv-pdp) #product-5116704 .main-content > salla-hook[name="product:single.description"]:empty::before { content: "لمسة من الأناقة والرقي على إطلالتكِ"; }
body.product-single:has(#product-5116704) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { content: "عطر الشعر شذى"; }
body.product-single:not(.nv-pdp) #product-74178397 .main-content > salla-hook[name="product:single.description.start"]:empty::before { content: "AURA"; }
body.product-single:not(.nv-pdp) #product-74178397 .main-content > salla-hook[name="product:single.description.start"]:empty::after { content: "هدية فاخرة"; }
body.product-single:not(.nv-pdp) #product-74178397 .main-content > salla-hook[name="product:single.description"]:empty::before { content: "أربع قطع عطرية لتكتمل هالتكِ وهالة مكانكِ"; }
body.product-single:has(#product-74178397) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { content: "بكج أورا"; }
body.product-single:not(.nv-pdp) #product-295191038 .main-content > salla-hook[name="product:single.description.start"]:empty::after { content: "يترك بصمةً لا تُنسى"; }
body.product-single:not(.nv-pdp) #product-295191038 .main-content > salla-hook[name="product:single.description"]:empty::before { content: "لمسة البودرة الناعمة على خصلاتكِ"; }
body.product-single:has(#product-295191038) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { content: "عطر الشعر باودر"; }
body.product-single:not(.nv-pdp) #product-332251515 .main-content > salla-hook[name="product:single.description.start"]:empty::after { content: "العروض"; }
body.product-single:not(.nv-pdp) #product-332251515 .main-content > salla-hook[name="product:single.description"]:empty::before { content: "عطر شذى مع عود محسن هدية"; }
body.product-single:has(#product-332251515) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { content: "عرض اليوم الوطني: شذى + عود"; }
body.product-single:not(.nv-pdp) #product-384427613 .main-content > salla-hook[name="product:single.description.start"]:empty::after { content: "العروض"; }
body.product-single:not(.nv-pdp) #product-384427613 .main-content > salla-hook[name="product:single.description"]:empty::before { content: "بكج باودر مع عود محسن هدية"; }
body.product-single:has(#product-384427613) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { content: "عرض اليوم الوطني: باودر + عود"; }
body.product-single:not(.nv-pdp) #product-404950663 .main-content > salla-hook[name="product:single.description.start"]:empty::after { content: "العروض"; }
body.product-single:not(.nv-pdp) #product-404950663 .main-content > salla-hook[name="product:single.description"]:empty::before { content: "بكج أورا مع لبان عُماني"; }
body.product-single:has(#product-404950663) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { content: "عرض اليوم الوطني: أورا + لبان"; }
body.product-single:not(.nv-pdp) #product-568981403 .main-content > salla-hook[name="product:single.description.start"]:empty::after { content: "البكجات"; }
body.product-single:not(.nv-pdp) #product-568981403 .main-content > salla-hook[name="product:single.description"]:empty::before { content: "عطر مندلين وهير ميست مندلين في بكج واحد"; }
body.product-single:has(#product-568981403) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { content: "بكج مندلين"; }
body.product-single:not(.nv-pdp) #product-592299762 .main-content > salla-hook[name="product:single.description.start"]:empty::before { content: "MENDELIAN"; }
body.product-single:not(.nv-pdp) #product-592299762 .main-content > salla-hook[name="product:single.description.start"]:empty::after { content: "رائحة منعشة تدوم طويلًا"; }
body.product-single:not(.nv-pdp) #product-592299762 .main-content > salla-hook[name="product:single.description"]:empty::before { content: "أناقتكِ حتى في خصلات شعركِ"; }
body.product-single:has(#product-592299762) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { content: "عطر الشعر مندلين"; }
body.product-single:not(.nv-pdp) #product-600589086 .main-content > salla-hook[name="product:single.description.start"]:empty::after { content: "العروض"; }
body.product-single:not(.nv-pdp) #product-600589086 .main-content > salla-hook[name="product:single.description"]:empty::before { content: "بكج مندلين مع عود محسن هدية"; }
body.product-single:has(#product-600589086) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { content: "عرض اليوم الوطني: مندلين + عود"; }
body.product-single:not(.nv-pdp) #product-682352354 .main-content > salla-hook[name="product:single.description.start"]:empty::before { content: "POWDER"; }
body.product-single:not(.nv-pdp) #product-682352354 .main-content > salla-hook[name="product:single.description.start"]:empty::after { content: "العطور"; }
body.product-single:not(.nv-pdp) #product-682352354 .main-content > salla-hook[name="product:single.description"]:empty::before { content: "نعومة وترف مستوحاة من روائح البودرة"; }
body.product-single:has(#product-682352354) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { content: "عطر باودر"; }
body.product-single:not(.nv-pdp) #product-712590080 .main-content > salla-hook[name="product:single.description.start"]:empty::after { content: "لمسة شرقية من الفخامة"; }
body.product-single:not(.nv-pdp) #product-712590080 .main-content > salla-hook[name="product:single.description"]:empty::before { content: "خشب عود طبيعي مغمور بالزيوت العطرية"; }
body.product-single:has(#product-712590080) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { content: "عود مسقي"; }
body.product-single:not(.nv-pdp) #product-830674726 .main-content > salla-hook[name="product:single.description.start"]:empty::after { content: "البكجات"; }
body.product-single:not(.nv-pdp) #product-830674726 .main-content > salla-hook[name="product:single.description"]:empty::before { content: "عطر شذى وهير ميست شذى في بكج واحد"; }
body.product-single:has(#product-830674726) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { content: "بكج شذى"; }
body.product-single:not(.nv-pdp) #product-902219467 .main-content > salla-hook[name="product:single.description.start"]:empty::after { content: "مزيج الأناقة والجمال"; }
body.product-single:not(.nv-pdp) #product-902219467 .main-content > salla-hook[name="product:single.description"]:empty::before { content: "عطر التميّز والأناقة"; }
body.product-single:has(#product-902219467) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { content: "عطر مندلين"; }
body.product-single:not(.nv-pdp) #product-1064224491 .main-content > salla-hook[name="product:single.description.start"]:empty::after { content: "فخامة وتميّز لأي مكان"; }
body.product-single:not(.nv-pdp) #product-1064224491 .main-content > salla-hook[name="product:single.description"]:empty::before { content: "بخور من العود والزيوت العطرية"; }
body.product-single:has(#product-1064224491) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { content: "المعمول دوسري"; }
body.product-single:not(.nv-pdp) #product-1146134928 .main-content > salla-hook[name="product:single.description.start"]:empty::after { content: "تجربة عطرية فريدة"; }
body.product-single:not(.nv-pdp) #product-1146134928 .main-content > salla-hook[name="product:single.description"]:empty::before { content: "عطر باودر وهير ميست باودر في بكج واحد"; }
body.product-single:has(#product-1146134928) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { content: "بكج باودر"; }
body.product-single:not(.nv-pdp) #product-1530174103 .main-content > salla-hook[name="product:single.description.start"]:empty::after { content: "عينات للتجربة"; }
body.product-single:not(.nv-pdp) #product-1530174103 .main-content > salla-hook[name="product:single.description"]:empty::before { content: "عينات عطور للتجربة، سهلة الحمل"; }
body.product-single:has(#product-1530174103) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { content: "مجموعة العينات"; }
body.product-single:not(.nv-pdp) #product-1686714151 .main-content > salla-hook[name="product:single.description.start"]:empty::before { content: "SHATHA"; }
body.product-single:not(.nv-pdp) #product-1686714151 .main-content > salla-hook[name="product:single.description.start"]:empty::after { content: "العطور"; }
body.product-single:not(.nv-pdp) #product-1686714151 .main-content > salla-hook[name="product:single.description"]:empty::before { content: "عطر الفخامة والقوة"; }
body.product-single:has(#product-1686714151) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { content: "عطر شذى"; }
body.product-single:not(.nv-pdp) #product-2052491712 .main-content > salla-hook[name="product:single.description.start"]:empty::after { content: "العود"; }
body.product-single:not(.nv-pdp) #product-2052491712 .main-content > salla-hook[name="product:single.description"]:empty::before { content: "بخور عود بلمسات شرقية أصيلة"; }
body.product-single:has(#product-2052491712) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { content: "عود مروكي فاخر"; }
body.product-single:not(.nv-pdp) #product-5116704 .main-content > salla-hook[name="product:single.description.start"]:empty::after,
body.product-single:not(.nv-pdp) #product-74178397 .main-content > salla-hook[name="product:single.description.start"]:empty::after,
body.product-single:not(.nv-pdp) #product-592299762 .main-content > salla-hook[name="product:single.description.start"]:empty::after,
body.product-single:not(.nv-pdp) #product-682352354 .main-content > salla-hook[name="product:single.description.start"]:empty::after,
body.product-single:not(.nv-pdp) #product-1686714151 .main-content > salla-hook[name="product:single.description.start"]:empty::after { margin-inline-start: -2px; padding-inline-start: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7.07 7.07'%3E%3Cpath d='M3.535 0 7.07 3.535 3.535 7.07 0 3.535z' fill='%23AC791B'/%3E%3C/svg%3E") right .965px center / 7.07px 7.07px no-repeat; }
body.product-single:has(#product-5116704) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv]),
body.product-single:has(#product-74178397) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv]),
body.product-single:has(#product-295191038) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv]),
body.product-single:has(#product-332251515) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv]),
body.product-single:has(#product-384427613) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv]),
body.product-single:has(#product-404950663) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv]),
body.product-single:has(#product-568981403) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv]),
body.product-single:has(#product-592299762) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv]),
body.product-single:has(#product-600589086) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv]),
body.product-single:has(#product-682352354) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv]),
body.product-single:has(#product-712590080) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv]),
body.product-single:has(#product-830674726) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv]),
body.product-single:has(#product-902219467) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv]),
body.product-single:has(#product-1064224491) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv]),
body.product-single:has(#product-1146134928) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv]),
body.product-single:has(#product-1530174103) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv]),
body.product-single:has(#product-1686714151) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv]),
body.product-single:has(#product-2052491712) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv]) { visibility: hidden; position: relative; overflow: visible !important; }
body.product-single:has(#product-5116704) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before,
body.product-single:has(#product-74178397) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before,
body.product-single:has(#product-295191038) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before,
body.product-single:has(#product-332251515) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before,
body.product-single:has(#product-384427613) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before,
body.product-single:has(#product-404950663) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before,
body.product-single:has(#product-568981403) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before,
body.product-single:has(#product-592299762) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before,
body.product-single:has(#product-600589086) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before,
body.product-single:has(#product-682352354) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before,
body.product-single:has(#product-712590080) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before,
body.product-single:has(#product-830674726) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before,
body.product-single:has(#product-902219467) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before,
body.product-single:has(#product-1064224491) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before,
body.product-single:has(#product-1146134928) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before,
body.product-single:has(#product-1530174103) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before,
body.product-single:has(#product-1686714151) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before,
body.product-single:has(#product-2052491712) .s-breadcrumb-item:last-child:not(:has(a)):not([data-nv])::before { visibility: visible; position: absolute; inset-inline-start: 0; top: 0; white-space: nowrap; }
/* NV-FIRST:END */
/* =========================================================
   NOVALIA — «أكملي هالتك» (cross-sell) على صفحة المنتج (pdp-xsell) · من نموذج الوكيل 3 بعد اعتماده
   نفس لغة بطاقات «الأكثر طلبًا» في الرئيسية: ورقة عاجية، مسرح صورة بلون ناعم، اسم بسطر واحد، سعر، زر أيقونة 44px.
   جوال: شريط أفقي كتطبيق (بطاقتان وجزء). ديسكتوب: 4 بطاقات في صف.
   ========================================================= */
.nv-xs {
  --nv-xs-add: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 8.6h13.6l-.9 11.6H6.1L5.2 8.6z'/%3E%3Cpath d='M9 8.6V7.2a3 3 0 016 0v1.4'/%3E%3Cpath d='M12 11.8v5M9.5 14.3h5'/%3E%3C/svg%3E");
  --nv-xs-ok: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4.2 4.2 8.8-9.4'/%3E%3C/svg%3E");
  --nv-xs-go: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h10M4 12h16M4 17h10'/%3E%3Ccircle cx='17.5' cy='7' r='1.6'/%3E%3Ccircle cx='17.5' cy='17' r='1.6'/%3E%3C/svg%3E");
  --g: 20px; --gut: 20px;
  position: relative; margin: 64px 0 12px; font-family: var(--nv-font); color: var(--nv-ink); overflow-x: clip;
}
.nv-xs__in { width: min(1260px, calc(100% - 2 * var(--gut))); margin: 0 auto; } /* = عرض محتوى حاوية رائد فوقه (1440: 90…1350) */
.nv-xs__sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* رأس القسم: نفس نمط الرئيسية (سطر لاتيني بخط ذهبي ثم عنوان Alexandria 300). الأحجام من السلّم الموحّد في pdp.css (--nvp-*) */
.nv-xs__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.nv-xs__ttl { min-width: 0; }
.nv-xs__eyebrow { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 0 0 12px; font: 500 13px/1 var(--nv-latin); letter-spacing: .36em; color: var(--nv-gold-text); direction: ltr; }
.nv-xs__eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--nv-gold); }
.nv-xs__title { margin: 0; font: 300 var(--nvp-sec, 24px)/1.4 var(--nv-display); color: var(--nv-ink); white-space: nowrap; }
.nv-xs__title em { font-style: normal; font-weight: 500; color: var(--nv-gold-text); }
.nv-xs__note { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 6px; font: 400 14.5px/1.6 var(--nv-font); color: var(--nv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-xs__note::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--nv-gold); transform: rotate(45deg); }
.nv-xs.is-loading .nv-xs__note { visibility: hidden; }

/* الصف */
.nv-xs__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); margin: 0; padding: 0; list-style: none; }
.nv-xs__card {
  position: relative; display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 10px; border-radius: 24px;
  background: var(--nv-paper); border: 1px solid rgba(172, 121, 27, .13);
  transition: transform .7s var(--nv-ease), box-shadow .7s var(--nv-ease), border-color .6s var(--nv-ease);
}
.nv-xs__card:not(.is-skel):hover { transform: translateY(-4px); border-color: rgba(172, 121, 27, .34); box-shadow: 0 34px 44px -36px rgba(82, 44, 0, .55); }

/* مسرح الصورة */
.nv-xs__media {
  --bg: #F6E5D6; position: relative; display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 17px;
  background: radial-gradient(70% 60% at 50% 45%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 70%), var(--bg);
}
.nv-xs__card[data-tone="1"] .nv-xs__media { --bg: #F4E3BF; }
.nv-xs__card[data-tone="2"] .nv-xs__media { --bg: #FBEBDD; }
.nv-xs__card[data-tone="3"] .nv-xs__media { --bg: #F1DCCB; }
.nv-xs__media::after {
  content: ""; position: absolute; left: 50%; bottom: 8%; width: 52%; height: 7%; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(ellipse, rgba(82, 44, 0, .28) 0%, rgba(82, 44, 0, 0) 70%);
}
.nv-xs__img { position: relative; z-index: 1; display: block; width: auto; height: auto; max-width: 70%; max-height: 74%; margin-bottom: 11%; object-fit: contain; transition: transform .9s var(--nv-ease); }
.nv-xs__card[data-kind="mist"] .nv-xs__img { max-height: 66%; }
.nv-xs__card[data-kind="wide"] .nv-xs__img { max-width: 82%; max-height: 62%; margin-bottom: 12%; }
.nv-xs__card[data-kind="mid"] .nv-xs__img { max-width: 70%; max-height: 66%; }
.nv-xs__card[data-kind="photo"] .nv-xs__img { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; object-fit: cover; }
.nv-xs__card[data-kind="photo"] .nv-xs__media::after, .nv-xs__card.is-skel .nv-xs__media::after { content: none; }
.nv-xs__card:not(.is-skel):hover .nv-xs__img { transform: translateY(-6px) scale(1.04); }
.nv-xs__card[data-kind="photo"]:hover .nv-xs__img { transform: scale(1.03); }

/* المعلومات: كل سطر بارتفاع ثابت ⇒ الهيكل والبطاقة الحقيقية بنفس المقاس */
.nv-xs__info { display: flex; flex-direction: column; flex: 1; padding: 12px 6px 4px; }
.nv-xs__name { margin: 0 !important; font: 500 var(--nvp-card, 16px)/1.7 var(--nv-display) !important; color: var(--nv-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; height: 1.7em; } /* 1.7: نقاط الياء الأخيرة لا تُقص (كانت «مروكى») */
.nv-xs__name a { color: inherit !important; text-decoration: none !important; }
.nv-xs__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 24px; }
.nv-xs__name a:focus-visible { outline: none; }
.nv-xs__name a:focus-visible::after { outline: 2px solid var(--nv-gold); outline-offset: 3px; }
.nv-xs__why { margin: 0; font: 400 13.5px/1.7 var(--nv-font); color: var(--nv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; height: 1.7em; }
.nv-xs__buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.nv-xs__price { margin: 0; font: 500 var(--nvp-card-price, 17px)/1 var(--nv-display); color: var(--nv-ink); white-space: nowrap; }
.nv-xs__price span:not(.nv-xs__bar) { font: 400 14px/1 var(--nv-font); color: var(--nv-gold-text); margin-inline-start: 5px; }
.nv-xs__price del { font: 400 14px/1 var(--nv-font); color: var(--nv-muted); margin-inline-end: 7px; }

/* زر الأيقونة: سلة، ✓ بعد الإضافة، وأيقونة خيارات لمنتج يحتاج اختيارًا (رابط لصفحته) */
.nv-xs__add {
  position: relative; z-index: 2; flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(82, 44, 0, .3); background: transparent; color: var(--nv-brown) !important; text-decoration: none !important;
  transition: background .5s var(--nv-ease), color .5s var(--nv-ease), border-color .5s var(--nv-ease), transform .4s var(--nv-ease);
}
.nv-xs__add i { width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--nv-xs-add) center / contain no-repeat; mask: var(--nv-xs-add) center / contain no-repeat; }
.nv-xs__add[data-opt] i { -webkit-mask-image: var(--nv-xs-go); mask-image: var(--nv-xs-go); }
.nv-xs__card:not(.is-skel):hover .nv-xs__add, .nv-xs__add:focus-visible, .nv-xs__add.is-done { background: #522C00; border-color: #522C00; color: #FFF7EF !important; }
.nv-xs__add:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 2px; }
.nv-xs__add:active { transform: scale(.94); }
.nv-xs__add.is-busy { opacity: .55; pointer-events: none; }
.nv-xs__add.is-done i { -webkit-mask-image: var(--nv-xs-ok); mask-image: var(--nv-xs-ok); }

/* هيكل التحميل: نفس المقاسات، نبض شفافية هادئ */
.nv-xs__bar { display: inline-block; height: .8em; vertical-align: middle; border-radius: 6px; background: rgba(172, 121, 27, .14); }
.nv-xs__card.is-skel .nv-xs__media, .nv-xs__card.is-skel .nv-xs__bar, .nv-xs__card.is-skel .nv-xs__add { animation: nv-xs-pulse 1.4s ease-in-out infinite alternate; }
.nv-xs__card.is-skel .nv-xs__add { cursor: default; border-color: rgba(82, 44, 0, .14); }
@keyframes nv-xs-pulse { from { opacity: 1; } to { opacity: .55; } }
.nv-xs.is-ready .nv-xs__card { animation: nv-xs-in .7s var(--nv-ease) both; }
.nv-xs.is-ready .nv-xs__card:nth-child(2) { animation-delay: .06s; }
.nv-xs.is-ready .nv-xs__card:nth-child(3) { animation-delay: .12s; }
.nv-xs.is-ready .nv-xs__card:nth-child(4) { animation-delay: .18s; }
@keyframes nv-xs-in { from { opacity: 0; } to { opacity: 1; } }

/* ما يُخفى من الثيم بعد ظهور القسم (حسب C.hideNative) */
.nv-xs-hidden { display: none !important; }
/* إخفاء «كمّل طلبك» وكتل التطبيق المكررة: في pdp.css (من أول رسم) */

/* ---- تابلت: شريط أفقي ---- */
@media (max-width: 1023px) {
  .nv-xs { --w: clamp(190px, 29vw, 240px); --g: 14px; margin-top: 48px; }
  .nv-xs__row {
    display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 16px; scroll-padding-inline: var(--gut); /* الشريط يصل لحافة الشاشة والبطاقة الأولى على خط العنوان */
  }
  .nv-xs__row::-webkit-scrollbar { display: none; }
  .nv-xs__card { flex: 0 0 var(--w); scroll-snap-align: start; }
}
/* ---- جوال: مضغوط كتطبيق ---- */
@media (max-width: 767px) {
  .nv-xs { --w: min(42vw, 176px); --g: 9px; --gut: 12px; margin-top: 30px; }
  .nv-xs__head { margin-bottom: 8px; padding-inline: 4px; }
  .nv-xs__eyebrow { font-size: 13px; letter-spacing: .24em; margin-bottom: 6px; } /* 13px: لا نص تحت 13px (الرئيسية 11.5px) */
  .nv-xs__note { display: none; }
  .nv-xs__row { padding-top: 6px; padding-bottom: 14px; }
  .nv-xs__card { padding: 5px; border-radius: 18px; }
  .nv-xs__card:not(.is-skel):hover { transform: none; box-shadow: none; }
  .nv-xs__card:not(.is-skel):hover .nv-xs__img { transform: none; }
  .nv-xs__card:not(.is-skel):hover .nv-xs__add:not(.is-done) { background: transparent; border-color: rgba(82, 44, 0, .3); color: var(--nv-brown) !important; }
  .nv-xs__name a::after { border-radius: 18px; }
  .nv-xs__media { border-radius: 14px; }
  .nv-xs__info { padding: 8px 4px 2px; }
  .nv-xs__why { font-size: 13px; }
  .nv-xs__buy { padding-top: 6px; gap: 4px; }
  .nv-xs__price span:not(.nv-xs__bar) { font-size: 13px; margin-inline-start: 3px; }
  .nv-xs__price del { font-size: 13px; margin-inline-end: 5px; }
}
@media (max-width: 359px) { .nv-xs { --w: 44vw; } }
@media (prefers-reduced-motion: reduce) {
  .nv-xs *, .nv-xs.is-ready .nv-xs__card { transition: none !important; animation: none !important; }
}

/* الظهور من الأعلى إلى الأسفل: القسم ينتظر اكتمال زر الشراء فوقه (مثل صف الثقة والنوتات في pdp.css)، ثم يظهر بعدها بتلاشٍ. أمان: يظهر وحده بعد 12 ث */
/* r6: مرساة :has على حاوية المنتج لا على body (القسم يُدرج بعدها مباشرة: place)؛ :where تُبقي الأولوية (0,4,2) نفسها */
body.product-single :where(.container--product-details):not(:has(salla-add-product-button[data-testid="store-product-add-to-cart"].hydrated)) ~ .nv-xs { visibility: hidden; opacity: 0; animation: nv-xs-vis 0s linear 12s forwards; }
body.product-single .nv-xs { transition: opacity .6s var(--nv-ease, ease) .3s; }
@keyframes nv-xs-vis { to { visibility: visible; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { body.product-single .nv-xs { transition: none; } }

/* ---- نظام بطاقات واحد: بطاقات سلة («قد يعجبكِ أيضًا») بمظهر بطاقات «أكملي هالتك» نفسها ----
   pdp-xsell.js (NVXSCards) يضع المقصوصة النظيفة و data-nv-kind/tone؛ هنا المسرح والزوايا وأيقونة السلة نفسها */
body.product-single custom-salla-product-card.s-product-card-entry { padding: 10px !important; border-radius: 24px !important; transition: transform .7s var(--nv-ease), box-shadow .7s var(--nv-ease), border-color .6s var(--nv-ease); }
body.product-single custom-salla-product-card .s-product-card-image { border-radius: 17px !important; }
body.product-single custom-salla-product-card[data-nv-kind] .s-product-card-image {
  --bg: #F6E5D6; background: radial-gradient(70% 60% at 50% 45%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 70%), var(--bg) !important;
}
body.product-single custom-salla-product-card[data-nv-tone="1"] .s-product-card-image { --bg: #F4E3BF; }
body.product-single custom-salla-product-card[data-nv-tone="2"] .s-product-card-image { --bg: #FBEBDD; }
body.product-single custom-salla-product-card[data-nv-tone="3"] .s-product-card-image { --bg: #F1DCCB; }
body.product-single custom-salla-product-card[data-nv-kind] .s-product-card-image::after {
  content: ""; position: absolute; left: 50%; bottom: 8%; width: 52%; height: 7%; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse, rgba(82, 44, 0, .28) 0%, rgba(82, 44, 0, 0) 70%);
}
body.product-single custom-salla-product-card[data-nv-kind] .s-product-card-image > a { display: flex !important; align-items: flex-end; justify-content: center; }
body.product-single custom-salla-product-card[data-nv-kind] .s-product-card-image img {
  position: relative; z-index: 1; width: auto !important; height: auto !important; max-width: 70%; max-height: 74%; margin-bottom: 11%; object-fit: contain !important;
  background: transparent !important; opacity: 1 !important; transition: transform .9s var(--nv-ease);
}
body.product-single custom-salla-product-card[data-nv-kind="mist"] .s-product-card-image img { max-height: 66%; }
body.product-single custom-salla-product-card[data-nv-kind="wide"] .s-product-card-image img { max-width: 82%; max-height: 62%; margin-bottom: 12%; }
body.product-single custom-salla-product-card[data-nv-kind="mid"] .s-product-card-image img { max-width: 70%; max-height: 66%; }
/* أيقونة السلة نفسها (حقيبة +) بدل أيقونة خط الثيم */
body.product-single custom-salla-product-card .s-product-card-content-footer .s-button-text i { display: block; width: 20px; height: 20px; font-size: 0 !important; background: currentColor; -webkit-mask: var(--nv-pdp-i-bag) center / contain no-repeat; mask: var(--nv-pdp-i-bag) center / contain no-repeat; }
body.product-single custom-salla-product-card .s-product-card-content-footer .s-button-text i::before { content: none !important; }
@media (hover: hover) {
  body.product-single custom-salla-product-card.s-product-card-entry:hover { transform: translateY(-4px); border-color: rgba(172, 121, 27, .34) !important; box-shadow: 0 34px 44px -36px rgba(82, 44, 0, .55) !important; }
  body.product-single custom-salla-product-card[data-nv-kind]:hover .s-product-card-image img { transform: translateY(-6px) scale(1.04); }
}
@media (max-width: 767px) {
  body.product-single custom-salla-product-card.s-product-card-entry { padding: 5px !important; border-radius: 18px !important; }
  body.product-single custom-salla-product-card .s-product-card-image { border-radius: 14px !important; }
}
@media (prefers-reduced-motion: reduce) { body.product-single custom-salla-product-card.s-product-card-entry, body.product-single custom-salla-product-card .s-product-card-image img { transition: none !important; transform: none !important; } }
/* شارة العنوان الترويجي فوق المقصوصة تغطي رأس الزجاجة، وبطاقات «أكملي هالتك» بلا شارات: تُخفى هنا (تبقى في صفحة المنتج نفسه فوق الاسم) */
body.product-single custom-salla-product-card[data-nv-kind] .s-product-card-promotion-title { display: none !important; }
/* =========================================================
   NOVALIA — المدونة (blog) v2 (r2: سلّم خطوط موحّد وأهدأ) · صفحات القائمة والمقال فقط
   السلّم: ديسكتوب H1 30–34، H2 23، H3 18.5، نص 17/1.9، عناوين البطاقات 16.5–17، مساعد 13–13.5 · جوال H1 22–24، H2 19.5، H3 16.5، نص 15.5، بطاقات 15، مساعد 13.
   Alexandria للعناوين الكبيرة فقط (300–400)، وIBM Plex للبطاقات والعناوين الصغيرة (500–600). لا نص أصغر من 13px.
   CSS أولًا: التنسيق يعمل على DOM ثيم رائد نفسه من أول رسم (بلا وميض ولا قفز)،
   والجافاسكربت (blog.js) يضيف فقط: رأس الصفحة، مدة القراءة، الفهرس، «منتجات ذكرناها»، المشاركة، «مقالات أخرى».
   كل المحددات تحت body.blog-index | blog-index-category | blog-index-tag | blog-index-author | blog-single،
   والمكوّنات المضافة بادئتها nv-bl- / nv-art- / nv-toc / nv-bcard.
   ========================================================= */
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author, .blog-single) {
  --nv-bl-go: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 12H7m4-4l-4 4 4 4'/%3E%3C/svg%3E");
  --nv-bl-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
  --nv-bl-head-h: 186px;
}
/* المحتوى لا يقل عن ارتفاع الشاشة: الفوتر لا يظهر لحظة ثم يُدفع */
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author, .blog-single) #main-content { min-height: 100vh; }

/* ---------- عناصر مشتركة ---------- */
.nv-bl-eyebrow { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 0 0 12px; font: 500 12px/1 var(--nv-latin); letter-spacing: .32em; color: var(--nv-gold-text); direction: ltr; white-space: nowrap; }
.nv-bl-eyebrow::after { content: ""; flex: none; width: 34px; height: 1px; background: var(--nv-gold); }
.nv-bl-h { margin: 0; font: 300 clamp(21px, 1.8vw, 24px)/1.4 var(--nv-display); color: var(--nv-ink); white-space: nowrap; }
.nv-bl-h em { font-style: normal; font-weight: 500; color: var(--nv-gold-text); }
.nv-bl-link {
  display: inline-flex; align-items: center; gap: 12px; flex: none; height: 48px; padding-inline: 22px 6px; border-radius: 999px; white-space: nowrap; text-decoration: none !important;
  border: 1px solid var(--nv-line); font: 500 14.5px/1 var(--nv-font); color: var(--nv-ink) !important; background: transparent;
  transition: background .4s var(--nv-ease), border-color .4s var(--nv-ease);
}
.nv-bl-link i { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--nv-ink); flex: none; transition: transform .5s var(--nv-ease); }
.nv-bl-link i::before { content: ""; position: absolute; inset: 0; background: var(--nv-ivory); -webkit-mask: var(--nv-bl-go) center / 20px no-repeat; mask: var(--nv-bl-go) center / 20px no-repeat; }
.nv-bl-link:hover { background: var(--nv-cream); border-color: var(--nv-gold); }
.nv-bl-link:hover i { transform: translateX(-4px); }
/* قوائمنا: بلا نقاط/أرقام الثيم */
:is(.nv-toc, .nv-art-prods__list, .nv-art-share__row, .nv-art-more__list) { list-style: none !important; }
:is(.nv-toc, .nv-art-prods__list, .nv-art-share__row, .nv-art-more__list) li { list-style: none !important; }
:is(.nv-toc, .nv-art-prods__list, .nv-art-share__row, .nv-art-more__list) li::marker { content: none; }
/* المسار (salla-breadcrumb): ارتفاع محجوز قبل تشغيل المكوّن فلا يدفع الصفحة 20px، وروابط بمساحة لمس 44px دون تغيير التخطيط */
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author, .blog-single) #main-content salla-breadcrumb { display: block; min-height: 24px; font: 400 13.5px/24px var(--nv-font); color: var(--nv-muted); }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author, .blog-single) #main-content salla-breadcrumb ol { margin: 0; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author, .blog-single) #main-content salla-breadcrumb a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; margin-block: -10px; color: var(--nv-muted) !important; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author, .blog-single) #main-content salla-breadcrumb a:hover { color: var(--nv-gold-text) !important; }
.nv-bl-link:focus-visible, .nv-bcard__a:focus-visible, .nv-toc a:focus-visible, .nv-toc summary:focus-visible, .nv-art-share__btn:focus-visible, .nv-pc a:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 3px; }

/* =========================================================
   1) صفحة القائمة (المدونة، التصنيف، الوسم، الكاتب)
   ========================================================= */
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) #main-content > .container {
  width: min(1320px, calc(100% - 40px)); max-width: none; margin: 0 auto; padding: 0 0 88px;
}
/* سطر المسار + حجز مكان رأس الصفحة حتى يضيفه blog.js (فلا تقفز البطاقات) */
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) #main-content > .container > .center-between { justify-content: flex-start; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author):not(.nv-blog-on) #main-content > .container > .center-between {
  margin-bottom: var(--nv-bl-head-h); animation: nv-bl-unhold 0s linear 6s forwards;
}
@keyframes nv-bl-unhold { to { margin-bottom: 0; } }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .cat-filter { display: none !important; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) #main-content > .container > .grid { display: block; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) #main-content .main-content { width: 100%; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .blog-category__title { display: none; }
/* السلايدر يكرر البطاقات نفسها: المقال المميز يحل محله */
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) :is(#blog-home-slider, salla-slider.blog-slider) { display: none !important; }

/* رأس الصفحة (يُضاف بالجافاسكربت، بارتفاع ثابت يساوي المكان المحجوز) */
.nv-bl-head { display: block; height: var(--nv-bl-head-h); padding: 0 0 24px; box-sizing: border-box; }
/* لوحة العنوان نفسها المستخدمة في صفحات الأقسام (plp): تدرّج عاجي، حد ذهبي خفيف، سطر لاتيني 12px بخط رفيع قبله */
.nv-bl-head > div {
  display: flex; flex-direction: column; justify-content: center; height: 100%; min-width: 0; padding: 0 40px; box-sizing: border-box; border-radius: 28px; overflow: hidden;
  background: radial-gradient(55% 120% at 8% 0%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 62%), linear-gradient(120deg, #FFF7EE 0%, #FCEBDA 52%, #F6DCC6 100%);
  border: 1px solid var(--nv-line-soft);
}
.nv-bl-head .nv-bl-eyebrow { margin: 0 0 12px; font-size: 12px; letter-spacing: .32em; }
.nv-bl-head__h { margin: 0; font: 300 clamp(30px, 2.3vw, 33px)/1.4 var(--nv-display); color: var(--nv-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-bl-head__h em { font-style: normal; font-weight: 500; color: var(--nv-gold-text); }
.nv-bl-head__p { margin: 4px 0 0; font: 400 14.5px/1.75 var(--nv-font); color: var(--nv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* شريط التصنيفات: يظهر فقط إن وُجد تصنيفان أو أكثر */
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) #filters-menu {
  display: block !important; position: static; margin: -14px 0 26px; padding: 0; top: auto;
}
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) #filters-menu:not(:has(li + li)) { display: none !important; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) #filters-menu > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) #filters-menu ul { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) #filters-menu ul::-webkit-scrollbar { display: none; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) #filters-menu li { flex: none; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) #filters-menu a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--nv-line-soft); background: var(--nv-paper); font: 500 14px/1 var(--nv-font); color: var(--nv-ink) !important;
  transition: background .35s var(--nv-ease), border-color .35s var(--nv-ease);
}
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) #filters-menu a:hover { border-color: var(--nv-gold); }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) #filters-menu a[aria-current] { background: var(--nv-brown); border-color: var(--nv-brown); color: var(--nv-ivory) !important; }

/* الشبكة */
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll {
  display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; margin: 0;
}

/* ذيل القائمة (مكوّن الثيم): «لا يوجد المزيد» لا يظهر، وزر «عرض المزيد» بالنمط الهادئ (blog.js يحمّل الصفحة التالية مبكرًا فلا يُدفع الفوتر) */
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .s-infinite-scroll-wrapper { display: flex; justify-content: center; margin: 0; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .s-infinite-scroll-last { display: none !important; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .s-infinite-scroll-status { margin: 0; font: 400 13.5px/1.6 var(--nv-font); color: var(--nv-muted); }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .s-infinite-scroll-btn { min-height: 46px; margin: 26px 0 0; padding: 0 26px; border-radius: 999px; border: 1px solid var(--nv-line) !important; background: transparent !important; box-shadow: none !important; font: 500 14.5px/1 var(--nv-font); color: var(--nv-ink) !important; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .s-infinite-scroll-btn:hover { background: var(--nv-cream) !important; border-color: var(--nv-gold) !important; }

/* البطاقة (DOM الثيم كما هو) */
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry {
  position: relative; display: flex; flex-direction: column; height: auto; padding: 8px; border-radius: 24px; overflow: visible;
  background: var(--nv-paper) !important; border: 1px solid rgba(172, 121, 27, .13); box-shadow: none !important;
  transition: border-color .5s var(--nv-ease), box-shadow .6s var(--nv-ease), transform .6s var(--nv-ease);
}
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry:hover { border-color: rgba(172, 121, 27, .34); box-shadow: 0 30px 44px -36px rgba(82, 44, 0, .5) !important; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry__image {
  position: relative; display: block; width: 100%; height: auto !important; aspect-ratio: 2.4 / 1; flex: none; border-radius: 17px; overflow: hidden;
  background: linear-gradient(135deg, #FFF1E2 0%, #FBDDC3 60%, #EFCFB4 100%) !important; opacity: 1 !important;
}
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry__image img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--nv-ease);
}
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry:hover .post-entry__image img { transform: scale(1.035); }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry > .flex-1 { display: flex; flex-direction: column; padding: 14px 10px 8px; }
/* سطر التاريخ + مدة القراءة: ارتفاع ثابت، والإضافة في آخره فلا يتحرك شيء */
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry > .flex-1 > div:first-child {
  order: 2; display: flex; align-items: center; gap: 0; height: 22px; margin: 8px 0 0; overflow: hidden; white-space: nowrap;
  font: 400 13px/1 var(--nv-font); color: var(--nv-muted) !important;
}
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry > .flex-1 > div:first-child > * { margin: 0 !important; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry > .flex-1 > div:first-child i,
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry > .flex-1 > div:first-child > a { display: none !important; }
.nv-bl-rt { display: inline-flex; align-items: center; }
.nv-bl-rt::before { content: ""; width: 4px; height: 4px; margin-inline: 10px; background: var(--nv-gold); transform: rotate(45deg); opacity: .8; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry__title {
  order: 1; margin: 0; font: 500 17px/1.65 var(--nv-font) !important; color: var(--nv-ink) !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.3em;
}
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry__title a { color: inherit !important; text-decoration: none; }
/* البطاقة كلها رابط واحد (رابط العنوان ممدود) */
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 24px; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry__title a:focus-visible { outline: none; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry__title a:focus-visible::after { outline: 2px solid var(--nv-gold); outline-offset: 2px; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry > .flex-1 > p { display: none; }
/* الوسوم كثيرة ومكررة: مخفية في القائمة */
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry > .flex-1 ~ div { display: none !important; }

/* شارة الموضوع فوق الغلاف في الزاوية اليسرى (لا تأخذ مكانًا في التخطيط، ولا تغطي علامة «مدونة نوفاليا» في أغلفتنا) */
.nv-bl-chip {
  position: absolute; z-index: 2; inset-block-start: 10px; inset-inline-end: 10px; display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
  border-radius: 999px; background: rgba(255, 251, 246, .9); border: 1px solid rgba(172, 121, 27, .2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 500 13px/1 var(--nv-font); color: var(--nv-gold-text); white-space: nowrap; pointer-events: none;
}

/* المقال المميز: أحدث مقال بعرض الشبكة */
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll > .post-entry:first-child {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); align-items: center; column-gap: 8px; padding: 10px; border-radius: 30px;
  background: radial-gradient(70% 120% at 0% 0%, rgba(249, 218, 190, .55), rgba(249, 218, 190, 0) 70%), var(--nv-paper) !important;
}
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll > .post-entry:first-child .post-entry__image { border-radius: 22px; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll > .post-entry:first-child > .flex-1 { padding: 18px 30px 18px 26px; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll > .post-entry:first-child > .flex-1::before {
  content: "أحدث مقال"; order: 0; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 500 13px/1 var(--nv-font); color: var(--nv-gold-text);
}
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll > .post-entry:first-child .post-entry__title {
  font: 400 clamp(20px, 1.7vw, 24px)/1.55 var(--nv-display) !important; -webkit-line-clamp: 3; min-height: 0;
}
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll > .post-entry:first-child > .flex-1 > p {
  order: 3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 14px 0 0;
  font: 400 15px/1.8 var(--nv-font) !important; color: var(--nv-muted) !important;
}
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll > .post-entry:first-child > .flex-1 > div:first-child { order: 2; margin-top: 12px; }
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll > .post-entry:first-child > .flex-1::after {
  content: "اقرئي المقال"; order: 4; align-self: flex-start; display: inline-flex; align-items: center; height: 46px; margin-top: 22px; padding-inline: 22px 50px; border-radius: 999px;
  background: var(--nv-brown) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF7EF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 12H7m4-4l-4 4 4 4'/%3E%3C/svg%3E") no-repeat left 18px center / 20px;
  font: 500 14.5px/1 var(--nv-font); color: var(--nv-ivory); transition: background-position .5s var(--nv-ease);
}
body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll > .post-entry:first-child:hover > .flex-1::after { background-position: left 14px center; }

/* حالة فارغة */
.nv-bl-empty {
  display: grid; justify-items: center; gap: 10px; margin: 0 auto; padding: 56px 24px 60px; max-width: 640px; text-align: center; border-radius: 30px;
  background: radial-gradient(60% 90% at 50% 0%, rgba(249, 218, 190, .6), rgba(249, 218, 190, 0) 72%), var(--nv-paper); border: 1px solid rgba(172, 121, 27, .14);
}
.nv-bl-empty__mark { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--nv-line); display: grid; place-items: center; margin-bottom: 6px; }
.nv-bl-empty__mark::before { content: ""; width: 9px; height: 9px; background: var(--nv-gold); transform: rotate(45deg); }
.nv-bl-empty h2 { margin: 0; font: 300 clamp(21px, 1.8vw, 24px)/1.45 var(--nv-display); color: var(--nv-ink); }
.nv-bl-empty p { margin: 0 0 14px; font: 400 15px/1.8 var(--nv-font); color: var(--nv-muted); max-width: 44ch; }
body.nv-bl-is-empty #main-content .main-content > :not(.nv-bl-empty) { display: none !important; }

/* =========================================================
   2) صفحة المقال
   ========================================================= */
body.blog-single #main-content > .container { width: min(1180px, calc(100% - 40px)); max-width: none; margin: 0 auto; padding: 0 0 80px; }
body.blog-single #main-content > .container > nav.breadcrumbs { justify-content: flex-start; padding-block: 18px 22px; }
body.blog-single #main-content > .container > div:not(.breadcrumbs) { display: block !important; }
body.blog-single aside[aria-label="Sidebar"] { display: none !important; }
body.blog-single .main-content.blog-category {
  --nv-col: 68ch;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--nv-col)) minmax(0, 1fr); column-gap: 44px; align-items: start;
  width: 100% !important; margin: 0 !important; padding: 0 !important; border-radius: 0; background: transparent !important; font-size: 17px;
}
body.blog-single .main-content.blog-category > h1 {
  grid-column: 1 / 3; grid-row: 1; max-width: 880px; margin: 0; font: 300 clamp(30px, 2.5vw, 34px)/1.45 var(--nv-display) !important; color: var(--nv-ink); text-wrap: balance;
  /* سطران محجوزان: تبديل الخط عند التحميل لا يدفع الغلاف (CLS)، والنص يستقر أسفل المساحة */
  min-height: 2.9em; display: flex; flex-direction: column; justify-content: flex-end;
}
body.blog-single .main-content.blog-category > h1 + div {
  grid-column: 1 / 3; grid-row: 2; display: flex !important; align-items: center; height: 24px; margin: 14px 0 26px !important; white-space: nowrap; overflow: hidden;
  font: 400 13.5px/1 var(--nv-font); color: var(--nv-muted) !important;
}
body.blog-single .main-content.blog-category > h1 + div > * { margin: 0 !important; }
body.blog-single .main-content.blog-category > h1 + div i,
body.blog-single .main-content.blog-category > h1 + div > a { display: none !important; }
body.blog-single .main-content.blog-category > img {
  grid-column: 1 / -1; grid-row: 3; width: 100%; height: auto !important; aspect-ratio: 2.4 / 1; object-fit: cover; margin: 0 0 44px !important; border-radius: 26px;
  background: linear-gradient(135deg, #FFF1E2 0%, #FBDDC3 60%, #EFCFB4 100%);
}

/* نص المقال: عمود قراءة ~68ch */
body.blog-single .main-content.blog-category > article {
  grid-column: 2; grid-row: 4; min-width: 0; margin: 0 !important;
  font: 400 17px/1.9 var(--nv-font) !important; color: #2A211A; overflow-wrap: break-word;
}
/* ألوان وخلفيات ملصوقة من المحرر: تُلغى (والجافاسكربت يحذف السمات نفسها) */
body.blog-single .main-content.blog-category > article [style] { color: inherit !important; background: transparent !important; font-family: inherit !important; }
body.blog-single .main-content.blog-category > article :is(span, strong, b, em, i, u, font)[style] { font-size: inherit !important; }
body.blog-single .main-content.blog-category > article :is(p, li, h1, h2, h3, h4, h5, h6) { text-align: start; }
body.blog-single .main-content.blog-category > article p { margin: 0 0 1.15em; }
body.blog-single .main-content.blog-category > article p:empty { display: none; }
/* H1 أول النص يكرر عنوان الصفحة (مقالات قديمة): مخفي من أول رسم، وblog.js يحذفه — H1 واحد في الصفحة */
body.blog-single .main-content.blog-category > article > h1:first-child { display: none; }
body.blog-single .main-content.blog-category > article strong, body.blog-single .main-content.blog-category > article b { font-weight: 500; color: var(--nv-ink); }
body.blog-single .main-content.blog-category > article :is(h1, h2) {
  position: relative; margin: 1.9em 0 .55em; padding-top: 18px; font: 400 23px/1.55 var(--nv-display); color: var(--nv-ink); scroll-margin-top: 110px;
}
body.blog-single .main-content.blog-category > article :is(h1, h2)::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; width: 30px; height: 1px; background: var(--nv-gold); }
body.blog-single .main-content.blog-category > article > :is(h1, h2):first-child { margin-top: 0; }
body.blog-single .main-content.blog-category > article :is(h3, h4, h5, h6) { margin: 1.45em 0 .45em; font: 600 18.5px/1.6 var(--nv-font); color: var(--nv-ink); scroll-margin-top: 110px; }
body.blog-single .main-content.blog-category > article :is(h4, h5, h6) { font-size: 17px; }
body.blog-single .main-content.blog-category > article :is(h1, h2, h3, h4, h5, h6) :is(strong, b) { font-weight: inherit; color: inherit; }
body.blog-single .main-content.blog-category > article a { color: var(--nv-gold-text) !important; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(172, 121, 27, .45); text-underline-offset: 5px; transition: text-decoration-color .3s; }
body.blog-single .main-content.blog-category > article a:hover { text-decoration-color: var(--nv-gold); }
body.blog-single .main-content.blog-category > article :is(ul, ol) { margin: 0 0 1.3em; padding: 0; list-style: none !important; }
body.blog-single .main-content.blog-category > article li { list-style: none !important; }
body.blog-single .main-content.blog-category > article li::marker { content: none; }
body.blog-single .main-content.blog-category > article li { position: relative; margin: 0 0 .6em; padding-inline-start: 24px; }
body.blog-single .main-content.blog-category > article ul > li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .78em; width: 6px; height: 6px; background: var(--nv-gold); transform: rotate(45deg); }
body.blog-single .main-content.blog-category > article ol { counter-reset: nv-ol; }
body.blog-single .main-content.blog-category > article ol > li { counter-increment: nv-ol; padding-inline-start: 34px; }
body.blog-single .main-content.blog-category > article ol > li::before { content: counter(nv-ol, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: .2em; font: 500 17px/1.6 var(--nv-latin); font-variant-numeric: lining-nums; color: var(--nv-gold-text); }
body.blog-single .main-content.blog-category > article blockquote {
  position: relative; margin: 1.7em 0; padding: 22px 26px 22px 22px; border: 0; border-inline-start: 2px solid var(--nv-gold); border-radius: 0 18px 18px 0;
  background: rgba(254, 230, 206, .45); font: 300 18px/1.85 var(--nv-display); color: var(--nv-ink); quotes: none;
}
body.blog-single .main-content.blog-category > article blockquote p:last-child { margin-bottom: 0; }
body.blog-single .main-content.blog-category > article img { display: block; max-width: 100%; height: auto; margin: 1.6em auto; border-radius: 20px; }
body.blog-single .main-content.blog-category > article hr { margin: 2.2em auto; width: 60px; border: 0; border-top: 1px solid var(--nv-gold); }
body.blog-single .main-content.blog-category > article table { width: 100%; margin: 0 0 1.4em; border-collapse: collapse; font-size: 15px; }
body.blog-single .main-content.blog-category > article :is(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--nv-line-soft); text-align: start; }
/* الوسوم أسفل المقال: كثيرة ومكررة — مخفية */
body.blog-single .main-content.blog-category > article ~ div:not([class^="nv-"]) { display: none !important; }

/* الفهرس: الغلاف nv-toc-wrap يملأ صف المقال، فيبقى الفهرس الثابت داخل حدود المقال ولا يتجاوزه إلى الأقسام التالية */
.nv-toc-wrap { grid-column: 1; grid-row: 4; align-self: stretch; min-width: 0; }
.nv-toc { position: sticky; top: 104px; margin: 0; font-family: var(--nv-font); }
.nv-toc summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: default; font: 500 15px/1.3 var(--nv-font); color: var(--nv-ink); }
.nv-toc summary::-webkit-details-marker { display: none; }
.nv-toc summary small { font: 400 13px/1 var(--nv-font); color: var(--nv-muted); }
.nv-toc summary i { display: none; }
.nv-toc ol { margin: 6px 0 0; padding: 0; list-style: none; border-inline-start: 1px solid var(--nv-line-soft); max-height: calc(100vh - 170px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--nv-champagne) transparent; }
.nv-toc li { margin: 0; }
.nv-toc a {
  position: relative; display: flex; gap: 10px; align-items: baseline; min-height: 44px; padding: 10px 16px 10px 0; padding-inline: 16px 4px; box-sizing: border-box;
  font: 400 13.5px/1.6 var(--nv-font); color: var(--nv-muted) !important; text-decoration: none; transition: color .3s var(--nv-ease);
}
.nv-toc a b { flex: none; font: 500 14.5px/1 var(--nv-latin); font-variant-numeric: lining-nums; color: var(--nv-gold-text); }
.nv-toc a::before { content: ""; position: absolute; inset-inline-start: -1px; top: 10px; bottom: 10px; width: 2px; background: var(--nv-gold); transform: scaleY(0); transition: transform .4s var(--nv-ease); }
.nv-toc a:hover, .nv-toc a.is-on { color: var(--nv-ink) !important; }
.nv-toc a.is-on::before { transform: none; }

/* الأقسام المضافة أسفل المقال */
.nv-art-sec { grid-column: 2; min-width: 0; margin-top: 52px; }
.nv-art-sec--wide { grid-column: 1 / -1; }
.nv-art-tags { grid-row: 5; }
.nv-art-prods { grid-row: 6; }
.nv-art-share { grid-row: 7; }
.nv-art-more { grid-row: 8; }
.nv-art-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.nv-art-sec__head > div { min-width: 0; }

/* وسوم المقال (فقط إن كانت قليلة ونظيفة — blog.js): حبوب هادئة، ومساحة اللمس 44px */
.nv-art-tags { margin-top: 30px; }
.nv-art-tags ul { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0; padding: 0; list-style: none !important; }
.nv-art-tags li { list-style: none !important; margin: 0; }
.nv-art-tags a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none !important; }
.nv-art-tags a span { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--nv-line-soft); background: var(--nv-paper); font: 400 13.5px/1 var(--nv-font); color: var(--nv-muted); white-space: nowrap; transition: border-color .35s var(--nv-ease), color .35s var(--nv-ease); }
.nv-art-tags a span::before { content: "#"; margin-inline-end: 3px; color: var(--nv-gold); }
.nv-art-tags a:hover span { border-color: var(--nv-gold); color: var(--nv-ink); }
.nv-art-tags a:focus-visible { outline: none; }
.nv-art-tags a:focus-visible span { outline: 2px solid var(--nv-gold); outline-offset: 2px; }

/* منتجات ذكرناها */
.nv-art-prods__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.nv-pc { min-width: 0; }
.nv-pc a {
  display: flex; align-items: center; gap: 14px; height: 100%; padding: 8px; padding-inline-end: 16px; border-radius: 20px; text-decoration: none !important; box-sizing: border-box;
  background: var(--nv-paper); border: 1px solid rgba(172, 121, 27, .14); color: var(--nv-ink) !important; transition: border-color .4s var(--nv-ease), box-shadow .5s var(--nv-ease);
}
.nv-pc a:hover { border-color: rgba(172, 121, 27, .4); box-shadow: 0 22px 30px -26px rgba(82, 44, 0, .5); }
.nv-pc__img { flex: none; width: 76px; height: 76px; border-radius: 15px; overflow: hidden; background: var(--nv-cream); }
.nv-pc__img img { width: 100%; height: 100%; object-fit: cover; }
.nv-pc__txt { display: grid; gap: 3px; min-width: 0; }
.nv-pc__name { font: 500 15px/1.45 var(--nv-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-pc__sub { font: 400 13px/1.4 var(--nv-font); color: var(--nv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-pc__price { margin-top: 3px; font: 600 14.5px/1 var(--nv-font); color: var(--nv-gold-text); white-space: nowrap; }
.nv-pc__price span { font-weight: 400; font-size: 13px; }
.nv-pc.is-skel .nv-pc__img, .nv-pc.is-skel .nv-pc__price { background: linear-gradient(90deg, var(--nv-cream), #FFF3E6, var(--nv-cream)); }
.nv-pc.is-skel .nv-pc__price { width: 60px; height: 14px; border-radius: 6px; }

/* المشاركة */
.nv-art-share { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 0; border-block: 1px solid var(--nv-line-soft); }
.nv-art-share__t { margin: 0; font: 500 14.5px/1.3 var(--nv-font); color: var(--nv-ink); white-space: nowrap; }
.nv-art-share__row { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.nv-art-share__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--nv-line); background: transparent; font: 500 13.5px/1 var(--nv-font); color: var(--nv-ink) !important; text-decoration: none !important; white-space: nowrap;
  transition: background .35s var(--nv-ease), border-color .35s var(--nv-ease);
}
.nv-art-share__btn:hover { background: var(--nv-cream); border-color: var(--nv-gold); }
.nv-art-share__btn i { width: 18px; height: 18px; flex: none; background: var(--nv-brown); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.nv-art-share__btn.is-done { background: var(--nv-brown); border-color: var(--nv-brown); color: var(--nv-ivory) !important; }
.nv-art-share__btn.is-done i { background: var(--nv-ivory); }
.nv-art-share__live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* مقالات أخرى (وبطاقة المقال المبنية بالجافاسكربت) */
.nv-art-more__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.nv-bcard { min-width: 0; }
.nv-bcard__a {
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 8px; border-radius: 24px; box-sizing: border-box; text-decoration: none !important;
  background: var(--nv-paper); border: 1px solid rgba(172, 121, 27, .13); color: var(--nv-ink) !important; transition: border-color .5s var(--nv-ease), box-shadow .6s var(--nv-ease);
}
.nv-bcard__a:hover { border-color: rgba(172, 121, 27, .34); box-shadow: 0 30px 44px -36px rgba(82, 44, 0, .5); }
.nv-bcard__img { position: relative; display: block; aspect-ratio: 2.4 / 1; border-radius: 17px; overflow: hidden; background: linear-gradient(135deg, #FFF1E2 0%, #FBDDC3 60%, #EFCFB4 100%); }
.nv-bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--nv-ease); }
.nv-bcard__a:hover .nv-bcard__img img { transform: scale(1.035); }
.nv-bcard__t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.3em; margin: 14px 10px 0; font: 500 16.5px/1.65 var(--nv-font); }
.nv-bcard__meta { display: flex; align-items: center; height: 22px; margin: 8px 10px 6px; overflow: hidden; white-space: nowrap; font: 400 13px/1 var(--nv-font); color: var(--nv-muted); }

/* ---------- تابلت ---------- */
@media (max-width: 1099px) {
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll > .post-entry:first-child { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll > .post-entry:first-child > .flex-1 { padding: 12px 20px 12px 16px; }

  body.blog-single .main-content.blog-category { grid-template-columns: minmax(0, 1fr); justify-items: stretch; max-width: 720px; margin-inline: auto !important; }
  body.blog-single .main-content.blog-category > * { grid-column: 1 !important; }
  body.blog-single .main-content.blog-category > h1 { font-size: 27px !important; }
  .nv-bl-head__h { font-size: 28px; }
  body.blog-single .main-content.blog-category > img { margin-bottom: 22px !important; border-radius: 22px; }
  /* مكان الفهرس المطوي محجوز حتى يضيفه blog.js */
  body.blog-single:not(.nv-blog-on) .main-content.blog-category::before {
    content: ""; grid-column: 1; grid-row: 4; height: 54px; margin-bottom: 26px; animation: nv-bl-toc-out 0s linear 6s forwards;
  }
  @keyframes nv-bl-toc-out { to { height: 0; margin: 0; } }
  body.blog-single .main-content.blog-category > article { grid-row: 5; }
  .nv-toc-wrap { grid-row: 4; align-self: start; }
  .nv-toc { position: static; margin-bottom: 26px; border-radius: 18px; background: var(--nv-paper); border: 1px solid rgba(172, 121, 27, .16); }
  .nv-toc summary { min-height: 52px; padding: 0 18px; cursor: pointer; }
  .nv-toc summary i { display: block; width: 20px; height: 20px; margin-inline-start: auto; background: var(--nv-gold-text); -webkit-mask: var(--nv-bl-chev) center / contain no-repeat; mask: var(--nv-bl-chev) center / contain no-repeat; transition: transform .4s var(--nv-ease); }
  .nv-toc[open] summary i { transform: rotate(180deg); }
  .nv-toc ol { margin: 0 18px 12px; max-height: none; overflow: visible; }
  .nv-art-tags { grid-row: 6; } .nv-art-prods { grid-row: 7; } .nv-art-share { grid-row: 8; } .nv-art-more { grid-row: 9; }
  .nv-art-more__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nv-art-more__list > li:nth-child(3) { display: none; }
}

/* ---------- جوال: مضغوط كتطبيق ---------- */
@media (max-width: 767px) {
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author, .blog-single) { --nv-bl-head-h: 130px; }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) #main-content > .container { width: calc(100% - 24px); padding-bottom: 48px; }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) #main-content > .container > .center-between nav.breadcrumbs { padding-block: 12px 4px; }
  .nv-bl-head { padding: 6px 0 14px; }
  .nv-bl-head > div { padding: 0 16px; border-radius: 22px; }
  .nv-bl-head .nv-bl-eyebrow { font-size: 12px; letter-spacing: .28em; margin-bottom: 8px; }
  .nv-bl-head__h { font-size: 24px; line-height: 1.4; }
  .nv-bl-head__p { margin-top: 2px; font-size: 13.5px; line-height: 1.6; }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) #filters-menu { margin: -4px -12px 16px; }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) #filters-menu ul { padding-inline: 12px; }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) #filters-menu a { padding: 0 15px; font-size: 13.5px; }

  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry { padding: 6px; border-radius: 20px; }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry__image { border-radius: 15px; }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry > .flex-1 { padding: 10px 8px 6px; }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry__title { font-size: 15px !important; line-height: 1.65; min-height: 0; }   /* عمود واحد: لا حاجة لحجز سطرين */
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry__title a::after { border-radius: 20px; }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry > .flex-1 > div:first-child { margin-top: 4px; }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll > .post-entry:first-child { display: flex; padding: 6px; border-radius: 22px; }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll > .post-entry:first-child > .flex-1 { padding: 12px 8px 8px; }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll > .post-entry:first-child > .flex-1::before { margin-bottom: 8px; }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll > .post-entry:first-child .post-entry__title { font-size: 17px !important; line-height: 1.6; -webkit-line-clamp: 3; min-height: 0; }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll > .post-entry:first-child > .flex-1 > p { margin-top: 8px; font-size: 14px !important; line-height: 1.75 !important; }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) salla-infinite-scroll > .post-entry:first-child > .flex-1::after { display: none; }
  .nv-bl-chip { height: 26px; padding: 0 10px; inset-block-start: 8px; inset-inline-end: 8px; }
  .nv-bl-empty { padding: 40px 18px 44px; border-radius: 24px; }

  body.blog-single #main-content > .container { width: calc(100% - 32px); padding-bottom: 48px; }
  body.blog-single #main-content > .container > nav.breadcrumbs { padding-block: 12px 14px; }
  body.blog-single .main-content.blog-category { font-size: 15.5px; }
  body.blog-single .main-content.blog-category > h1 { font-size: 24px !important; line-height: 1.5; min-height: 4.5em; }
  body.blog-single .main-content.blog-category > h1 + div { margin: 10px 0 16px !important; font-size: 13px; }
  body.blog-single .main-content.blog-category > img { width: calc(100% + 8px); margin-inline: -4px !important; margin-bottom: 18px !important; border-radius: 18px; }
  body.blog-single .main-content.blog-category > article { font-size: 15.5px !important; line-height: 1.9 !important; }
  body.blog-single .main-content.blog-category > article :is(h1, h2) { font-size: 19.5px; margin-top: 1.7em; padding-top: 14px; scroll-margin-top: 84px; }
  body.blog-single .main-content.blog-category > article :is(h3, h4, h5, h6) { font-size: 16.5px; scroll-margin-top: 84px; }
  body.blog-single .main-content.blog-category > article :is(h4, h5, h6) { font-size: 16px; }
  body.blog-single .main-content.blog-category > article ol > li::before { font-size: 16px; }
  body.blog-single .main-content.blog-category > article blockquote { padding: 16px 18px; font-size: 16.5px; }
  body.blog-single:not(.nv-blog-on) .main-content.blog-category::before { height: 52px; margin-bottom: 18px; }
  .nv-toc { margin-bottom: 18px; border-radius: 16px; }
  .nv-toc summary { min-height: 50px; padding: 0 14px; font-size: 14.5px; }
  .nv-toc ol { margin: 0 14px 10px; }
  .nv-toc a { font-size: 14px; line-height: 1.55; }
  .nv-art-sec { margin-top: 36px; }
  .nv-art-tags { margin-top: 20px; }
  .nv-art-tags a span { font-size: 13px; padding: 0 12px; }
  .nv-art-sec__head { margin-bottom: 12px; }
  .nv-bl-eyebrow { font-size: 12px; letter-spacing: .28em; margin-bottom: 6px; }
  .nv-bl-eyebrow::after { width: 28px; }
  .nv-bl-h { font-size: clamp(19px, 5.2vw, 20.5px); line-height: 1.4; }
  .nv-bl-link { height: 44px; padding: 0 4px; border: 0; gap: 4px; font-size: 13.5px; color: var(--nv-gold-text) !important; background: none !important; }
  .nv-bl-link i { width: 24px; height: 24px; background: none; }
  .nv-bl-link i::before { background: var(--nv-gold-text); }
  /* منتجات ومقالات: صف أفقي ينزلق كتطبيق */
  .nv-art-prods__list, .nv-art-more__list {
    display: flex; gap: 10px; margin: 0 -16px; padding: 2px 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .nv-art-prods__list::-webkit-scrollbar, .nv-art-more__list::-webkit-scrollbar { display: none; }
  .nv-art-prods__list > li { flex: 0 0 min(82%, 290px); scroll-snap-align: start; }
  .nv-art-prods__list > li:only-child { flex-basis: 100%; }
  .nv-art-more__list > li { flex: 0 0 min(80%, 300px); scroll-snap-align: start; }
  .nv-art-more__list > li:nth-child(3) { display: block; }
  .nv-pc__img { width: 64px; height: 64px; border-radius: 13px; }
  .nv-art-share { padding: 12px 0; gap: 10px; }
  .nv-art-share__t { font-size: 14px; }
  .nv-art-share__row { gap: 6px; }
  .nv-art-share__btn { padding: 0 12px; font-size: 13.5px; }
  .nv-art-share__btn--x span, .nv-art-share__btn--wa span { display: none; }
  .nv-bcard__a { padding: 6px; border-radius: 20px; }
  .nv-bcard__img { border-radius: 15px; }
  .nv-bcard__t { font-size: 15px; margin: 10px 8px 0; }
  .nv-bcard__meta { margin: 6px 8px 4px; }
}
@media (max-width: 359px) {
  .nv-art-share__btn--copy span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry, body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry__image img,
  .nv-bcard__a, .nv-bcard__img img, .nv-toc a::before, .nv-bl-link i { transition: none !important; }
  body:is(.blog-index, .blog-index-category, .blog-index-tag, .blog-index-author) .post-entry:hover .post-entry__image img, .nv-bcard__a:hover .nv-bcard__img img { transform: none; }
}
/* =========================================================
   NOVALIA — صفحات الأقسام ونتائج البحث (plp) · body.product-index / body.product-index-search
   - رأس القسم: نفس سطر العنوان في رائد (h1 + الترتيب) يصير لوحة كريمية بلا إزاحة:
     السطر اللاتيني والوصف عبر ::before/::after بمتغيّرين يضبطهما plp.js، والشرائح والصور مطلقة داخل مساحة محجوزة.
   - البطاقات: لغة بطاقات «الأكثر طلبًا» و«أكملي هالتك»: ورقة عاجية، مسرح بلون ناعم، مقصوصة، اسم بسطر واحد، سعر، زر أيقونة.
   - r2: يشمل كل صفحات القوائم (القسم، البحث، أحدث المنتجات /latest-products، التخفيضات /offers) عبر body[class*="product-index"].
     سلّم الطباعة الموحّد (ديسكتوب: عنوان 30–33، اسم 15.5، سعر 17، شرائح 14، لاتيني 12 · جوال: عنوان 23، اسم 14، سعر 15.5، شرائح 13.5).
     لا إزاحة: ارتفاع محجوز لمسار التنقل واللوحة والقائمة + بطاقتان هيكليتان (CSS فقط) حتى تصل المنتجات، ثم ظهور متتابع من الأعلى للأسفل.
   ========================================================= */
body.nv-plp, body[class*="product-index"] { --nv-pl-r: 28px; }

/* ---------- مسار التنقل ---------- */
body[class*="product-index"] .container--breadcrumbs nav.breadcrumbs { box-sizing: border-box; min-height: var(--nv-pl-bc, 47px); padding: 14px 0 12px !important; }
body[class*="product-index"] .s-breadcrumb-item, body[class*="product-index"] .s-breadcrumb-item a { font: 400 13px/1.6 var(--nv-font) !important; color: var(--nv-muted) !important; }
body[class*="product-index"] .s-breadcrumb-item:last-child { color: var(--nv-gold-text) !important; }

/* ---------- رأس القسم (سطر العنوان الأصلي) ---------- */
body[class*="product-index"] .main-content > div:has(> #page-main-title) {
  position: relative; isolation: isolate; display: grid !important; grid-template-columns: minmax(0, 1fr); align-content: start; justify-items: start;
  margin: 0 0 24px !important; padding: 32px 40px 92px; min-height: 232px; border-radius: var(--nv-pl-r); overflow: hidden;
  background:
    radial-gradient(55% 120% at 8% 0%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(120deg, #FFF7EE 0%, #FCEBDA 52%, #F6DCC6 100%);
  border: 1px solid var(--nv-line-soft);
}
/* السطر اللاتيني فوق العنوان (PERFUMES ——) */
body[class*="product-index"] .main-content > div:has(> #page-main-title)::before {
  content: var(--nv-pl-eb, "THE COLLECTION"); display: block; margin: 0 0 12px; padding-left: 46px; direction: ltr;
  font: 500 12px/1 var(--nv-latin); letter-spacing: .32em; color: var(--nv-gold-text); white-space: nowrap;
  background: linear-gradient(var(--nv-gold), var(--nv-gold)) no-repeat left center / 34px 1px;
}
/* سطر الوصف تحت العنوان: سطر واحد محجوز دائمًا (لا إزاحة حين يملؤه plp.js) */
body[class*="product-index"] .main-content > div:has(> #page-main-title)::after {
  content: var(--nv-pl-tag, ""); display: block; max-width: min(560px, 100%); min-height: 1.75em; margin: 4px 0 0;
  font: 400 14.5px/1.75 var(--nv-font); color: var(--nv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body[class*="product-index"] #page-main-title {
  display: flex; align-items: center; gap: 12px; max-width: min(640px, 100%); margin: 0 !important; padding: 0 !important;
  font: 300 clamp(30px, 2.3vw, 33px)/1.4 var(--nv-display) !important; color: var(--nv-ink) !important; white-space: nowrap;
}
body[class*="product-index"] #page-main-title > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
body[class*="product-index"] #page-main-title .nv-pl-t { font-weight: 300; }
body[class*="product-index"] #page-main-title .nv-pl-t em { font-style: normal; font-weight: 500; color: var(--nv-gold-text); }
body[class*="product-index"] #page-main-title .nv-pl-n {
  flex: none; display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px;
  background: rgba(255, 251, 246, .8); border: 1px solid var(--nv-line-soft); font: 500 13px/1 var(--nv-display); color: var(--nv-gold-text); overflow: visible;
}

/* الترتيب: حبة في أسفل اللوحة (نهاية السطر) */
body[class*="product-index"] .main-content > div:has(> #page-main-title) > div:not(.nv-pl-decor) {
  position: absolute !important; z-index: 3; bottom: 20px; inset-inline-end: 40px; margin: 0 !important;
}
body[class*="product-index"] .main-content > div:has(> #page-main-title) > div:not(.nv-pl-decor) label { display: none !important; }
body[class*="product-index"] #product-filter {
  -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 168px; height: 44px; margin: 0 !important; padding: 0 18px 0 36px !important; border-radius: 999px !important;
  /* مساحة اللمس 44px والحبة المرئية 38px: حدّ شفاف علوي/سفلي + خلفية مقصوصة على padding-box + إطار بظل داخلي */
  border: solid transparent !important; border-width: 3px 0 !important; background-clip: padding-box !important; box-shadow: inset 0 0 0 1px var(--nv-line) !important;
  cursor: pointer; text-overflow: ellipsis; white-space: nowrap;
  font: 400 13.5px/38px var(--nv-display) !important; color: var(--nv-ink) !important;
  background: #FFFBF6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A520F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4v16M4 7l3-3 3 3M17 20V4M14 17l3 3 3-3'/%3E%3C/svg%3E") no-repeat left 14px center / 16px !important;
}
body[class*="product-index"] #product-filter:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 2px; }
body[class*="product-index"] .nv-pl-nosort > div:not(.nv-pl-decor) { display: none !important; }

/* شرائح الأقسام (يبنيها plp.js) داخل المساحة المحجوزة أسفل اللوحة · اللمس 44px والحبة المرئية 38px */
.nv-pl-bar {
  position: absolute; z-index: 2; bottom: 20px; inset-inline-start: 40px; inset-inline-end: calc(40px + 168px + 16px); height: 44px;
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -webkit-mask: linear-gradient(to left, #000 calc(100% - 28px), transparent); mask: linear-gradient(to left, #000 calc(100% - 28px), transparent);
}
.nv-pl-nosort .nv-pl-bar { inset-inline-end: 40px; }
.nv-pl-bar::-webkit-scrollbar { display: none; }
.nv-pl-bar li { flex: none; }
.nv-pl-chip {
  box-sizing: border-box; display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px; white-space: nowrap; text-decoration: none !important;
  border: solid transparent; border-width: 3px 0; background: rgba(255, 251, 246, .72) padding-box; box-shadow: inset 0 0 0 1px var(--nv-line-soft);
  font: 400 14px/1 var(--nv-display); color: var(--nv-ink) !important;
  transition: background-color .4s var(--nv-ease), box-shadow .4s var(--nv-ease), color .4s var(--nv-ease);
}
.nv-pl-chip:hover { box-shadow: inset 0 0 0 1px var(--nv-line); background-color: #FFFBF6; }
.nv-pl-chip:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: -1px; }
.nv-pl-chip[aria-current] { background-color: var(--nv-brown); box-shadow: inset 0 0 0 1px var(--nv-brown); color: #FFF7EF !important; }

/* صور زخرفية من منتجات القسم نفسه (ديسكتوب فقط) */
.nv-pl-decor { display: none; }
@media (min-width: 1024px) {
  .nv-pl-decor {
    position: absolute; z-index: 0; top: 14px; bottom: 70px; inset-inline-end: 56px; width: 340px; display: flex; align-items: flex-end; justify-content: center; pointer-events: none;
  }
  .nv-pl-decor::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 50%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, .35) 62%, rgba(255, 255, 255, 0) 100%);
    box-shadow: 0 0 0 1px rgba(172, 121, 27, .14), 0 0 0 16px rgba(255, 255, 255, .18), 0 0 0 17px rgba(172, 121, 27, .1);
  }
  .nv-pl-decor img { position: relative; display: block; width: auto; height: auto; max-height: 82%; max-width: 40%; margin: 0 -3% 4%; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(82, 44, 0, .2)); }
  .nv-pl-decor img:nth-child(2), .nv-pl-decor img:nth-child(3) { max-height: 64%; max-width: 32%; }
  .nv-pl-decor img:nth-child(2) { order: -1; }
  .nv-pl-decor[data-n="1"] img { max-width: 56%; max-height: 86%; }
  /* ارتفاع ثابت للوحة القسم سواء وصلت الصور الزخرفية أم لا (كان يقفز 27px عند وصولها) */
  body[class*="product-index"]:not(.product-index-search) .main-content > div:has(> #page-main-title) { min-height: 256px; }
  .nv-pl-hasdecor #page-main-title, .nv-pl-hasdecor::after { max-width: min(560px, 58%) !important; }
}

/* ---------- الشبكة ---------- */
body[class*="product-index"] .s-products-list-wrapper.s-products-list-vertical-cards {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 22px !important; margin: 0 !important;
}
@media (max-width: 1100px) { body[class*="product-index"] .s-products-list-wrapper.s-products-list-vertical-cards { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 18px !important; } }
@media (max-width: 767px) { body[class*="product-index"] .s-products-list-wrapper.s-products-list-vertical-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; } }

/* ---------- البطاقة ---------- */
body[class*="product-index"] .s-product-card-entry {
  --bg: #F6E5D6; position: relative; display: flex !important; flex-direction: column; min-width: 0; height: auto !important; margin: 0 !important; padding: 10px !important;
  border-radius: 24px !important; background: var(--nv-paper) !important; border: 1px solid rgba(172, 121, 27, .13) !important; box-shadow: none !important; overflow: visible !important;
  transition: transform .7s var(--nv-ease), box-shadow .7s var(--nv-ease), border-color .6s var(--nv-ease);
}
@media (hover: hover) {
  body[class*="product-index"] .s-product-card-entry:hover { transform: translateY(-4px); border-color: rgba(172, 121, 27, .34) !important; box-shadow: 0 34px 44px -36px rgba(82, 44, 0, .55) !important; }
}
body[class*="product-index"] .s-product-card-image {
  position: relative; flex: none !important; width: 100% !important; height: auto !important; max-height: none !important; min-height: 0 !important; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 17px !important;
  background: radial-gradient(70% 60% at 50% 45%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 70%), var(--bg) !important;
}
body[class*="product-index"] .s-product-card-image > a { position: absolute !important; inset: 0; display: flex !important; align-items: flex-end; justify-content: center; }
body[class*="product-index"] .s-product-card-image img {
  display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover !important; border-radius: 0 !important; transition: transform .9s var(--nv-ease), opacity .5s;
}
/* مقصوصة نوفاليا بدل صورة المتجر (data-cut من plp.js) */
body[class*="product-index"] .s-product-card-entry[data-cut] .s-product-card-image::after {
  content: ""; position: absolute; left: 50%; bottom: 8%; width: 52%; height: 7%; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse, rgba(82, 44, 0, .28) 0%, rgba(82, 44, 0, 0) 70%);
}
body[class*="product-index"] .s-product-card-entry[data-cut] .s-product-card-image img {
  position: relative; z-index: 1; width: auto !important; height: auto !important; max-width: 70%; max-height: 74%; margin-bottom: 11%; object-fit: contain !important;
}
body[class*="product-index"] .s-product-card-entry[data-kind="mist"] .s-product-card-image img { max-height: 66%; }
body[class*="product-index"] .s-product-card-entry[data-kind="wide"] .s-product-card-image img { max-width: 82%; max-height: 62%; margin-bottom: 12%; }
body[class*="product-index"] .s-product-card-entry[data-kind="mid"] .s-product-card-image img { max-width: 70%; max-height: 66%; }
@media (hover: hover) {
  body[class*="product-index"] .s-product-card-entry[data-cut]:hover .s-product-card-image img { transform: translateY(-6px) scale(1.04); }
  body[class*="product-index"] .s-product-card-entry:not([data-cut]):hover .s-product-card-image img { transform: scale(1.03); }
}
/* شارة العرض (كانت حمراء) · r7: أصغر وسطر واحد دائمًا حتى لا تغطي المنتج */
body[class*="product-index"] .s-product-card-promotion-title {
  position: absolute !important; z-index: 2; top: 8px !important; inset-inline-start: 8px !important; right: auto; left: auto; bottom: auto !important;
  max-width: calc(100% - 64px); padding: 4px 9px !important; border-radius: 999px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: rgba(255, 251, 246, .9) !important; border: 1px solid var(--nv-line-soft); color: var(--nv-gold-text) !important; font: 400 11.5px/1.5 var(--nv-display) !important;
}
/* المفضلة: دائرة زجاجية صغيرة */
body[class*="product-index"] salla-button.s-product-card-wishlist-btn { position: absolute !important; z-index: 2; top: 6px !important; inset-inline-end: 6px !important; right: auto; left: auto; }
body[class*="product-index"] button.s-product-card-wishlist-btn {
  width: 44px !important; height: 44px !important; padding: 0 !important; border-radius: 999px !important; border: 0 !important; background: transparent !important; box-shadow: none !important;
  display: grid !important; place-items: center;
}
body[class*="product-index"] button.s-product-card-wishlist-btn .s-button-text {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: rgba(255, 251, 246, .86); border: 1px solid var(--nv-line-soft); color: var(--nv-brown);
}
body[class*="product-index"] button.s-product-card-wishlist-btn i { font-size: 16px !important; color: var(--nv-brown) !important; }
body[class*="product-index"] button.s-product-card-wishlist-btn:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: -2px; }

/* المحتوى: الاسم في سطر، ثم السعر وزر الإضافة في سطر */
body[class*="product-index"] .s-product-card-content {
  display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main main" "sub foot"; align-items: center; gap: 2px 10px;
  flex: 1; align-content: space-between; padding: 10px 6px 4px !important; margin: 0 !important; text-align: start;
}
body[class*="product-index"] .s-product-card-content-main { grid-area: main; position: relative; min-width: 0; margin: 0 !important; padding: 0 0 20px; }
/* الوصف المختصر تحت الاسم (مثل بكج أورا) يُخفى: البطاقة سطر اسم + سطر لاتيني فقط */
body[class*="product-index"] .s-product-card-content-main > :not(.s-product-card-content-title):not(.nv-pl-sub) { display: none !important; }
body[class*="product-index"] .s-product-card-content-title {
  /* سطر واحد للأسماء المنظّفة؛ اسم خام طويل (منتج جديد بلا بيانات) يلتف إلى سطرين بدل القص، وبطاقات الصف تتساوى بالتمدد */
  margin: 0 !important; min-height: 1.7em; max-height: 3.4em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; overflow-wrap: anywhere; font: 500 15.5px/1.7 var(--nv-display) !important; color: var(--nv-ink) !important;
}
body[class*="product-index"] .s-product-card-content-title a { color: inherit !important; text-decoration: none !important; }
/* r3b: هدف لمس رابط الاسم كان 20px ارتفاعًا ⇒ يمتد على خانة الاسم كلها (الاسم + السطر اللاتيني) + 10px فوقها، بلا تغيير في الشكل.
   المرجع content-main (position: relative) لا العنوان، فلا يقصّه overflow: hidden */
body[class*="product-index"] .s-product-card-content-title a::after { content: ""; position: absolute; inset: -10px 0 0 0; }
body[class*="product-index"] .nv-pl-sub {
  position: absolute; bottom: 2px; inset-inline-start: 0; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; direction: ltr;
  font: 500 12px/1.4 var(--nv-latin); letter-spacing: .22em; color: var(--nv-gold-text); text-transform: uppercase;
}
body[class*="product-index"] .s-product-card-content-sub { grid-area: sub; min-width: 0; margin: 0 !important; padding: 0 !important; display: flex !important; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
body[class*="product-index"] .s-product-card-price,
body[class*="product-index"] .s-product-card-sale-price h4 { margin: 0 !important; font: 500 17px/1.2 var(--nv-display) !important; color: var(--nv-ink) !important; white-space: nowrap; }
body[class*="product-index"] .s-product-card-entry i.sicon-sar { display: none !important; }
body[class*="product-index"] .s-product-card-price::after,
body[class*="product-index"] .s-product-card-sale-price h4::after { content: "ر.س"; margin-inline-start: 5px; font: 400 13px/1 var(--nv-font); color: var(--nv-gold-text); }
body[class*="product-index"] .s-product-card-sale-price { display: flex; align-items: baseline; gap: 8px; }
body[class*="product-index"] .s-product-card-sale-price span { font: 400 13px/1 var(--nv-font) !important; color: var(--nv-muted) !important; text-decoration: line-through; white-space: nowrap; }

/* زر الإضافة: أيقونة 44px مثل «أكملي هالتك» */
body[class*="product-index"] .s-product-card-content-footer { grid-area: foot; min-width: 44px; min-height: 44px; margin: 0 !important; padding: 0 !important; display: flex !important; justify-content: flex-end; }
body[class*="product-index"] .s-product-card-content-footer salla-add-product-button,
body[class*="product-index"] .s-product-card-content-footer salla-add-product-button > div,
body[class*="product-index"] .s-product-card-content-footer salla-button { display: block; width: auto !important; }
body[class*="product-index"] .s-product-card-content-footer button.s-button-element {
  position: relative; display: grid !important; place-items: center; width: 44px !important; height: 44px !important; min-width: 0 !important; padding: 0 !important;
  border-radius: 999px !important; border: 1px solid rgba(82, 44, 0, .3) !important; background: transparent !important; color: var(--nv-brown) !important; box-shadow: none !important;
  transition: background .35s var(--nv-ease), border-color .35s var(--nv-ease), color .35s var(--nv-ease), transform .2s;
}
body[class*="product-index"] .s-product-card-content-footer button.s-button-element .s-button-text { font-size: 0 !important; line-height: 0; }
body[class*="product-index"] .s-product-card-content-footer button.s-button-element .s-button-text > * { display: none !important; }
body[class*="product-index"] .s-product-card-content-footer button.s-button-element:not(.s-button-loading) .s-button-text::before {
  content: ""; display: block; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 8.6h13.6l-.9 11.6H6.1L5.2 8.6z'/%3E%3Cpath d='M9 8.6V7.2a3 3 0 016 0v1.4'/%3E%3Cpath d='M12 11.8v5M9.5 14.3h5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 8.6h13.6l-.9 11.6H6.1L5.2 8.6z'/%3E%3Cpath d='M9 8.6V7.2a3 3 0 016 0v1.4'/%3E%3Cpath d='M12 11.8v5M9.5 14.3h5'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (hover: hover) {
  body[class*="product-index"] .s-product-card-entry:hover .s-product-card-content-footer button.s-button-element:not([disabled]) { background: var(--nv-brown) !important; border-color: var(--nv-brown) !important; color: #FFF7EF !important; }
}
body[class*="product-index"] .s-product-card-content-footer button.s-button-element:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 2px; }
body[class*="product-index"] .s-product-card-content-footer button.s-button-element:active { transform: scale(.94); }
/* نفدت الكمية: نص صغير بدل الأيقونة، وصورة أهدأ */
body[class*="product-index"] .s-product-card-content-footer salla-add-product-button[product-status="out"] button.s-button-element {
  width: auto !important; padding: 0 14px !important; border-color: var(--nv-line) !important; color: var(--nv-muted) !important; cursor: not-allowed;
}
body[class*="product-index"] .s-product-card-content-footer salla-add-product-button[product-status="out"] .s-button-text { font-size: 0 !important; line-height: 1 !important; }
body[class*="product-index"] .s-product-card-content-footer salla-add-product-button[product-status="out"] .s-button-text::before {
  content: "نفدت" !important; width: auto !important; height: auto !important; background: none !important; -webkit-mask: none !important; mask: none !important;
  font: 500 13px/1 var(--nv-display); color: var(--nv-muted);
}
body[class*="product-index"] .s-product-card-entry:has(salla-add-product-button[product-status="out"]) .s-product-card-image img { opacity: .62; }

/* نهاية القائمة / عرض المزيد */
body[class*="product-index"] .s-infinite-scroll-last { display: none !important; }
body[class*="product-index"] .s-infinite-scroll-error { font: 400 14px/1.7 var(--nv-font) !important; color: var(--nv-muted) !important; }
body[class*="product-index"] .s-infinite-scroll-btn,
body[class*="product-index"] salla-products-list button.s-button-element:not(.s-product-card-wishlist-btn):not([product-id]) {
  height: 48px !important; padding: 0 28px !important; border-radius: 999px !important; border: 1px solid var(--nv-line) !important; background: #FFFBF6 !important;
  color: var(--nv-brown) !important; font: 500 14.5px/1 var(--nv-display) !important; box-shadow: none !important;
}
body[class*="product-index"] .container--products-list { padding-bottom: 32px; }

/* ---------- الجوال ---------- */
@media (max-width: 767px) {
  body[class*="product-index"] .main-content > div:has(> #page-main-title) { min-height: 0; padding: 18px 16px 72px; margin-bottom: 14px !important; border-radius: 22px; }
  body[class*="product-index"] .main-content > div:has(> #page-main-title)::before { margin-bottom: 8px; font-size: 12px; letter-spacing: .28em; padding-left: 38px; background-size: 28px 1px; }
  body[class*="product-index"] .main-content > div:has(> #page-main-title)::after { font-size: 13.5px; margin-top: 2px; }
  body[class*="product-index"] #page-main-title { gap: 8px; font-size: 24px !important; }
  body[class*="product-index"] #page-main-title .nv-pl-n { height: 26px; padding: 0 10px; }
  body[class*="product-index"] .main-content > div:has(> #page-main-title) > div:not(.nv-pl-decor) { bottom: 12px; inset-inline-end: 12px; }
  body[class*="product-index"] #product-filter { width: 112px; height: 44px; padding: 0 12px 0 32px !important; border-width: 4px 0 !important; font-size: 13px !important; line-height: 36px !important; background-position: left 11px center !important; }
  .nv-pl-bar { bottom: 12px; inset-inline-start: 12px; inset-inline-end: calc(12px + 112px + 8px); gap: 6px; }
  .nv-pl-nosort .nv-pl-bar { inset-inline-end: 0; padding-inline-end: 12px; }
  .nv-pl-chip { padding: 0 14px; border-width: 4px 0; font-size: 13.5px; }
  body[class*="product-index"] .s-product-card-entry { padding: 8px !important; border-radius: 20px !important; }
  body[class*="product-index"] .s-product-card-image { border-radius: 14px !important; }
  body[class*="product-index"] .s-product-card-content { padding: 8px 4px 2px !important; gap: 0 6px; }
  body[class*="product-index"] .s-product-card-content-main { padding-bottom: 18px; }
  body[class*="product-index"] .s-product-card-content-title { font-size: 14px !important; }
  body[class*="product-index"] .nv-pl-sub { letter-spacing: .14em; }
  body[class*="product-index"] .s-product-card-price,
  body[class*="product-index"] .s-product-card-sale-price h4 { font-size: 15.5px !important; }
  body[class*="product-index"] .s-product-card-price::after,
  body[class*="product-index"] .s-product-card-sale-price h4::after { font-size: 13px; margin-inline-start: 3px; }
  /* الشارة على الجوال · r7: سطر واحد صغير بجوار زر المفضلة (كانت تلتف لسطرين فتغطي أعلى المنتج) */
  body[class*="product-index"] .s-product-card-promotion-title { top: 7px !important; inset-inline-start: 7px !important; max-width: calc(100% - 44px); padding: 3px 7px !important; font-size: 10.5px !important; }
  body[class*="product-index"] salla-button.s-product-card-wishlist-btn { top: 4px !important; inset-inline-end: 4px !important; }
  body[class*="product-index"] button.s-product-card-wishlist-btn .s-button-text { width: 32px; height: 32px; }
  body[class*="product-index"] button.s-product-card-wishlist-btn i { font-size: 14px !important; }
}
@media (max-width: 359px) {
  body[class*="product-index"] .s-product-card-content-title { font-size: 13.5px !important; }
  body[class*="product-index"] .s-product-card-price, body[class*="product-index"] .s-product-card-sale-price h4 { font-size: 15px !important; }
  body[class*="product-index"] .s-products-list-wrapper.s-products-list-vertical-cards { gap: 10px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body[class*="product-index"] .s-product-card-entry, body[class*="product-index"] .s-product-card-image img { transition: none !important; }
  body[class*="product-index"] .s-product-card-entry:hover, body[class*="product-index"] .s-product-card-entry:hover .s-product-card-image img { transform: none !important; }
}

/* ---------- قسم بلا منتجات ---------- */
body[class*="product-index"] .s-products-list-placeholder { display: flex !important; flex-direction: column; align-items: center; gap: 14px; padding: 40px 16px 24px !important; text-align: center; }
body[class*="product-index"] .s-products-list-placeholder > span {
  display: grid !important; place-items: center; width: 108px !important; height: 108px !important; border-radius: 50% !important;
  background: radial-gradient(closest-side, #FFFBF6, #F8E4CF) !important; box-shadow: 0 0 0 1px var(--nv-line-soft), 0 0 0 12px rgba(255, 251, 246, .6); color: var(--nv-gold) !important;
}
body[class*="product-index"] .s-products-list-placeholder > span svg { width: 44px !important; height: 44px !important; }
body[class*="product-index"] .s-products-list-placeholder > span svg, body[class*="product-index"] .s-products-list-placeholder > span svg path { fill: var(--nv-gold) !important; }
body[class*="product-index"] .s-products-list-placeholder > p { margin: 6px 0 0 !important; font-size: 0 !important; line-height: 0 !important; }
body[class*="product-index"] .s-products-list-placeholder > p::before { content: "لا منتجات في هذا القسم حاليًا"; display: block; font: 500 16px/1.7 var(--nv-display); color: var(--nv-ink); }
.nv-pl-empty-cta {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px; border-radius: 999px; text-decoration: none !important;
  background: var(--nv-brown); color: #FFF7EF !important; font: 500 14.5px/1 var(--nv-display); box-shadow: 0 18px 30px -22px rgba(82, 44, 0, .9);
}
.nv-pl-empty-cta:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 2px; }

/* =========================================================
   r2 — بلا وميض وبلا إزاحة
   ========================================================= */
/* السطر اللاتيني والوصف من CSS مباشرة (قبل وصول plp.js) بحسب نوع الصفحة ورقم القسم؛ plp.js يضبط القيم نفسها لأي قسم جديد */
body.product-index-search .main-content > div:has(> #page-main-title) { --nv-pl-eb: "SEARCH"; --nv-pl-tag: "كل ما يطابق بحثكِ في نوفاليا"; }
body.product-index-latest .main-content > div:has(> #page-main-title) { --nv-pl-eb: "NEW IN"; --nv-pl-tag: "أحدث ما وصل إلى نوفاليا"; }
body.product-index-offers .main-content > div:has(> #page-main-title) { --nv-pl-eb: "OFFERS"; --nv-pl-tag: "عروض نوفاليا الحالية"; }
.main-content:has(salla-products-list[source-value="1297361043"]) > div:has(> #page-main-title) { --nv-pl-eb: "PERFUMES"; --nv-pl-tag: "عطور نوفاليا… اختاري الأقرب لحضورك"; }
.main-content:has(salla-products-list[source-value="663995803"]) > div:has(> #page-main-title) { --nv-pl-eb: "SIGNATURE"; --nv-pl-tag: "إصدارات خاصة بتوقيع نوفاليا"; }
.main-content:has(salla-products-list[source-value="564325009"]) > div:has(> #page-main-title) { --nv-pl-eb: "HAIR MIST"; --nv-pl-tag: "لمسة عطرية ناعمة لشعرك من نوفاليا"; }
.main-content:has(salla-products-list[source-value="672370070"]) > div:has(> #page-main-title) { --nv-pl-eb: "GIFT SETS"; --nv-pl-tag: "عطر وهير ميست في بكج واحد… لكِ أو للإهداء"; }
.main-content:has(salla-products-list:is([source-value="1149664624"], [source-value="1506693474"], [source-value="1929444463"])) > div:has(> #page-main-title) { --nv-pl-eb: "OUD"; --nv-pl-tag: "عود فاخر لمجلسك ومناسباتك"; }
.main-content:has(salla-products-list[source-value="1289752367"]) > div:has(> #page-main-title) { --nv-pl-eb: "MAAMOUL"; --nv-pl-tag: "معمول للتبخير بلمسة نوفاليا"; }
.main-content:has(salla-products-list[source-value="768223040"]) > div:has(> #page-main-title) { --nv-pl-eb: "GIFT BOXES"; --nv-pl-tag: "بوكسات مختارة من نوفاليا للإهداء"; }
.main-content:has(salla-products-list:is([source-value="2080313000"], [source-value="664882346"])) > div:has(> #page-main-title) { --nv-pl-eb: "DISCOVERY SET"; --nv-pl-tag: "جرّبي عطور نوفاليا قبل أن تختاري"; }
.main-content:has(salla-products-list[source-value="872681391"]) > div:has(> #page-main-title) { --nv-pl-eb: "OFFERS"; --nv-pl-tag: "عروض نوفاليا الحالية"; }

/* العنوان الذي يعيد plp.js كتابته (البحث والأقسام الفرعية «القسم | الفرعي») يبقى مخفيًا حتى يُكتب بصيغته النهائية، ثم يظهر بهدوء.
   إن لم يصل plp.js يظهر كما هو بعد 2.2 ثانية. بقية العناوين (نصها النهائي = نص الخادم) تظهر فورًا. */
body.product-index-search #page-main-title:not([data-nv]),
.main-content:has(salla-products-list:is([source-value="663995803"], [source-value="1506693474"], [source-value="1929444463"], [source-value="664882346"])) #page-main-title:not([data-nv]) { opacity: 0; animation: nvPlFade .4s 2.2s forwards; }
body.product-index-search #page-main-title[data-nv],
.main-content:has(salla-products-list:is([source-value="663995803"], [source-value="1506693474"], [source-value="1929444463"], [source-value="664882346"])) #page-main-title[data-nv] { animation: nvPlFade .45s ease backwards; }
/* قبل plp.js: عنوان خام طويل لا يتجاوز اللوحة ولا يحرّك ما حوله */
body[class*="product-index"] #page-main-title { min-width: 0; overflow: hidden; }
@keyframes nvPlFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nvPlIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes nvPlPulse { from { opacity: 1; } to { opacity: .55; } }

/* ---------- القائمة: ارتفاع محجوز (الفوتر تحت حدّ الشاشة من أول رسم فلا يقفز حين تصل المنتجات) ---------- */
body[class*="product-index"] salla-products-list { display: block; min-height: max(380px, calc(100vh - var(--nv-pl-top, 600px))); }
/* بطاقتان هيكليتان بمقاس البطاقة الحقيقية حتى تصل المنتجات أو رسالة «لا منتجات» (CSS فقط: تظهر قبل أي JS) */
body[class*="product-index"] salla-products-list:not(:has(.s-product-card-entry, .s-products-list-placeholder)) {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 22px; align-content: start;
}
/* r4: الحاوية الفارغة فوق الهياكل في الصف نفسه (لا تحتها): حين تمتلئ بالبطاقات تبقى في مكانها (كانت تقفز من تحت الهياكل إلى مكانها: CLS 0.18 إن تأخر JS) */
body[class*="product-index"] salla-products-list:not(:has(.s-product-card-entry, .s-products-list-placeholder)) > * { grid-area: 1 / 1 / 2 / -1; min-width: 0; }
body[class*="product-index"] salla-products-list:not(:has(.s-product-card-entry, .s-products-list-placeholder))::before { grid-area: 1 / 1; }
body[class*="product-index"] salla-products-list:not(:has(.s-product-card-entry, .s-products-list-placeholder))::after { grid-area: 1 / 2; }
body[class*="product-index"] salla-products-list:not(:has(.s-product-card-entry, .s-products-list-placeholder))::before,
body[class*="product-index"] salla-products-list:not(:has(.s-product-card-entry, .s-products-list-placeholder))::after {
  content: ""; order: 0; visibility: visible !important; box-sizing: border-box; height: 0; padding-top: calc(100% + var(--nv-pl-k, 104px)); border-radius: 24px; border: 1px solid rgba(172, 121, 27, .13);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' rx='6' fill='%23F8E9DA'/%3E%3C/svg%3E") 10px 10px / calc(100% - 20px) auto no-repeat,
    linear-gradient(#F3E6D8, #F3E6D8) right 16px bottom calc(var(--nv-pl-k, 104px) - 34px) / 46% 12px no-repeat,
    linear-gradient(#F3E6D8, #F3E6D8) right 16px bottom 26px / 26% 12px no-repeat,
    radial-gradient(circle, rgba(82, 44, 0, 0) 20px, rgba(82, 44, 0, .16) 21px, rgba(82, 44, 0, 0) 22px) left 16px bottom 14px / 44px 44px no-repeat,
    var(--nv-paper);
  animation: nvPlPulse 1.1s ease-in-out infinite alternate;
}
@media (max-width: 1100px) {
  body[class*="product-index"] salla-products-list:not(:has(.s-product-card-entry, .s-products-list-placeholder)) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; }
}
@media (max-width: 767px) {
  body[class*="product-index"] salla-products-list { min-height: max(280px, calc(100vh - var(--nv-pl-top, 396px))); }
  body[class*="product-index"] salla-products-list:not(:has(.s-product-card-entry, .s-products-list-placeholder)) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  body[class*="product-index"] salla-products-list:not(:has(.s-product-card-entry, .s-products-list-placeholder))::before,
  body[class*="product-index"] salla-products-list:not(:has(.s-product-card-entry, .s-products-list-placeholder))::after {
    border-radius: 20px; padding-top: calc(100% + var(--nv-pl-k, 94px));
    background-position: 8px 8px, right 12px bottom calc(var(--nv-pl-k, 94px) - 28px), right 12px bottom 24px, left 12px bottom 10px, 0 0; background-size: calc(100% - 16px) auto, 50% 11px, 30% 11px, 44px 44px, auto;
  }
}
@media (max-width: 359px) { body[class*="product-index"] salla-products-list:not(:has(.s-product-card-entry, .s-products-list-placeholder)) { gap: 0 10px; } }

/* ---------- ظهور متتابع من الأعلى للأسفل (الشرائح ثم البطاقات صفًّا صفًّا) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .nv-pl-bar { animation: nvPlFade .5s ease backwards; }
  .nv-pl-decor { animation: nvPlFade .9s ease backwards; }
  body[class*="product-index"] .s-product-card-entry { animation: nvPlIn .7s var(--nv-ease) backwards; }
  body[class*="product-index"] .s-product-card-entry:nth-child(2) { animation-delay: 70ms; }
  body[class*="product-index"] .s-product-card-entry:nth-child(3) { animation-delay: 140ms; }
  body[class*="product-index"] .s-product-card-entry:nth-child(4) { animation-delay: 210ms; }
  body[class*="product-index"] .s-product-card-entry:nth-child(5) { animation-delay: 280ms; }
  body[class*="product-index"] .s-product-card-entry:nth-child(6) { animation-delay: 350ms; }
  body[class*="product-index"] .s-product-card-entry:nth-child(7) { animation-delay: 420ms; }
  body[class*="product-index"] .s-product-card-entry:nth-child(n+8) { animation-delay: 490ms; }
}
@media (prefers-reduced-motion: reduce) {
  body[class*="product-index"] salla-products-list::before, body[class*="product-index"] salla-products-list::after { animation: none !important; }
}
/* ألوان المسرح بالتناوب من CSS (قبل plp.js) */
body[class*="product-index"] .s-product-card-entry:nth-child(4n+2) { --bg: #F4E3BF; }
body[class*="product-index"] .s-product-card-entry:nth-child(4n+3) { --bg: #FBEBDD; }
body[class*="product-index"] .s-product-card-entry:nth-child(4n+4) { --bg: #F1DCCB; }

/* ---------- منتج بلا مقصوصة: صورة المتجر تملأ المسرح كصورة مؤطّرة مقصودة ---------- */
body[class*="product-index"] .s-product-card-entry:not([data-cut]) .s-product-card-image::after {
  content: ""; position: absolute; z-index: 1; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(172, 121, 27, .18), inset 0 0 0 5px rgba(255, 251, 246, .55);
  background: linear-gradient(180deg, rgba(255, 247, 239, 0) 58%, rgba(246, 220, 198, .34) 100%);
}
body[class*="product-index"] .s-product-card-entry:not([data-cut]) .s-product-card-image img { object-position: center; }

/* ---------- رسالة الفراغ بحسب الصفحة ---------- */
body.product-index-search .s-products-list-placeholder > p::before { content: "لا نتائج تطابق بحثكِ"; }
body.product-index-offers .s-products-list-placeholder > p::before, .main-content:has(salla-products-list[source-value="872681391"]) .s-products-list-placeholder > p::before { content: "لا عروض حاليًا… تابعينا قريبًا"; }
body[class*="product-index"] .s-products-list-placeholder { animation: nvPlFade .5s ease backwards; }

/* الشارة على التابلت (3 أعمدة ضيقة) · r7: سطر واحد صغير بدل سطرين · تحت 360px تُخفى (لا مساحة بجوار المفضلة) */
@media (min-width: 768px) and (max-width: 1023px) {
  body[class*="product-index"] .s-product-card-promotion-title { max-width: calc(100% - 56px); padding: 3px 8px !important; font-size: 11px !important; }
  body[class*="product-index"] salla-products-list { min-height: max(380px, calc(100vh - var(--nv-pl-top, 500px))); }
}
@media (max-width: 359px) { body[class*="product-index"] .s-product-card-promotion-title { display: none !important; } }

/* ---------- قسم بمنتجات قليلة: الأعمدة بعرضها المعتاد لكن الصف في المنتصف (لا فراغ من جهة واحدة) ---------- */
@media (min-width: 768px) {
  body[class*="product-index"] .s-products-list-wrapper.s-products-list-vertical-cards { grid-template-columns: repeat(auto-fit, calc((100% - 36px) / 3)) !important; justify-content: center; }
}
@media (min-width: 1101px) {
  body[class*="product-index"] .s-products-list-wrapper.s-products-list-vertical-cards { grid-template-columns: repeat(auto-fit, calc((100% - 66px) / 4)) !important; }
}

/* مسار التنقل سطر واحد دائمًا (كان يلتف على 320px فيدفع الصفحة 21px): العنصر الأخير يُختصر بنقاط */
body[class*="product-index"] .s-breadcrumb-wrapper { display: flex; flex-wrap: nowrap; align-items: center; min-width: 0; }
body[class*="product-index"] .s-breadcrumb-wrapper > li { flex: none; white-space: nowrap; }
body[class*="product-index"] .s-breadcrumb-wrapper > li:last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* ---------- r4 ---------- */
/* العدّاد خارج نص H1: plp.js يضع النص في data-n والحبة تعرضه (المحركات تقرأ اسم القسم فقط، والشكل كما هو) */
body[class*="product-index"] #page-main-title .nv-pl-n::before { content: attr(data-n); }
/* قائمة فارغة (رسالة «لا منتجات»): لا ارتفاع محجوز تحت الرسالة (كان يترك فراغًا حتى الفوتر). القوائم المحمّلة وحالة التحميل كما هي. */
body[class*="product-index"] salla-products-list:has(.s-products-list-placeholder) { min-height: 0 !important; }
/* =========================================================
   NOVALIA — صفحة الشكر بعد الطلب (thank-you) · تصور v1 · ثيم رائد
   - النطاق: body.thank-you (صنف الصفحة المتوقع من سلة) أو body.nv-ty (يضيفه thankyou.js حين يجد <salla-thank-you-page>).
     لا توجد قاعدة خارج هذا النطاق، فبقية الصفحات لا تتأثر.
   - مكوّنات سلة (salla-order-shipments / salla-order-items / salla-order-payment / salla-next-order-coupon …) تبقى كما هي
     وظيفيًا ونعيد تلوينها عبر متغيراتها (--color-*) ثم نضبط شكلها بأصنافها الثابتة s-*.
   - الرأس والمراحل والعمود الجانبي يبنيها thankyou.js (body.nv-ty-on). قبل ذلك: مكان الرأس محجوز ورأس سلة مخفي،
     ومع احتياط: إن لم يعمل السكربت خلال 4 ث يظهر رأس سلة الأصلي ويختفي المكان المحجوز.
   ========================================================= */
:is(body.thank-you, body.nv-ty) {
  --nv-ty-r: 22px;
  --nv-ty-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.6l4.2 4.2 8.8-9.4'/%3E%3C/svg%3E");
  --nv-ty-i-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8.4' y='8.4' width='11.2' height='11.2' rx='2.4'/%3E%3Cpath d='M15.6 8.4V6.8a2.4 2.4 0 00-2.4-2.4H6.8a2.4 2.4 0 00-2.4 2.4v6.4a2.4 2.4 0 002.4 2.4h1.6'/%3E%3C/svg%3E");
  --nv-ty-i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.2'/%3E%3Cpath d='M12 7.6V12l2.8 1.8'/%3E%3C/svg%3E");
  --nv-ty-i-orders: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.2 3.8h11.6v16.4l-2.9-1.6-2.9 1.6-2.9-1.6-2.9 1.6z'/%3E%3Cpath d='M9.2 8.6h5.6M9.2 12h5.6M9.2 15.4h3.2'/%3E%3C/svg%3E");
  --nv-ty-i-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 8.6h13.6l-.9 11.6H6.1L5.2 8.6z'/%3E%3Cpath d='M9 8.6V7.2a3 3 0 016 0v1.4'/%3E%3C/svg%3E");
  --nv-ty-i-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 6.5L9 12l5.5 5.5'/%3E%3C/svg%3E");
  --nv-ty-i-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
  --nv-ty-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 12H7m4-4l-4 4 4 4'/%3E%3C/svg%3E");
  --nv-ty-i-wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.6a8.4 8.4 0 0 0-7.3 12.6L3.6 20.4l4.3-1.1A8.4 8.4 0 1 0 12 3.6z'/%3E%3Cpath d='M9.3 8.4c.3-.5.8-.5 1 0l.7 1.4c.1.3 0 .6-.2.9l-.4.4c.5 1 1.3 1.8 2.3 2.3l.4-.4c.3-.2.6-.3.9-.2l1.4.7c.5.2.5.7 0 1-.7.4-1.4.6-2.2.4-2-.7-3.6-2.3-4.3-4.3-.2-.8 0-1.6.4-2.2z'/%3E%3C/svg%3E");
  --nv-ty-i-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 3.8h2.6l1.4 4-1.9 1.3a10.6 10.6 0 0 0 6.2 6.2l1.3-1.9 4 1.4v2.6a2 2 0 0 1-2.2 2A16.6 16.6 0 0 1 4.6 6a2 2 0 0 1 2-2.2z'/%3E%3C/svg%3E");
  --nv-ty-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.6' y='5.8' width='16.8' height='12.4' rx='2.2'/%3E%3Cpath d='M4.4 7.2l7.6 5.6 7.6-5.6'/%3E%3C/svg%3E");
  --nv-ty-i-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.4 6.6a2.4 2.4 0 012.4-2.4h10.4a2.4 2.4 0 012.4 2.4v7.6a2.4 2.4 0 01-2.4 2.4H11l-4.2 3.4v-3.4a2.4 2.4 0 01-2.4-2.4z'/%3E%3Cpath d='M12 13.2s-3-1.8-3-3.8a1.6 1.6 0 013-.8 1.6 1.6 0 013 .8c0 2-3 3.8-3 3.8z'/%3E%3C/svg%3E");
}

/* ---------- 0) ألوان مكوّنات سلة داخل الصفحة (متغيرات سلة نفسها، على الغلاف فقط) ---------- */
:is(body.thank-you, body.nv-ty) :is(.nv-ty-wrap, .container:has(> salla-thank-you-page)) {
  --color-primary: #522C00; --color-primary-dark: #3A2008; --color-primary-light: #E7C7AE; --color-primary-reverse: #FFF7EF;
  --color-surface: #FFFBF6; --color-surface-secondary: #FFF7EF;
  --color-border: rgba(172, 121, 27, .24); --color-border-light: rgba(172, 121, 27, .14);
  --color-text-primary: #171310; --color-text-secondary: #6B5444;
}

/* ---------- 1) الهيكل ---------- */
:is(body.thank-you, body.nv-ty) :is(.nv-ty-wrap, .container:has(> salla-thank-you-page)) {
  display: flex; flex-direction: column; gap: 16px; padding-top: 16px; padding-bottom: 40px;
}
:is(body.thank-you, body.nv-ty) salla-thank-you-page.s-thank-you-page-wrapper,
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper { padding: 0 !important; gap: 16px; min-width: 0; }
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper > [slot="main"] { gap: 12px; min-width: 0; }
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper > salla-hook:empty,
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper > [slot="main"] > salla-hook:empty { display: none; }
/* الجوال: نسختنا فيها بطاقة التواصل والمتابعة، فنكمل قرار قالب سلة (لا فوتر في صفحة الشكر على الجوال) لفوترنا أيضًا */
@media (max-width: 767px) {
  body.nv-ty-help .nv-foot { display: none !important; }
}

/* ---------- 2) قبل السكربت: مكان الرأس محجوز + احتياط 4 ث ---------- */
/* الشريط العلوي يُحقن متأخرًا فيدفع الصفحة؛ نحجز مكانه كما في صفحة المنتج (pdp.css §0) — هنا الدفعة أكبر أثرًا لأن الرأس المحجوز كبير */
html:not(.nv-tb-off) :is(body.thank-you, body.nv-ty) header.store-header:not(:has(> .nv-bar))::before {
  content: ""; display: block; height: var(--nv-bar-h, 44px); background: var(--nv-tb-bg, #F9E4D1);
}
body.thank-you:not(.nv-ty-on) .container:has(> salla-thank-you-page)::before {
  content: ""; display: block; height: 355px; border-radius: var(--nv-ty-r);
  background: linear-gradient(160deg, #FFF7EE 0%, #FCEBDA 55%, #F6DCC6 100%);
  animation: nv-ty-ph 0s 4s forwards;
}
body.thank-you:not(.nv-ty-on) salla-thank-you-header { max-height: 0; overflow: hidden; visibility: hidden; animation: nv-ty-fb 0s 4s forwards; }
@keyframes nv-ty-ph { to { height: 0; visibility: hidden; margin: 0; } }
@keyframes nv-ty-fb { to { max-height: 900px; visibility: visible; } }
@media (min-width: 768px) { body.thank-you:not(.nv-ty-on) .container:has(> salla-thank-you-page)::before { height: 381px; border-radius: 28px; } }
@media (min-width: 1024px) { body.thank-you:not(.nv-ty-on) .container:has(> salla-thank-you-page)::before { height: 394px; } }

/* رأس سلة: نخفي أجزاءه التي حل محلها رأسنا، وتبقى ملاحظات التاجر (order.instructions / messages) إن وُجدت */
body.nv-ty-on salla-thank-you-header .s-thank-you-header-wrapper > :is(.s-thank-you-header-intro, .s-thank-you-header-divider, .s-thank-you-header-meta) { display: none !important; }
body.nv-ty-on salla-thank-you-header:not(.nv-ty-hasnotes) { display: none; }
body.nv-ty-on salla-thank-you-header.nv-ty-hasnotes .s-thank-you-header-wrapper {
  gap: 6px; padding: 14px 16px; border-radius: 18px; background: #FBEFE2; border: 1px solid var(--nv-line-soft);
  font: 400 14px/1.8 var(--nv-font); color: var(--nv-ink);
}
body.nv-ty-on salla-thank-you-header.nv-ty-hasnotes .s-thank-you-header-wrapper :is(article, p, span) { font-size: 14px; line-height: 1.8; margin: 0; }

/* ---------- 3) الرأس ---------- */
.nv-ty-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center;
  min-height: 355px; padding: 28px 18px 22px; border-radius: var(--nv-ty-r); border: 1px solid var(--nv-line-soft);
  background:
    radial-gradient(70% 70% at 50% 0%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(160deg, #FFF7EE 0%, #FCEBDA 55%, #F6DCC6 100%);
}
.nv-ty-check { width: 64px; height: 64px; flex: none; }
.nv-ty-check svg { display: block; width: 100%; height: 100%; overflow: visible; }
.nv-ty-check__halo { fill: none; stroke: var(--nv-gold); stroke-width: 1; opacity: .5; transform-origin: 32px 32px; }
.nv-ty-check__disc { fill: var(--nv-brown); transform-origin: 32px 32px; }
.nv-ty-check__tick { fill: none; stroke: #FFF7EF; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.nv-ty-anim .nv-ty-check__disc { animation: nv-ty-pop .7s var(--nv-ease) both; }
.nv-ty-anim .nv-ty-check__halo { animation: nv-ty-halo 1.4s .15s var(--nv-ease) both; }
.nv-ty-anim .nv-ty-check__tick { animation: nv-ty-draw .55s .38s cubic-bezier(.65, 0, .35, 1) both; }
.nv-ty-anim :is(.nv-ty-eb, .nv-ty-title, .nv-ty-lead, .nv-ty-ref, .nv-ty-date, .nv-ty-next) { animation: nv-ty-up .7s var(--nv-ease) both; }
.nv-ty-anim .nv-ty-eb { animation-delay: .25s; }
.nv-ty-anim .nv-ty-title { animation-delay: .32s; }
.nv-ty-anim .nv-ty-lead { animation-delay: .4s; }
.nv-ty-anim .nv-ty-ref { animation-delay: .48s; }
.nv-ty-anim :is(.nv-ty-date, .nv-ty-next) { animation-delay: .56s; }
@keyframes nv-ty-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes nv-ty-halo { 0% { transform: scale(.7); opacity: 0; } 60% { opacity: .7; } 100% { transform: scale(1); opacity: .5; } }
@keyframes nv-ty-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes nv-ty-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .nv-ty-hero *, .nv-ty-hero { animation: none !important; transition: none !important; }
}

.nv-ty-eb {
  display: flex; align-items: center; gap: 12px; margin: 16px 0 4px; direction: ltr; white-space: nowrap;
  font: 500 13px/1 var(--nv-latin); letter-spacing: .34em; color: var(--nv-gold-text);
}
.nv-ty-eb::before, .nv-ty-eb::after { content: ""; width: 22px; height: 1px; background: var(--nv-gold); opacity: .7; }
.nv-ty-title { margin: 6px 0 0 !important; font: 300 24px/1.4 var(--nv-display) !important; color: var(--nv-ink) !important; white-space: nowrap; letter-spacing: 0; }
.nv-ty-lead { margin: 4px 0 0; max-width: 34em; font: 400 15px/1.7 var(--nv-font); color: var(--nv-muted); }
.nv-ty-lead--m { color: var(--nv-ink); font-size: 15.5px; }

.nv-ty-ref {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; max-width: 100%; margin-top: 18px; padding: 6px 16px 6px 6px;
  border-radius: 18px; background: rgba(255, 251, 246, .86); border: 1px solid var(--nv-line);
  box-shadow: 0 16px 30px -26px rgba(82, 44, 0, .6);
}
.nv-ty-ref__t { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; text-align: start; }
.nv-ty-ref__l { font: 400 13px/1.3 var(--nv-font); color: var(--nv-muted); white-space: nowrap; }
.nv-ty-ref__n { font: 500 17px/1.3 var(--nv-display); color: var(--nv-ink); letter-spacing: .03em; white-space: nowrap; unicode-bidi: isolate; } /* لا يُقص رقم الطلب أبدًا */
.nv-ty-copy {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 88px; height: 44px; padding: 0 14px;
  border-radius: 13px; border: 1px solid var(--nv-line); background: #F7E6D4; color: var(--nv-brown); cursor: pointer;
  font: 500 14px/1 var(--nv-display); transition: background .35s var(--nv-ease), color .35s var(--nv-ease), border-color .35s var(--nv-ease);
}
.nv-ty-copy i { width: 17px; height: 17px; flex: none; background: currentColor; -webkit-mask: var(--nv-ty-i-copy) center / contain no-repeat; mask: var(--nv-ty-i-copy) center / contain no-repeat; }
.nv-ty-copy:hover { background: #F2DCC5; border-color: var(--nv-gold); }
.nv-ty-copy:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 2px; }
.nv-ty-copy.is-done { background: var(--nv-brown); border-color: var(--nv-brown); color: #FFF7EF; }
.nv-ty-copy.is-done i { -webkit-mask-image: var(--nv-ty-i-check); mask-image: var(--nv-ty-i-check); }
.nv-ty-date { display: inline-flex; align-items: center; gap: 7px; margin: 14px 0 0; font: 400 13.5px/1.5 var(--nv-font); color: var(--nv-muted); }
.nv-ty-date i { width: 16px; height: 16px; flex: none; background: var(--nv-gold-text); -webkit-mask: var(--nv-ty-i-clock) center / contain no-repeat; mask: var(--nv-ty-i-clock) center / contain no-repeat; }
.nv-ty-next { margin: 4px 0 0; font: 400 13.5px/1.7 var(--nv-font); color: var(--nv-muted); }
.nv-ty-next__a { color: var(--nv-gold-text) !important; text-decoration: underline dotted rgba(122, 82, 15, .5) !important; text-underline-offset: 4px; }
.nv-ty-next__a:hover { text-decoration-style: solid !important; }
.nv-ty-next__a:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 2px; border-radius: 4px; }
.nv-ty-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* أضيق الشاشات: زر النسخ أيقونة فقط (الاسم في aria-label، والتأكيد بالأيقونة + إعلان قارئ الشاشة) ليتسع رقم الطلب كاملًا */
@media (max-width: 359px) {
  .nv-ty-ref { gap: 10px; padding-inline: 14px 6px; }
  .nv-ty-copy { min-width: 44px; width: 44px; padding: 0; }
  .nv-ty-copy__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nv-ty-ref__n { font-size: 17px; letter-spacing: .02em; }
}

/* ---------- 4) البطاقات والعناوين ---------- */
.nv-ty-card {
  position: relative; min-width: 0; padding: 16px; border-radius: 20px; background: var(--nv-paper);
  border: 1px solid var(--nv-line-soft); box-shadow: 0 18px 34px -32px rgba(82, 44, 0, .45);
}
.nv-ty-h {
  display: flex; align-items: center; gap: 10px; margin: 0 0 12px !important; min-height: 24px;
  font: 500 17px/1.4 var(--nv-display) !important; color: var(--nv-ink) !important; white-space: nowrap;
}
.nv-ty-h--plain { font-size: 15px !important; }
.nv-ty-h::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--nv-gold); transform: rotate(45deg); }
.nv-ty-h--plain::before { display: none; }
.nv-ty-sumh { margin: 6px 4px 0 !important; }

/* ---------- 5) مراحل الطلب ---------- */
.nv-ty-steps__list { display: flex; margin: 0; padding: 0; list-style: none; }
.nv-ty-steps__list li { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.nv-ty-steps__list li + li::before {
  content: ""; position: absolute; top: 13px; height: 2px; border-radius: 2px;
  inset-inline-start: calc(-50% + 19px); inset-inline-end: calc(50% + 19px); background: rgba(172, 121, 27, .2);
}
.nv-ty-steps__list li.is-next::before { background: linear-gradient(to left, var(--nv-gold) 0%, rgba(172, 121, 27, .2) 100%); }
.nv-ty-steps__dot { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--nv-ivory); border: 1.5px solid rgba(172, 121, 27, .3); }
.nv-ty-steps__list li.is-done .nv-ty-steps__dot { background: var(--nv-brown); border-color: var(--nv-brown); }
.nv-ty-steps__list li.is-done .nv-ty-steps__dot::after {
  content: ""; position: absolute; inset: 0; background: #FFF7EF;
  -webkit-mask: var(--nv-ty-i-check) center / 16px no-repeat; mask: var(--nv-ty-i-check) center / 16px no-repeat;
}
.nv-ty-steps__list li.is-next .nv-ty-steps__dot { border-color: var(--nv-gold); }
.nv-ty-steps__list li.is-next .nv-ty-steps__dot::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--nv-gold); opacity: .8; }
.nv-ty-steps__t { max-width: 100%; font: 400 13px/1.45 var(--nv-font); color: var(--nv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-ty-steps__list li.is-done .nv-ty-steps__t { color: var(--nv-ink); font-weight: 500; }
/* أضيق الشاشات: عمودي مضغوط بدل أن يلتف النص */
@media (max-width: 359px) {
  .nv-ty-steps__list { flex-direction: column; }
  .nv-ty-steps__list li { flex-direction: row; gap: 12px; min-height: 40px; text-align: start; }
  .nv-ty-steps__list li + li::before { top: -12px; height: 24px; width: 2px; inset-inline-start: 13px; inset-inline-end: auto; }
  .nv-ty-steps__list li.is-next::before { background: linear-gradient(to top, var(--nv-gold), rgba(172, 121, 27, .2)); }
  .nv-ty-steps__dot { width: 28px; height: 28px; }
  .nv-ty-steps__t { font-size: 14px; }
}

/* ---------- 6) ملخّص الطلب: مكوّنات سلة بهويتنا ---------- */
:is(body.thank-you, body.nv-ty) .s-order-shipments-wrapper { gap: 12px; }
:is(body.thank-you, body.nv-ty) .s-order-shipments-list { gap: 12px; }
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-order-items-card {
  gap: 14px; padding: 16px; border-radius: 20px; border: 1px solid var(--nv-line-soft); background: var(--nv-paper);
  box-shadow: 0 18px 34px -32px rgba(82, 44, 0, .45);
}
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-order-items-header { min-height: 44px; gap: 12px; }
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-order-items-header:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 4px; border-radius: 12px; }
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-order-items-title,
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-order-items-header[aria-expanded] .s-order-items-title {
  font: 500 14.5px/1.5 var(--nv-display) !important; color: var(--nv-ink) !important; text-align: start !important;
}
:is(body.thank-you, body.nv-ty) .s-order-items-toggle { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--nv-ivory); border: 1px solid var(--nv-line-soft); color: var(--nv-gold-text); }
/* أيقونة سلة (unfold-less) تبدو كـ«×» داخل دائرة فتُفهم إغلاقًا: سهم للأسفل/للأعلى بدلها */
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-order-items-toggle i { display: none !important; }
:is(body.thank-you, body.nv-ty) .s-order-items-toggle::before {
  content: ""; position: absolute; inset: 0; background: currentColor; transition: transform .4s var(--nv-ease);
  -webkit-mask: var(--nv-ty-i-down) center / 18px no-repeat; mask: var(--nv-ty-i-down) center / 18px no-repeat;
}
:is(body.thank-you, body.nv-ty) .s-order-items-header[aria-expanded="true"] .s-order-items-toggle::before { transform: rotate(180deg); }
:is(body.thank-you, body.nv-ty) .s-order-items-thumb { width: 42px; height: 42px; border-radius: 12px; border-color: var(--nv-line-soft); background: #FBEBDD; font: 500 13px/1 var(--nv-display); color: var(--nv-gold-text); }
:is(body.thank-you, body.nv-ty) .s-order-items-list { gap: 12px; }
:is(body.thank-you, body.nv-ty) .s-order-items-item { position: relative; align-items: center; gap: 12px; min-height: 58px; }
:is(body.thank-you, body.nv-ty) .s-order-items-image { width: 58px; height: 58px; border-radius: 14px; border-color: var(--nv-line-soft); background: #FBEBDD; }
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-order-items-text { gap: 4px; font-size: 14px; line-height: 1.5; }
:is(body.thank-you, body.nv-ty) .s-order-items-name {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal !important; overflow: hidden;
  font: 400 14px/1.55 var(--nv-font); color: var(--nv-ink) !important; text-decoration: none !important;
}
/* السطر كله يفتح المنتج (مساحة لمس ≥ 58px بدل سطر نص 22px) */
:is(body.thank-you, body.nv-ty) a.s-order-items-name::after { content: ""; position: absolute; inset: -4px 0; border-radius: 14px; }
:is(body.thank-you, body.nv-ty) a.s-order-items-name:focus-visible { outline: none; }
:is(body.thank-you, body.nv-ty) a.s-order-items-name:focus-visible::after { outline: 2px solid var(--nv-gold); outline-offset: 2px; }
:is(body.thank-you, body.nv-ty) a.s-order-items-name:hover { color: var(--nv-gold-text) !important; }
:is(body.thank-you, body.nv-ty) .s-order-items-price { display: inline-flex; align-items: center; gap: 4px; font: 500 14px/1.3 var(--nv-display); color: var(--nv-gold-text); }
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-order-items-qty {
  width: auto; min-width: 40px; height: 30px; padding: 0 10px; gap: 2px; border-radius: 999px; border-color: var(--nv-line-soft); background: var(--nv-ivory);
  font: 500 13px/1 var(--nv-display); color: var(--nv-ink);
}
:is(body.thank-you, body.nv-ty) .s-order-items-qty::before { content: "×"; color: var(--nv-muted); font-weight: 400; }
:is(body.thank-you, body.nv-ty) .s-order-items-footer { padding-top: 14px; border-color: var(--nv-line-soft); }
:is(body.thank-you, body.nv-ty) .s-order-shipments-footer { gap: 12px; }
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper :is(.s-order-shipments-carrier-text, .s-order-shipments-info, .s-order-shipments-placeholder) { font: 400 13.5px/1.6 var(--nv-font); color: var(--nv-muted); }
:is(body.thank-you, body.nv-ty) .s-order-shipments-info { margin-inline-start: 0; flex-shrink: 1; }
:is(body.thank-you, body.nv-ty) .s-order-shipments-sla { font-weight: 500; color: var(--nv-ink); }
:is(body.thank-you, body.nv-ty) .s-order-shipments-name { color: var(--nv-ink); }
:is(body.thank-you, body.nv-ty) .s-order-shipments-logo { border-radius: 10px; border-color: var(--nv-line-soft); background: #fff; }
:is(body.thank-you, body.nv-ty) .s-order-shipments-tracking { min-height: 44px; font: 500 14px/1 var(--nv-display); color: var(--nv-gold-text); }

/* أزرار التتبع: الرئيسي بني الهوية، والمعطّل («بعد التجهيز») هادئ ككبسولة معلومة */
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-order-shipments-track {
  min-height: 46px; border-radius: 999px; border: 1px solid rgba(82, 44, 0, .22); background: transparent;
  font: 500 14.5px/1.3 var(--nv-display) !important; color: var(--nv-brown); text-decoration: none !important;
  transition: background .35s var(--nv-ease), color .35s var(--nv-ease);
}
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-order-shipments-track-primary {
  min-height: 48px; background: var(--nv-brown); border-color: var(--nv-brown); color: #FFF7EF; box-shadow: 0 18px 30px -22px rgba(82, 44, 0, .9);
}
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-order-shipments-track-primary:hover { background: #3A2008; }
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-order-shipments-track[aria-disabled="true"] {
  background: #F6E8DA; border-color: var(--nv-line-soft); color: var(--nv-muted); box-shadow: none; font-size: 14px !important;
}
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-order-shipments-track:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 3px; }
/* شحنة واحدة + زر رئيسي: زر التتبع داخل البطاقة تكرار له (نفس الرابط) فنخفيه */
:is(body.thank-you, body.nv-ty) .s-order-shipments-wrapper:has(> .s-order-shipments-cta) .s-order-shipments-list > salla-order-items:only-child .s-order-shipments-footer > .s-order-shipments-track { display: none; }
/* الزر الرئيسي بعد قائمة المنتجات (لا فوقها) */
:is(body.thank-you, body.nv-ty) .s-order-shipments-cta { order: 1; }
@media (max-width: 767px) {
  /* شريط سفلي ثابت فقط حين يكون هناك رابط تتبع فعلي؛ «بعد التجهيز» المعطّل يبقى في مكانه ولا يحجز أسفل الشاشة */
  :is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-order-shipments-cta {
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--nv-line-soft);
    background: rgba(255, 251, 246, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  :is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-order-shipments-cta:has(> [aria-disabled="true"]) {
    position: static; padding: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  /* المساحة المحجوزة للشريط الثابت تكون في نهاية الصفحة كلها (بعد العمود الجانبي)، لا بعد مكوّنات سلة */
  :is(body.thank-you, body.nv-ty) :is(.nv-ty-wrap, .container:has(> salla-thank-you-page)):has(.s-order-shipments-cta > :not([aria-disabled="true"])) { padding-bottom: calc(40px + 70px + env(safe-area-inset-bottom, 0px)); }
  :is(body.thank-you, body.nv-ty) :is(.nv-ty-wrap, .container:has(> salla-thank-you-page)):has(.s-order-branch-cta) { padding-bottom: calc(40px + 9rem + env(safe-area-inset-bottom, 0px)); }
  :is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-order-branch-cta {
    border-top: 1px solid var(--nv-line-soft); background: rgba(255, 251, 246, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
}

/* الدفع والمبالغ */
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-order-payment-wrapper {
  gap: 14px; padding: 16px; border-radius: 20px; border: 1px solid var(--nv-line-soft); background: var(--nv-paper);
  box-shadow: 0 18px 34px -32px rgba(82, 44, 0, .45);
}
:is(body.thank-you, body.nv-ty) .s-order-payment-list { gap: 10px; }
:is(body.thank-you, body.nv-ty) .s-order-payment-row { min-height: 26px; font: 400 14px/1.5 var(--nv-font); color: var(--nv-muted); }
:is(body.thank-you, body.nv-ty) .s-order-payment-row dd { direction: ltr; flex-direction: row-reverse; font: 500 14px/1.3 var(--nv-display); color: var(--nv-ink); white-space: nowrap; }
:is(body.thank-you, body.nv-ty) .s-order-payment-total { margin-top: 2px; padding-top: 12px; border-top: 1px solid var(--nv-line-soft); }
:is(body.thank-you, body.nv-ty) .s-order-payment-total dt { font: 500 15px/1.4 var(--nv-display); color: var(--nv-ink); }
:is(body.thank-you, body.nv-ty) .s-order-payment-total dd { font: 500 18px/1.2 var(--nv-display); color: var(--nv-ink); }
:is(body.thank-you, body.nv-ty) .s-order-payment-logo { height: 30px; width: 60px; padding: 3px 6px; border-radius: 8px; background: #fff; border: 1px solid var(--nv-line-soft); margin: -2px 0; box-sizing: border-box; }
:is(body.thank-you, body.nv-ty) .s-order-payment-invoice {
  min-height: 46px; border-radius: 999px; border: 1px solid rgba(82, 44, 0, .22); background: transparent;
  font: 500 14.5px/1 var(--nv-display); color: var(--nv-brown); text-decoration: none !important; transition: background .35s var(--nv-ease);
}
:is(body.thank-you, body.nv-ty) .s-order-payment-invoice:hover { background: var(--nv-ivory); }
:is(body.thank-you, body.nv-ty) .s-order-payment-invoice:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 3px; }
:is(body.thank-you, body.nv-ty) .s-order-payment-invoice svg { width: 18px; height: 18px; }

/* كوبون الطلب القادم والمكافآت (إن فعّلها التاجر في سلة) */
:is(body.thank-you, body.nv-ty) .s-next-order-coupon-wrapper { gap: 8px; padding: 14px; border-radius: 20px; background: #FBEFE2; border: 1px dashed rgba(172, 121, 27, .45); }
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-next-order-coupon-heading { padding: 0 2px; font: 500 15px/1.4 var(--nv-display); color: var(--nv-ink); }
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-next-order-coupon-list { gap: 8px; }
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-next-order-coupon-card { border-radius: 16px; background: var(--nv-paper); border: 1px solid var(--nv-line-soft); }
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-next-order-coupon-details { font: 400 13.5px/1.6 var(--nv-font); }
:is(body.thank-you, body.nv-ty) .s-next-order-coupon-title { color: var(--nv-ink); font-weight: 500; }
:is(body.thank-you, body.nv-ty) .s-next-order-coupon-meta { font-size: 13px; }
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-next-order-coupon-code {
  min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px dashed var(--nv-gold); background: var(--nv-ivory);
  font: 500 14px/1 var(--nv-display); color: var(--nv-brown); letter-spacing: .06em;
}
:is(body.thank-you, body.nv-ty) .s-order-rewards-card { border-radius: 18px; background: #FBEFE2; border: 1px solid var(--nv-line-soft); min-height: 56px; }
:is(body.thank-you, body.nv-ty) .s-order-rewards-copy b { font: 500 15px/1.4 var(--nv-display); color: var(--nv-brown); }
:is(body.thank-you, body.nv-ty) .s-order-rewards-copy > span { font-size: 13.5px; color: var(--nv-muted); }

/* صف تواصل سلة: يبقى كما هو إن لم تُبنَ بطاقتنا، ويُخفى حين تحل محله بطاقة «في بالك سؤال؟» (نفس القنوات) */
body.nv-ty-help salla-contacts[data-testid="store-thankyou-contacts"] { display: none !important; }
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-contacts-introduction { font: 400 14px/1.7 var(--nv-font); color: var(--nv-muted); }
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper .s-contacts-list-icons-only .s-contacts-icon { width: 44px; height: 44px; border-radius: 50%; border-color: var(--nv-line); color: var(--nv-gold-text); background: var(--nv-paper); }

/* الجوال والتابلت: ما يأتي بعد مكوّنات سلة يبقى غير مرئي حتى تُرسم (الدفع، وانتهاء هيكل الكوبون المؤقت) فلا تُحسب إزاحته؛ احتياط 3 ث */
@media (max-width: 1023px) {
  .nv-ty-wrap:is(:not(:has(salla-order-payment.hydrated)), :has(.s-next-order-coupon-skeleton)) :is(.nv-ty-aside, .nv-ty-note) { visibility: hidden; animation: nv-ty-show 0s 3s forwards; }
}
@keyframes nv-ty-show { to { visibility: visible; } }

/* ---------- 7) العمود الجانبي ---------- */
.nv-ty-aside { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.nv-ty-acts { padding-block: 6px; }
.nv-ty-row {
  display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 0; text-decoration: none !important; color: var(--nv-ink) !important;
}
.nv-ty-row + .nv-ty-row { border-top: 1px solid var(--nv-line-soft); }
.nv-ty-row__ic { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #F9E7D5; }
.nv-ty-row__ic::before { content: ""; position: absolute; inset: 0; background: var(--nv-gold-text); -webkit-mask: var(--nv-ty-i-orders) center / 20px no-repeat; mask: var(--nv-ty-i-orders) center / 20px no-repeat; }
.nv-ty-row--shop .nv-ty-row__ic::before { -webkit-mask-image: var(--nv-ty-i-bag); mask-image: var(--nv-ty-i-bag); }
.nv-ty-row__tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.nv-ty-row__tx b { font: 500 15px/1.4 var(--nv-display); white-space: nowrap; }
.nv-ty-row__tx small { font: 400 13px/1.4 var(--nv-font); color: var(--nv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-ty-row__go { flex: none; width: 18px; height: 18px; background: var(--nv-gold-text); -webkit-mask: var(--nv-ty-i-chev) center / contain no-repeat; mask: var(--nv-ty-i-chev) center / contain no-repeat; transition: transform .45s var(--nv-ease); }
.nv-ty-row:hover .nv-ty-row__go { transform: translateX(-3px); }
.nv-ty-row:focus-visible, .nv-ty-wa:focus-visible, .nv-ty-pill:focus-visible, .nv-ty-soc__a:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 3px; border-radius: 14px; }

.nv-ty-wa {
  display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 12px; border-radius: 18px; text-decoration: none !important;
  border: 1px solid var(--nv-line); background: linear-gradient(135deg, #FFFBF6 0%, #FCEAD8 100%);
  transition: border-color .4s var(--nv-ease), box-shadow .5s var(--nv-ease);
}
.nv-ty-wa:hover { border-color: var(--nv-gold); box-shadow: 0 22px 34px -28px rgba(82, 44, 0, .6); }
.nv-ty-wa__ic { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--nv-brown); }
.nv-ty-wa__ic::before { content: ""; position: absolute; inset: 0; background: #FFF7EF; -webkit-mask: var(--nv-ty-i-wa) center / 22px no-repeat; mask: var(--nv-ty-i-wa) center / 22px no-repeat; }
.nv-ty-wa__tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.nv-ty-wa__tx b { font: 500 15px/1.35 var(--nv-display); color: var(--nv-ink); white-space: nowrap; }
.nv-ty-wa__tx bdi { font: 500 14.5px/1.3 var(--nv-font); color: var(--nv-gold-text); white-space: nowrap; text-align: start; }
.nv-ty-wa__go { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--nv-line); }
.nv-ty-wa__go::before { content: ""; position: absolute; inset: 0; background: var(--nv-gold-text); -webkit-mask: var(--nv-ty-i-arrow) center / 16px no-repeat; mask: var(--nv-ty-i-arrow) center / 16px no-repeat; }
.nv-ty-alt { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.nv-ty-pill {
  flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: max-content; min-height: 44px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--nv-line); background: transparent; text-decoration: none !important;
  font: 400 13.5px/1 var(--nv-font); color: var(--nv-ink) !important; white-space: nowrap; transition: background .35s var(--nv-ease);
}
.nv-ty-pill:hover { background: var(--nv-ivory); }
.nv-ty-pill i { width: 16px; height: 16px; flex: none; background: var(--nv-gold-text); -webkit-mask: var(--nv-ty-i-tel) center / contain no-repeat; mask: var(--nv-ty-i-tel) center / contain no-repeat; }
.nv-ty-pill--mail i { -webkit-mask-image: var(--nv-ty-i-mail); mask-image: var(--nv-ty-i-mail); }

.nv-ty-soc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.nv-ty-soc__a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 8px 4px;
  border-radius: 16px; border: 1px solid var(--nv-line-soft); background: rgba(255, 247, 239, .7); text-decoration: none !important;
  color: var(--nv-gold-text) !important; transition: background .4s var(--nv-ease), border-color .4s var(--nv-ease), color .4s var(--nv-ease);
}
.nv-ty-soc__a svg { width: 22px; height: 22px; display: block; }
.nv-ty-soc__g { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid currentColor; }
.nv-ty-soc__t { font: 400 13px/1.2 var(--nv-font); color: var(--nv-ink); white-space: nowrap; }
.nv-ty-soc__a:hover { background: var(--nv-brown); border-color: var(--nv-brown); color: #FFF7EF !important; }
.nv-ty-soc__a:hover .nv-ty-soc__t { color: #FFF7EF; }

.nv-ty-note { display: flex; align-items: flex-start; gap: 12px; background: linear-gradient(160deg, #FFFBF6 0%, #FBEEE1 100%); }
.nv-ty-note__ic { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #F9E7D5; }
.nv-ty-note__ic::before { content: ""; position: absolute; inset: 0; background: var(--nv-gold-text); -webkit-mask: var(--nv-ty-i-note) center / 21px no-repeat; mask: var(--nv-ty-i-note) center / 21px no-repeat; }
.nv-ty-note .nv-ty-h { margin: 2px 0 4px !important; }
.nv-ty-note p { margin: 0; font: 400 14px/1.75 var(--nv-font); color: var(--nv-muted); }

/* ---------- 8) تابلت: العمود الجانبي شبكة بعمودين ---------- */
@media (min-width: 768px) {
  .nv-ty-hero { min-height: 381px; padding: 36px 32px 28px; border-radius: 28px; }
  .nv-ty-check { width: 70px; height: 70px; }
  .nv-ty-title { font-size: 28px !important; }
  :is(body.thank-you, body.nv-ty) :is(.nv-ty-wrap, .container:has(> salla-thank-you-page)) { gap: 20px; padding-top: 24px; padding-bottom: 56px; }
  .nv-ty-aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
  .nv-ty-card, :is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper :is(.s-order-items-card, .s-order-payment-wrapper) { padding: 20px; }
  .nv-ty-steps .nv-ty-h { margin-bottom: 16px !important; }
}

/* ---------- 9) ديسكتوب: عمود الطلب + عمود جانبي ثابت ---------- */
@media (min-width: 1024px) {
  :is(body.thank-you, body.nv-ty) :is(.nv-ty-wrap, .container:has(> salla-thank-you-page)) {
    display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 24px 28px; max-width: 1120px; margin-inline: auto;
    padding-top: 28px; padding-bottom: 72px;
  }
  :is(body.thank-you, body.nv-ty) :is(.nv-ty-wrap, .container:has(> salla-thank-you-page))::before,
  .nv-ty-hero { grid-column: 1 / -1; }
  :is(body.thank-you, body.nv-ty) .nv-ty-wrap > salla-thank-you-page { grid-column: 1; grid-row: 2; }
  .nv-ty-aside { grid-column: 2; grid-row: 2; display: flex; align-items: stretch; position: sticky; top: calc(var(--nv-row2-h, 54px) + 20px); }
  .nv-ty-hero { min-height: 394px; padding: 40px 40px 30px; }
  .nv-ty-title { font-size: 32px !important; }
  .nv-ty-h:not(.nv-ty-h--plain) { font-size: 20px !important; }
  .nv-ty-eb { margin-top: 18px; }
  .nv-ty-steps__t { font-size: 14px; }
}

/* ---------- R2) هوية موحّدة: العملة «ر.س» كما في السلة والرئيسية وصفحة المنتج (بدل رمز الريال من salla.money) ---------- */
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper i.sicon-sar { display: inline !important; font-style: normal; margin-inline-start: 4px; vertical-align: baseline !important; line-height: inherit !important; }
:is(body.thank-you, body.nv-ty) .s-thank-you-page-wrapper i.sicon-sar::before { content: "ر.س" !important; font-family: var(--nv-font) !important; font-weight: 400; font-size: 13px; color: var(--nv-gold-text); }
/* =========================================================
   NOVALIA — الصفحات الثابتة (pages) v2 · body.page-single (+ آراء العملاء والماركات في آخر الملف)
   r2: سلّم طباعة موحّد وهادئ — H1 30–32 (جوال 24) · عناوين الأقسام 20 (جوال 18) · النص 16/1.9 (جوال 15/1.9) · المساعد 13–13.5
   (سياسة الاستبدال والاسترجاع، الاستخدام والخصوصية، من نحن، وأي صفحة تعريفية من «الصفحات» في سلة)
   CSS أولًا: التنسيق كله على DOM رائد نفسه من أول رسم (h1 + .content-entry)، والأماكن التي يملؤها pages.js محجوزة:
   - رأس الصفحة: عنوان الصفحة نفسه (h1) يصير لوحة كريمية بسطر لاتيني ووصف قصير (::before/::after بمتغيّرين)،
     وفي أسفلها مساحة محجوزة لشرائح الصفحات الأخرى (من روابط الفوتر الحقيقية).
   - عمود قراءة ~68ch، فهرس من العناوين (ثابت بجانب النص على الديسكتوب، مطوي على الجوال في مكان محجوز)،
     قوائم مرقّمة من الفقرات «1- …» (النص نفسه بلا تغيير)، وصندوق «هل تحتاجين مساعدة؟» بواتساب والبريد الحقيقيين.
   كل المحددات تحت body.page-single، والمكوّنات المضافة بادئتها nv-pg-.
   ========================================================= */
body.page-single {
  --nv-pg-go: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 12H7m4-4l-4 4 4 4'/%3E%3C/svg%3E");
  --nv-pg-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
  --nv-pg-wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.6a8.4 8.4 0 0 0-7.3 12.6L3.6 20.4l4.3-1.1A8.4 8.4 0 1 0 12 3.6z'/%3E%3Cpath d='M9.3 8.4c.3-.5.8-.5 1 0l.7 1.4c.1.3 0 .6-.2.9l-.4.4c.5 1 1.3 1.8 2.3 2.3l.4-.4c.3-.2.6-.3.9-.2l1.4.7c.5.2.5.7 0 1-.7.4-1.4.6-2.2.4-2-.7-3.6-2.3-4.3-4.3-.2-.8 0-1.6.4-2.2z'/%3E%3C/svg%3E");
  --nv-pg-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2.5'/%3E%3Cpath d='M4.5 7.5l7.5 5.6 7.5-5.6'/%3E%3C/svg%3E");
  --nv-pg-hero-pb: 88px;   /* مساحة شرائح الصفحات في أسفل اللوحة */
  --nv-pg-h1-mb: 44px;     /* المسافة بعد اللوحة */
  --nv-pg-chip-b: 22px;    /* بُعد الشرائح عن أسفل اللوحة */
  --nv-pg-help-h: 194px;   /* ارتفاع صندوق المساعدة (محجوز حتى يُضاف) */
  --nv-pg-fs: 16px;        /* حجم نص الصفحة */
  --nv-pg-pm: calc(var(--nv-pg-fs) * 1.1);  /* فراغ موحّد بعد الفقرة والبند والعنوان: تحويل الفقرات إلى قائمة لا يغيّر الارتفاع */
  --nv-pg-ind: 44px;       /* إزاحة النص تحت العناوين (الأرقام في الهامش) */
}
body.page-single #main-content:has(.content--single-page) { min-height: 100vh; }

/* ---------- الحاوية والمسار ---------- */
body.page-single #main-content > .container:has(.content--single-page) { width: min(1180px, calc(100% - 40px)); max-width: none; margin: 0 auto; padding: 0 0 88px; }
body.page-single #main-content > .container:has(.content--single-page) > nav.breadcrumbs { display: flex; justify-content: flex-start; padding: 16px 0 14px !important; }
body.page-single #main-content salla-breadcrumb { display: block; min-height: 24px; font: 400 13.5px/24px var(--nv-font); color: var(--nv-muted); }
body.page-single #main-content salla-breadcrumb ol { margin: 0; }
body.page-single #main-content salla-breadcrumb .s-breadcrumb-item { font: 400 13.5px/24px var(--nv-font) !important; color: var(--nv-muted) !important; }
body.page-single #main-content salla-breadcrumb .s-breadcrumb-item:last-child { color: var(--nv-gold-text) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.page-single #main-content salla-breadcrumb a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; margin-block: -10px; color: var(--nv-muted) !important; }
body.page-single #main-content salla-breadcrumb a:hover { color: var(--nv-gold-text) !important; }
body.page-single #main-content > .container > .flex:has(> .content--single-page) { display: block; }

/* ---------- الشبكة: رأس بعرض كامل، ثم [فهرس | نص | فراغ موازن] ---------- */
body.page-single .content--single-page {
  --nv-col: 660px;  /* ≈ 68ch بخط IBM Plex 16px — بالبكسل لا ch كي لا يتغير عرض العمود حين يُحمَّل الخط (CLS) */
  position: relative; display: grid; grid-template-columns: minmax(0, 252px) minmax(0, var(--nv-col)) minmax(0, 1fr); column-gap: 56px; align-items: start;
  width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important;
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; font-size: 16px;
}

/* صفحة بلا فهرس (أقل من 3 عناوين — القاعدة نفسها في pages.js): عمود القراءة في الوسط (ديسكتوب) */
@media (min-width: 1100px) {
  body.page-single .content--single-page:not(:has(> .content-entry > :is(h2, h3, h4) ~ :is(h2, h3, h4) ~ :is(h2, h3, h4))) {
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--nv-col)) minmax(0, 1fr); column-gap: 0;
  }
}

/* ---------- رأس الصفحة: h1 نفسه لوحة كريمية (السطر اللاتيني والوصف بلا إزاحة) ---------- */
body.page-single .content--single-page > h1 {
  grid-column: 1 / -1; grid-row: 1; position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
  box-sizing: border-box; min-height: 212px; margin: 0 0 var(--nv-pg-h1-mb) !important; padding: 30px 40px var(--nv-pg-hero-pb); border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(55% 120% at 8% 0%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(120deg, #FFF7EE 0%, #FCEBDA 52%, #F6DCC6 100%);
  border: 1px solid var(--nv-line-soft);
  font: 300 clamp(26px, 2.75vw, 32px)/1.4 var(--nv-display) !important; color: var(--nv-ink) !important; white-space: nowrap; text-align: start;
}
/* السطر اللاتيني (POLICY ——): زخرفي فقط، لا يُقرأ ضمن العنوان */
body.page-single .content--single-page > h1::before {
  content: var(--nv-pg-eb, "NOVALIA");
  display: block; order: -1; margin: 0 0 12px; padding-left: 46px; direction: rtl; align-self: flex-start; /* rtl: حافته اليمنى ثابتة حين يتغير النص (لا إزاحة) */
  font: 500 13px/1 var(--nv-latin); letter-spacing: .36em; color: var(--nv-gold-text); white-space: nowrap;
  background: linear-gradient(var(--nv-gold), var(--nv-gold)) no-repeat left center / 34px 1px;
}
/* سطر الوصف: سطر واحد محجوز دائمًا */
body.page-single .content--single-page > h1::after {
  content: var(--nv-pg-sub, "");
  display: block; order: 2; max-width: min(560px, 100%); min-height: 1.75em; margin: 6px 0 0;
  font: 400 14.5px/1.75 var(--nv-font); color: var(--nv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* السطر اللاتيني والوصف زخرفيان: لا يُقرآن ضمن العنوان حيث يدعم المتصفح النص البديل للمحتوى المولّد */
@supports (content: "a" / "") {
  body.page-single .content--single-page > h1::before { content: var(--nv-pg-eb, "NOVALIA") / ""; }
  body.page-single .content--single-page > h1::after { content: var(--nv-pg-sub, "") / ""; }
}
.nv-pg-t { display: block; order: 1; max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* العنصر الزخرفي الوحيد: دائرة مزدوجة بخط ذهبي، فيها أيقونة الصفحة (أو شعار المتجر في «من نحن») — ديسكتوب فقط */
.nv-pg-decor { display: none; }
@media (min-width: 1024px) {
  .nv-pg-decor {
    position: absolute; z-index: -1; top: 50%; inset-inline-end: 64px; width: 150px; height: 150px; margin-top: -75px; border-radius: 50%; display: grid; place-items: center; pointer-events: none;
    background: radial-gradient(closest-side, rgba(255, 255, 255, .96), rgba(255, 255, 255, .5) 66%, rgba(255, 255, 255, 0) 100%);
    box-shadow: 0 0 0 1px rgba(172, 121, 27, .16), 0 0 0 16px rgba(255, 255, 255, .2), 0 0 0 17px rgba(172, 121, 27, .1);
  }
  .nv-pg-decor i { display: block; width: 58px; height: 58px; background: var(--nv-gold); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; opacity: .9; }
  .nv-pg-decor img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; box-shadow: 0 14px 26px -18px rgba(82, 44, 0, .6); }
  body.page-single .content--single-page > h1:has(.nv-pg-decor) .nv-pg-t,
  body.page-single .content--single-page > h1:has(.nv-pg-decor)::after { max-width: calc(100% - 250px); }
}

/* شرائح الصفحات الأخرى: داخل المساحة المحجوزة أسفل اللوحة (نفس لغة شرائح صفحات الأقسام) */
.nv-pg-nav { grid-column: 1 / -1; grid-row: 1; align-self: end; position: relative; z-index: 2; min-width: 0; margin: 0 40px calc(var(--nv-pg-h1-mb) + var(--nv-pg-chip-b)); }
@media (min-width: 1024px) { .nv-pg-nav { margin-inline-end: 290px; } }
.nv-pg-nav__list {
  display: flex; align-items: center; gap: 8px; height: 44px; margin: 0; padding: 0; list-style: none !important; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
}
.nv-pg-nav__list::-webkit-scrollbar { display: none; }
.nv-pg-nav__list li { flex: none; list-style: none !important; }
.nv-pg-nav__list li::marker { content: none; }
.nv-pg-chip {
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; white-space: nowrap; text-decoration: none !important; box-sizing: border-box;
  background: rgba(255, 251, 246, .72); border: 1px solid var(--nv-line-soft); font: 500 14px/1 var(--nv-display); color: var(--nv-ink) !important;
  transition: background .4s var(--nv-ease), border-color .4s var(--nv-ease), color .4s var(--nv-ease);
}
.nv-pg-chip:hover { border-color: var(--nv-line); background: #FFFBF6; }
.nv-pg-chip[aria-current="page"] { background: var(--nv-brown); border-color: var(--nv-brown); color: #FFF7EF !important; }
/* لا روابط للصفحات الأخرى في الفوتر: اللوحة بلا مساحة الشرائح */
body.page-single.nv-pg-nonav { --nv-pg-hero-pb: 34px; }
body.page-single.nv-pg-nonav .content--single-page > h1 { min-height: 0; }

/* ---------- نص الصفحة: عمود قراءة ~68ch ---------- */
body.page-single .content--single-page > .content-entry {
  grid-column: 2; grid-row: 2; min-width: 0; margin: 0;
  font: 400 var(--nv-pg-fs)/1.9 var(--nv-font); color: #2A211A; overflow-wrap: break-word;
}
/* ألوان وخطوط ملصوقة من المحرر: تُلغى من أول رسم (وpages.js يحذف السمات نفسها) */
body.page-single .content-entry [style]:not(img):not(iframe):not(video) { color: inherit !important; background: transparent !important; font-family: inherit !important; }
body.page-single .content-entry :is(span, strong, b, em, i, u, font)[style] { font-size: inherit !important; line-height: inherit !important; }
body.page-single .content-entry font { color: inherit !important; font-family: inherit !important; font-size: inherit !important; }
body.page-single .content-entry :is(p, li, h1, h2, h3, h4, h5, h6, div) { text-align: start !important; }
body.page-single .content-entry p { margin: 0 0 var(--nv-pg-pm); }
/* صفحة فيها عناوين (سياسات): النص كله بإزاحة واحدة، والعناوين وأرقام البنود في الهامش — فلا يتغيّر عرض الأسطر حين تصير الفقرات المرقّمة قائمة */
body.page-single .content--single-page:has(> .content-entry > :is(h1, h2, h3, h4)) > .content-entry > :is(p, ul, ol:not(.nv-pg-ol), blockquote, table) { margin-inline-start: var(--nv-pg-ind); }
body.page-single .content-entry p:empty { display: none; }
body.page-single .content-entry :is(strong, b) { font-weight: 600; color: var(--nv-ink); }
body.page-single .content-entry > :first-child { margin-top: 0 !important; }
/* فقرة المحرر الأولى قبل أول عنوان (فارغة غالبًا «<p> </p>»): تبقى كما هي، ومسافتها لا تُضاعف المسافة فوق العنوان */
body.page-single .content-entry > p:first-child:has(+ :is(h1, h2, h3, h4)) { margin-bottom: 0; }
body.page-single .content-entry > p:first-child + :is(h1, h2, h3, h4) { margin-top: .6em; }
/* العناوين داخل النص (المحرر يستعمل h4 غالبًا): عنوان قسم بخط Alexandria وخط ذهبي صغير */
body.page-single .content-entry :is(h1, h2, h3, h4) {
  position: relative; margin: 2em 0 var(--nv-pg-pm); padding-top: 16px; font: 400 20px/1.55 var(--nv-display) !important; color: var(--nv-ink); scroll-margin-top: 110px;
}
body.page-single .content-entry :is(h1, h2, h3, h4)::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; width: 30px; height: 1px; background: var(--nv-gold); }
body.page-single .content-entry :is(h5, h6) { margin: 1.6em 0 .5em; font: 500 17px/1.6 var(--nv-display) !important; color: var(--nv-ink); scroll-margin-top: 110px; }
body.page-single .content-entry :is(h1, h2, h3, h4, h5, h6) :is(strong, b) { font-weight: inherit; color: inherit; }
/* «المادة الأولى - …»: اسم المادة بلون ذهبي في السطر نفسه (pages.js يفصله بلا تغيير في النص) */
.nv-pg-art { color: var(--nv-gold-text); font-weight: 500; }
.nv-pg-art::after { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 .55em; vertical-align: .28em; background: var(--nv-gold); transform: rotate(45deg); opacity: .75; }
/* الروابط */
body.page-single .content-entry a { color: var(--nv-gold-text) !important; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(172, 121, 27, .45); text-underline-offset: 5px; transition: text-decoration-color .3s; }
body.page-single .content-entry a:hover { text-decoration-color: var(--nv-gold); }
body.page-single .content-entry a:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 3px; border-radius: 3px; }
/* القوائم (من المحرر، ومن pages.js للفقرات المرقّمة «1- …») */
body.page-single .content-entry :is(ul, ol) { margin: 0 0 1.25em; padding: 0; list-style: none !important; }
body.page-single .content-entry li { position: relative; list-style: none !important; margin: 0 0 .7em; padding-inline-start: 26px; }
body.page-single .content-entry ol.nv-pg-ol > li { margin-bottom: var(--nv-pg-pm); }
body.page-single .content-entry li::marker { content: none; }
body.page-single .content-entry ul > li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .82em; width: 6px; height: 6px; background: var(--nv-gold); transform: rotate(45deg); }
body.page-single .content-entry ol:not(.nv-pg-ol) { counter-reset: nv-pg; }
body.page-single .content-entry ol:not(.nv-pg-ol) > li { counter-increment: nv-pg; }
body.page-single .content-entry ol > li { padding-inline-start: var(--nv-pg-ind); }
body.page-single .content-entry ol > li::before {
  content: counter(nv-pg); position: absolute; inset-inline-start: 0; top: 2px; top: calc(.5lh - 14px); box-sizing: border-box; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--nv-line); background: var(--nv-paper);
  font: 600 14.5px/1 var(--nv-latin); font-variant-numeric: lining-nums; color: var(--nv-gold-text);
}
body.page-single .content-entry ol.nv-pg-ol > li::before { content: attr(data-n); content: attr(data-n) / ""; }
body.page-single .content-entry ol.nv-pg-ol > li[data-n-long]::before { width: auto; min-width: 28px; padding: 0 7px; border-radius: 14px; }
/* عناصر أخرى قد يضيفها المحرر */
body.page-single .content-entry blockquote {
  margin: 1.6em 0; padding: 20px 24px; border: 0; border-inline-start: 2px solid var(--nv-gold); border-radius: 0 18px 18px 0; quotes: none;
  background: rgba(254, 230, 206, .45); font: 400 17px/1.85 var(--nv-display); color: var(--nv-ink);
}
body.page-single .content-entry blockquote p:last-child { margin-bottom: 0; }
body.page-single .content-entry img { display: block; max-width: 100%; height: auto; margin: 1.5em auto; border-radius: 18px; }
body.page-single .content-entry :is(iframe, video) { max-width: 100%; border: 0; border-radius: 18px; }
body.page-single .content-entry hr { margin: 2.2em auto; width: 60px; border: 0; border-top: 1px solid var(--nv-gold); }
body.page-single .content-entry table { display: block; max-width: 100%; overflow-x: auto; margin: 0 0 1.4em; border-collapse: collapse; font-size: 14.5px; line-height: 1.7; }
body.page-single .content-entry :is(th, td) { padding: 10px 14px; border-bottom: 1px solid var(--nv-line-soft); text-align: start; vertical-align: top; min-width: 110px; }
body.page-single .content-entry th, body.page-single .content-entry thead td { background: rgba(254, 230, 206, .5); font-weight: 600; color: var(--nv-ink); }
/* صفحة قصيرة بلا عناوين («من نحن»): أول فقرة افتتاحية بخط Alexandria */
body.page-single .content--single-page:not(:has(> .content-entry > :is(h1, h2, h3, h4))) > .content-entry > p:first-of-type:not(:empty) {
  margin-bottom: 1.2em; font: 400 18px/1.85 var(--nv-display); color: var(--nv-ink);
}

/* ---------- الفهرس: ثابت بجانب النص (ديسكتوب)، مطوي فوق النص (تابلت وجوال) ---------- */
.nv-pg-toc-wrap { grid-column: 1; grid-row: 2; align-self: stretch; min-width: 0; }
.nv-pg-toc { position: sticky; top: 96px; margin: 0; font-family: var(--nv-font); }
.nv-pg-toc summary { list-style: none; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; min-height: 44px; padding-bottom: 6px; cursor: default; font: 500 15px/1.3 var(--nv-display); color: var(--nv-ink); }
.nv-pg-toc summary::-webkit-details-marker { display: none; }
.nv-pg-toc summary small { font: 400 13px/1 var(--nv-font); color: var(--nv-muted); white-space: nowrap; }
.nv-pg-toc summary i { display: none; }
.nv-pg-toc ol { margin: 6px 0 0; padding: 0; list-style: none !important; border-inline-start: 1px solid var(--nv-line-soft); max-height: calc(100vh - 170px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--nv-champagne) transparent; }
.nv-pg-toc li { margin: 0; list-style: none !important; }
.nv-pg-toc li::marker { content: none; }
.nv-pg-toc a {
  position: relative; display: flex; gap: 10px; align-items: baseline; min-height: 44px; padding: 10px 16px 10px 4px; padding-inline: 16px 4px; box-sizing: border-box;
  font: 400 14px/1.55 var(--nv-font); color: var(--nv-muted) !important; text-decoration: none !important; transition: color .3s var(--nv-ease);
}
.nv-pg-toc a b { flex: none; min-width: 18px; font: 600 14px/1 var(--nv-latin); font-variant-numeric: lining-nums; color: var(--nv-gold-text); }
.nv-pg-toc a b.is-dot { position: relative; top: -2px; min-width: 18px; height: 6px; font-size: 0; }
.nv-pg-toc a b.is-dot::before { content: ""; position: absolute; inset-inline-start: 4px; top: 0; width: 6px; height: 6px; background: var(--nv-gold); transform: rotate(45deg); }
.nv-pg-toc a::before { content: ""; position: absolute; inset-inline-start: -1px; top: 10px; bottom: 10px; width: 2px; background: var(--nv-gold); transform: scaleY(0); transition: transform .4s var(--nv-ease); }
.nv-pg-toc a:hover, .nv-pg-toc a.is-on { color: var(--nv-ink) !important; }
.nv-pg-toc a.is-on::before { transform: none; }
.nv-pg-toc a:focus-visible, .nv-pg-toc summary:focus-visible, .nv-pg-chip:focus-visible, .nv-pg-act:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 2px; }

/* ---------- «هل تحتاجين مساعدة؟» ---------- */
.nv-pg-help {
  grid-column: 2; grid-row: 3; box-sizing: border-box; min-height: var(--nv-pg-help-h); margin: 36px 0 0; padding: 24px; border-radius: 26px;
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 16px;
  background: radial-gradient(60% 120% at 100% 0%, rgba(249, 218, 190, .55), rgba(249, 218, 190, 0) 70%), var(--nv-paper); border: 1px solid rgba(172, 121, 27, .16);
}
/* مكان الصندوق محجوز حتى يضيفه pages.js (لا يُزاح الفوتر في الصفحات القصيرة) */
body.page-single:not(.nv-pg-helped) .content--single-page::after { content: ""; grid-column: 2; grid-row: 3; height: var(--nv-pg-help-h); margin-top: 36px; animation: nv-pg-unhold 0s linear 10s forwards; }
@keyframes nv-pg-unhold { to { height: 0; margin: 0; } }
.nv-pg-help__t { margin: 0; font: 500 18px/1.45 var(--nv-display); color: var(--nv-ink); white-space: nowrap; }
.nv-pg-help__p { margin: 4px 0 0; font: 400 14px/1.7 var(--nv-font); color: var(--nv-muted); }
.nv-pg-help__acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none !important; }
.nv-pg-help__acts li { list-style: none !important; min-width: 0; }
.nv-pg-help__acts li::marker { content: none; }
.nv-pg-help__acts li:only-child { grid-column: 1 / -1; }
.nv-pg-act {
  display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 12px; padding-inline-end: 16px; box-sizing: border-box; border-radius: 18px; text-decoration: none !important;
  background: #FFFBF6; border: 1px solid var(--nv-line-soft); color: var(--nv-ink) !important; transition: border-color .4s var(--nv-ease), box-shadow .5s var(--nv-ease), background .4s var(--nv-ease);
}
.nv-pg-act:hover { border-color: var(--nv-line); box-shadow: 0 20px 28px -24px rgba(82, 44, 0, .5); }
.nv-pg-act i { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--nv-cream); }
.nv-pg-act i::before { content: ""; position: absolute; inset: 0; background: var(--nv-brown); -webkit-mask: var(--ic) center / 21px no-repeat; mask: var(--ic) center / 21px no-repeat; }
.nv-pg-act--wa i { background: var(--nv-brown); }
.nv-pg-act--wa i::before { background: #FFF7EF; }
.nv-pg-act--wa { --ic: var(--nv-pg-wa); }
.nv-pg-act--mail { --ic: var(--nv-pg-mail); }
.nv-pg-act span { display: grid; gap: 3px; min-width: 0; }
.nv-pg-act b { font: 500 15px/1.3 var(--nv-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-pg-act small { font: 400 13px/1.3 var(--nv-font); color: var(--nv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; unicode-bidi: plaintext; }

/* تعليقات سلة على الصفحة: تُخفى إن كانت فارغة (التعليقات غير مفعّلة) */
body.page-single .content--single-page > salla-comments { grid-column: 2; grid-row: 4; min-width: 0; margin-top: 28px; }
body.page-single .content--single-page > salla-comments:not(:has(textarea, input, button, .s-comments-item, [class*="comment-item"])) { display: none !important; }

/* ---------- تابلت: عمود واحد ---------- */
@media (max-width: 1099px) {
  body.page-single .content--single-page { grid-template-columns: minmax(0, 1fr); max-width: 720px !important; margin-inline: auto !important; }
  body.page-single .content--single-page > * { grid-column: 1 !important; }
  body.page-single { --nv-pg-h1-mb: 26px; }
  body.page-single .content--single-page > h1 { min-height: 200px; }
  /* مكان الفهرس المطوي محجوز حين يكون في الصفحة 3 عناوين أو أكثر (القاعدة نفسها في pages.js) */
  body.page-single:not(.nv-pg-on) .content--single-page:has(> .content-entry > :is(h2, h3, h4) ~ :is(h2, h3, h4) ~ :is(h2, h3, h4))::before {
    content: ""; grid-column: 1; grid-row: 2; height: 54px; margin-bottom: 26px; animation: nv-pg-unhold 0s linear 10s forwards;
  }
  body.page-single .content--single-page > .content-entry { grid-row: 3; }
  body.page-single:not(.nv-pg-helped) .content--single-page::after { grid-column: 1; grid-row: 4; }
  .nv-pg-help { grid-row: 4; }
  body.page-single .content--single-page > salla-comments { grid-row: 5; }
  .nv-pg-toc-wrap { grid-row: 2; align-self: start; }
  .nv-pg-toc { position: static; margin-bottom: 26px; border-radius: 18px; background: var(--nv-paper); border: 1px solid rgba(172, 121, 27, .16); }
  .nv-pg-toc summary { flex-direction: row; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; cursor: pointer; }
  .nv-pg-toc summary i { display: block; width: 20px; height: 20px; margin-inline-start: auto; background: var(--nv-gold-text); -webkit-mask: var(--nv-pg-chev) center / contain no-repeat; mask: var(--nv-pg-chev) center / contain no-repeat; transition: transform .4s var(--nv-ease); }
  .nv-pg-toc[open] summary i { transform: rotate(180deg); }
  .nv-pg-toc ol { margin: 0 18px 12px; max-height: none; overflow: visible; }
}

/* ---------- جوال: مضغوط كتطبيق ---------- */
@media (max-width: 767px) {
  body.page-single { --nv-pg-hero-pb: 72px; --nv-pg-help-h: 240px; --nv-pg-h1-mb: 18px; --nv-pg-chip-b: 16px; --nv-pg-fs: 15px; --nv-pg-ind: 34px; }
  body.page-single #main-content > .container:has(.content--single-page) { width: calc(100% - 24px); padding-bottom: 48px; }
  body.page-single #main-content > .container:has(.content--single-page) > nav.breadcrumbs { padding: 12px 4px 10px !important; }
  body.page-single .content--single-page { font-size: 15px; }
  body.page-single .content--single-page > h1 {
    min-height: 0; padding: 20px 16px var(--nv-pg-hero-pb); border-radius: 22px; font-size: 24px !important; line-height: 1.4 !important;
  }
  body.page-single .content--single-page > h1::before { margin-bottom: 10px; font-size: 13px; letter-spacing: .28em; padding-left: 40px; background-size: 28px 1px; }
  body.page-single .content--single-page > h1::after { margin-top: 2px; font-size: 13px; line-height: 1.7; }
  .nv-pg-nav { margin-inline: 0; }
  /* تلاشٍ عند الطرف الذي فيه شرائح مخفية فقط (pages.js يضبط --fs/--fe حسب موضع التمرير) */
  .nv-pg-nav__list { gap: 6px; padding-inline: 12px; -webkit-mask: linear-gradient(to left, transparent 0, #000 var(--fs, 0px), #000 calc(100% - var(--fe, 24px)), transparent 100%); mask: linear-gradient(to left, transparent 0, #000 var(--fs, 0px), #000 calc(100% - var(--fe, 24px)), transparent 100%); }
  .nv-pg-chip { padding: 0 15px; font-size: 13.5px; }
  body.page-single.nv-pg-nonav { --nv-pg-hero-pb: 20px; }
  body.page-single .content--single-page > .content-entry { padding-inline: 4px; line-height: 1.9; }
  body.page-single .content-entry :is(h1, h2, h3, h4) { margin-top: 1.8em; padding-top: 13px; font-size: 18px !important; scroll-margin-top: 84px; }
  body.page-single .content-entry :is(h5, h6) { font-size: 16px !important; scroll-margin-top: 84px; }
  body.page-single .content-entry ol > li::before { width: 26px; height: 26px; top: 2px; top: calc(.5lh - 13px); font-size: 13.5px; }
  body.page-single .content-entry blockquote { padding: 16px 18px; font-size: 16px; }
  body.page-single .content--single-page:not(:has(> .content-entry > :is(h1, h2, h3, h4))) > .content-entry > p:first-of-type:not(:empty) { font-size: 16.5px; line-height: 1.85; }
  body.page-single:not(.nv-pg-on) .content--single-page:has(> .content-entry > :is(h2, h3, h4) ~ :is(h2, h3, h4) ~ :is(h2, h3, h4))::before { height: 54px; margin-bottom: 18px; }
  .nv-pg-toc { margin-bottom: 18px; border-radius: 16px; }
  .nv-pg-toc summary { min-height: 52px; padding: 0 14px; font-size: 14.5px; }
  .nv-pg-toc ol { margin: 0 14px 10px; }
  .nv-pg-help { margin-top: 28px; padding: 18px 14px 14px; border-radius: 22px; gap: 14px; }
  body.page-single:not(.nv-pg-helped) .content--single-page::after { margin-top: 28px; }
  .nv-pg-help__t { font-size: 16px; }
  .nv-pg-help__p { font-size: 13.5px; }
  .nv-pg-help__acts { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .nv-pg-act { height: 60px; border-radius: 16px; }
  .nv-pg-act i { width: 40px; height: 40px; }
}
@media (max-width: 359px) {
  body.page-single .content--single-page > h1 { font-size: 22px !important; }
  .nv-pg-toc summary small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nv-pg-chip, .nv-pg-act, .nv-pg-toc a, .nv-pg-toc a::before, .nv-pg-toc summary i { transition: none !important; }
}
/* الطباعة: النص فقط */
@media print {
  .nv-pg-nav, .nv-pg-toc-wrap, .nv-pg-help, .nv-pg-decor { display: none !important; }
  body.page-single .content--single-page { display: block; }
  body.page-single .content--single-page > h1 { min-height: 0; padding: 0 0 12px; border: 0; background: none; }
  body.page-single .content--single-page > h1::after { display: none; }
}

/* h3/h4 تحت h2 (نص منظّم بمستويين): عنوان فرعي هادئ بلا خط ذهبي */
body.page-single .content-entry:has(> h2) > :is(h3, h4) { margin-top: 1.5em; padding-top: 0; font: 500 17.5px/1.6 var(--nv-display) !important; }
body.page-single .content-entry:has(> h2) > :is(h3, h4)::before { content: none; }
@media (max-width: 767px) { body.page-single .content-entry:has(> h2) > :is(h3, h4) { font-size: 16px !important; } }

/* =========================================================
   r2 — صفحات صغيرة كانت بشكل الثيم الخام: آراء العملاء (body.testimonials)، الماركات (body.brands-index)، صفحة الماركة (body.brands-single)
   CSS فقط على DOM رائد (pages.js يضيف حالة «لا آراء بعد» فقط). نفس سلّم الطباعة: H1 30 / 24 · مساعد 13–13.5 · أهداف 44px
   ========================================================= */
body:is(.testimonials, .brands-index, .brands-single) #main-content > .container { width: min(1180px, calc(100% - 40px)); max-width: none; margin-inline: auto; padding-inline: 0; padding-bottom: 72px; }
body:is(.testimonials, .brands-index, .brands-single) #main-content > .container > nav.breadcrumbs { display: flex; justify-content: flex-start; padding: 16px 0 14px !important; }
body:is(.testimonials, .brands-index, .brands-single) #main-content salla-breadcrumb { display: block; min-height: 24px; font: 400 13.5px/24px var(--nv-font); color: var(--nv-muted); }
body:is(.testimonials, .brands-index, .brands-single) #main-content salla-breadcrumb .s-breadcrumb-item { font: 400 13.5px/24px var(--nv-font) !important; color: var(--nv-muted) !important; }
body:is(.testimonials, .brands-index, .brands-single) #main-content salla-breadcrumb .s-breadcrumb-item:last-child { color: var(--nv-gold-text) !important; }
body:is(.testimonials, .brands-index, .brands-single) #main-content salla-breadcrumb a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; margin-block: -10px; color: var(--nv-muted) !important; }
body:is(.testimonials, .brands-index) #main-content :is(h1, h2.font-bold),
body.brands-single #main-content header h1 { margin: 0 !important; font: 300 30px/1.4 var(--nv-display) !important; color: var(--nv-ink) !important; }

/* آراء العملاء */
body.testimonials #main-content > .container > .flex > div {
  width: 100% !important; max-width: 820px; margin: 0 auto !important; padding: 28px 28px 24px !important; border-radius: 26px !important;
  background: radial-gradient(60% 120% at 100% 0%, rgba(249, 218, 190, .5), rgba(249, 218, 190, 0) 70%), var(--nv-paper) !important; border: 1px solid var(--nv-line-soft); box-shadow: none !important;
}
body.testimonials #main-content > .container > .flex > div > div:first-child { margin-bottom: 18px !important; gap: 12px; min-height: 44px; }
body.testimonials #main-content label[for="testimonials-filter"] { font: 400 13.5px/1.5 var(--nv-font); color: var(--nv-muted); }
body.testimonials #testimonials-filter {
  height: 44px; min-width: 150px; padding: 0 16px !important; padding-inline-end: 38px !important; border-radius: 999px; border: 1px solid var(--nv-line) !important; background-color: #FFFBF6 !important;
  font: 400 14px/1.2 var(--nv-font) !important; color: var(--nv-ink) !important; box-shadow: none !important;
}
body.testimonials #testimonials-filter:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 2px; }
body.testimonials salla-comments { display: block; min-height: 96px; font: 400 15px/1.8 var(--nv-font); color: #2A211A; }
body.testimonials salla-comments :is(h2, h3, h4) { font: 500 15px/1.5 var(--nv-display) !important; color: var(--nv-ink) !important; }
body.testimonials salla-comments :is(p, span, time, small) { font-family: var(--nv-font) !important; }
body.testimonials salla-comments :is(.font-bold, b, strong) { font-weight: 500 !important; }
body.testimonials salla-comments [class*="text-xs"] { font-size: 13px !important; }
body.testimonials.nv-tm-empty #main-content > .container > .flex > div > div:first-child > div { display: none !important; }
.nv-tm-empty-x { display: grid; justify-items: center; gap: 10px; padding: 18px 8px 10px; text-align: center; }
.nv-tm-empty-x b { font: 500 17px/1.5 var(--nv-display); color: var(--nv-ink); }
.nv-tm-empty-x p { margin: 0; max-width: 320px; font: 400 14px/1.8 var(--nv-font); color: var(--nv-muted); }
.nv-tm-empty-x a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 8px; padding: 0 26px; border-radius: 999px; background: var(--nv-brown); color: #FFF7EF !important; font: 500 14.5px/1.25 var(--nv-display); text-decoration: none !important; }
.nv-tm-empty-x a:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 3px; }

/* الماركات */
body.brands-index #main-content > .container > .flex.justify-between { padding: 6px 0 18px !important; }
body.brands-index .brands-nav-wrap { background: transparent !important; box-shadow: none !important; }
body.brands-index .brands-nav { gap: 6px; }
body.brands-index .brands-nav__item { width: 44px !important; height: 44px !important; border-radius: 50% !important; border: 1px solid var(--nv-line-soft); background: #FFFBF6 !important; color: var(--nv-brown) !important; font: 500 15px/1 var(--nv-display) !important; }
body.brands-index #main-content > .container > .px-8 { padding-inline: 0 !important; }
body.brands-index section[id^="brand-section"] { padding-top: 28px !important; }
body.brands-index section[id^="brand-section"] > .flex { margin-bottom: 18px !important; gap: 12px; }
body.brands-index .brand-char { width: 44px !important; height: 44px !important; border-radius: 50% !important; background: var(--nv-cream) !important; color: var(--nv-brown) !important; font: 500 16px/1 var(--nv-display) !important; }
body.brands-index .bg-border-color { background: var(--nv-line-soft) !important; }
body.brands-index .brand-item { border-radius: 20px !important; border: 1px solid var(--nv-line-soft) !important; background: #FFFBF6 !important; box-shadow: none !important; overflow: hidden; transition: border-color .4s var(--nv-ease), box-shadow .5s var(--nv-ease); }
body.brands-index .brand-item:hover { border-color: var(--nv-line) !important; box-shadow: 0 20px 28px -24px rgba(82, 44, 0, .5) !important; }
body.brands-index .brand-item:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 3px; }

/* صفحة الماركة: رأس هادئ + تهدئة طباعة بطاقات المنتج (البطاقة نفسها شأن وحدة plp) */
body.brands-single #main-content header { gap: 18px; margin: 4px 0 28px !important; padding: 22px 24px; border-radius: 26px; border: 1px solid var(--nv-line-soft); background: linear-gradient(120deg, #FFF7EE 0%, #FCEBDA 52%, #F6DCC6 100%); }
body.brands-single #main-content header img { width: 112px !important; height: 84px !important; padding: 8px !important; border-radius: 16px !important; box-shadow: none !important; border: 1px solid var(--nv-line-soft); }
body.brands-single #main-content header > div { padding: 0 !important; min-width: 0; }
body.brands-single #main-content header h2 { margin: 6px 0 0 !important; max-width: 640px; font: 400 15px/1.8 var(--nv-font) !important; color: var(--nv-muted) !important; }
body.brands-single .s-product-card-content-title a { font: 500 15px/1.6 var(--nv-display) !important; color: var(--nv-ink) !important; }
body.brands-single .s-product-card-content-subtitle { font: 400 13.5px/1.7 var(--nv-font) !important; color: var(--nv-muted) !important; }
body.brands-single .s-product-card-price, body.brands-single .s-product-card-sale-price h4 { font: 500 16px/1.3 var(--nv-display) !important; color: var(--nv-ink) !important; }
body.brands-single .s-product-card-promotion-title { font: 500 11.5px/1.5 var(--nv-display) !important; } /* r7: أصغر كما في صفحات القوائم */
body.brands-single .s-product-card-entry { border-radius: 22px !important; border: 1px solid var(--nv-line-soft); box-shadow: none !important; overflow: hidden; background: #FFFBF6 !important; }
body.brands-single .s-product-card-content-footer button.s-button-element { min-height: 44px !important; border-radius: 999px !important; font: 500 14px/1.25 var(--nv-display) !important; }
body.brands-single .s-product-card-content-footer .s-button-text { font-weight: 500 !important; }
body.brands-single .s-product-card-wishlist-btn button, body.brands-single button.s-product-card-wishlist-btn { min-width: 44px !important; min-height: 44px !important; }
body.brands-single .s-infinite-scroll-last { font: 400 13.5px/1.7 var(--nv-font) !important; color: var(--nv-muted) !important; }

@media (max-width: 767px) {
  body:is(.testimonials, .brands-index, .brands-single) #main-content > .container { width: calc(100% - 24px); padding-bottom: 44px; }
  body:is(.testimonials, .brands-index, .brands-single) #main-content > .container > nav.breadcrumbs { padding: 12px 4px 10px !important; }
  body:is(.testimonials, .brands-index) #main-content :is(h1, h2.font-bold),
  body.brands-single #main-content header h1 { font-size: 24px !important; }
  body.testimonials #main-content > .container > .flex > div { padding: 18px 16px 16px !important; border-radius: 22px !important; }
  body.testimonials #testimonials-filter { min-width: 128px; font-size: 16px !important; }
  body.brands-single #main-content header { padding: 18px 16px; border-radius: 22px; margin-bottom: 20px !important; gap: 12px; }
  body.brands-single #main-content header h2 { font-size: 14.5px !important; }
  body.brands-single .s-product-card-content-title a { font-size: 14.5px !important; }
  body.brands-single .s-product-card-price, body.brands-single .s-product-card-sale-price h4 { font-size: 15px !important; }
}
@media (prefers-reduced-motion: reduce) { body.brands-index .brand-item { transition: none !important; } }
@media (max-width: 767px) {
  body.brands-single .s-product-card-content-footer button.s-button-element { padding-inline: 8px !important; font-size: 13px !important; white-space: nowrap; }
  body.brands-single .s-product-card-content-footer .s-button-text { gap: 4px !important; white-space: nowrap; }
}
/* CLS: قوائم سلة تُحمَّل بعد الرسم — ارتفاع الشاشة محجوز كي لا يقفز التذييل */
body:is(.testimonials, .brands-single) #main-content { min-height: 100vh; }
/* =========================================================
   NOVALIA — حساب العميلة (account) · body.customer-*
   الإطار لكل صفحات الحساب (body[class*="customer-"])، والمحتوى لكل صفحة بصنفها:
   customer-orders-index · customer-orders-single · customer-wishlist · customer-notifications · customer-wallet · customer-profile
   الجوال/اللوحي < 1024px (رائد يُظهر القائمة الجانبية من lg): رأس + شرائح · الديسكتوب: بطاقة جانبية ثابتة + المحتوى.
   ========================================================= */

/* ---------- نغمات الحالة (هادئة، من لوحة الهوية) ---------- */
body[class*="customer-"] [data-nv-tone] { --t-bg: #F3ECE6; --t-fg: #5E4A3C; --t-dot: #A08B79; }
body[class*="customer-"] [data-nv-tone="wait"] { --t-bg: #FBF0DC; --t-fg: #7A520F; --t-dot: #C89A3E; }
body[class*="customer-"] [data-nv-tone="pay"] { --t-bg: #FBF0DC; --t-fg: #7A520F; --t-dot: #AC791B; }
body[class*="customer-"] [data-nv-tone="progress"] { --t-bg: #F7E7D8; --t-fg: #6E4220; --t-dot: #B07A4C; }
body[class*="customer-"] [data-nv-tone="ship"] { --t-bg: #EEEEE2; --t-fg: #4E5534; --t-dot: #8A9160; }
body[class*="customer-"] [data-nv-tone="done"] { --t-bg: #E8EFE3; --t-fg: #3B5636; --t-dot: #6E9264; }
body[class*="customer-"] [data-nv-tone="cancel"] { --t-bg: #F6E5E0; --t-fg: #8A3A2C; --t-dot: #C0614C; }
body[class*="customer-"] [data-nv-tone="back"] { --t-bg: #F1E6E3; --t-fg: #6A4740; --t-dot: #A9776D; }

/* ---------- الإطار ---------- */
body[class*="customer-"] #main-content { background: var(--nv-ivory, #FFF7EF); }
body[class*="customer-"] #main-content > .profile-header { display: none !important; }
body[class*="customer-"] #main-content > .container { padding-top: 16px; padding-bottom: 48px; margin-bottom: 0 !important; }
body[class*="customer-"] #main-content > .container > .flex { gap: 0; }
body[class*="customer-"] #main-content nav[aria-label="Sidebar"] {
  position: relative; display: block; width: 100%; margin: 0 0 18px !important; padding: 16px 16px 14px !important; top: auto;
  border-radius: 24px !important; border: 1px solid var(--nv-line-soft); box-shadow: none !important;
  background: radial-gradient(120% 140% at 100% 0%, #FFF8F0 0%, rgba(255, 248, 240, 0) 60%), linear-gradient(160deg, #FDEFE2 0%, #F8E2CF 100%) !important;
}
body[class*="customer-"] #main-content nav[aria-label="Sidebar"] > :not([hidden]) ~ :not([hidden]) { margin-top: 0 !important; }
@media (max-width: 1023.98px) {  /* ارتفاع الرأس + الشرائح محجوز قبل تشغيل JS (لا إزاحة) */
  body[class*="customer-"] #main-content nav[aria-label="Sidebar"] { min-height: 130px; }
  body.customer-profile #main-content nav[aria-label="Sidebar"] { min-height: 134px; }
}
@media (max-width: 380px) { body[class*="customer-"]:not(.customer-profile) #main-content nav[aria-label="Sidebar"] { min-height: 124px; } }
body[class*="customer-"] #main-content .main-content { min-width: 0; width: 100%; padding-top: 0 !important; color: var(--nv-ink); font-family: var(--nv-font); }

/* الرأس: الصورة/الحرف، التحية والاسم، الخروج */
.nv-ac-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nv-ac-av {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; overflow: hidden;
  background: linear-gradient(150deg, #FFFBF6 0%, #F3D7BF 100%); border: 1px solid rgba(172, 121, 27, .28);
  box-shadow: 0 10px 18px -14px rgba(82, 44, 0, .55), inset 0 0 0 3px rgba(255, 251, 246, .7);
  font: 500 21px/1.25 var(--nv-display); color: var(--nv-gold-text);
}
.nv-ac-av img { width: 100%; height: 100%; object-fit: cover; }
.nv-ac-i-user, .nv-ac-i-out, .nv-ac-i-re { display: block; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--nv-i-user) center / contain no-repeat; mask: var(--nv-i-user) center / contain no-repeat; }
.nv-ac-i-out {
  width: 18px; height: 18px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4.5H7.5a2 2 0 00-2 2v11a2 2 0 002 2H14'/%3E%3Cpath d='M10.5 12H20M16.5 8.5L20 12l-3.5 3.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4.5H7.5a2 2 0 00-2 2v11a2 2 0 002 2H14'/%3E%3Cpath d='M10.5 12H20M16.5 8.5L20 12l-3.5 3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
[dir="rtl"] .nv-ac-i-out { transform: scaleX(-1); }
.nv-ac-id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.nv-ac-hi { font: 400 13px/1.5 var(--nv-font); color: var(--nv-muted); }
.nv-ac-name { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 500 18px/1.4 var(--nv-display); color: var(--nv-ink); }
.nv-ac-out {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(82, 44, 0, .2); background: rgba(255, 251, 246, .75); color: var(--nv-brown); font: 500 13.5px/1.25 var(--nv-display); white-space: nowrap;
  transition: background .3s var(--nv-ease), border-color .3s var(--nv-ease);
}
.nv-ac-out:hover { background: #FFFBF6; border-color: rgba(82, 44, 0, .4); }
.nv-ac-out:focus-visible, .nv-ac-chip:focus-visible, .nv-ac-reorder:focus-visible, .nv-ac-cta:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 2px; }

/* الشرائح (جوال/لوحي) */
.nv-ac-chips {
  display: flex; gap: 8px; margin: 14px -16px 0; padding: 0 16px 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  scroll-padding-inline: 16px;
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 22px, #000 calc(100% - 10px), transparent 100%);
  mask-image: linear-gradient(to left, transparent 0, #000 22px, #000 calc(100% - 10px), transparent 100%);
}
.nv-ac-chips::-webkit-scrollbar { display: none; }
.nv-ac-chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(172, 121, 27, .22); background: rgba(255, 251, 246, .72); color: var(--nv-ink) !important; text-decoration: none !important;
  font: 400 14px/1.25 var(--nv-display); transition: background .3s var(--nv-ease), color .3s var(--nv-ease), border-color .3s var(--nv-ease);
}
.nv-ac-chip[aria-current] { background: var(--nv-brown); border-color: var(--nv-brown); color: #FFF7EF !important; font-weight: 500; }
.nv-ac-badge {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--nv-gold); color: #FFF; font: 500 13px/1.25 var(--nv-display);
}
.nv-ac-chip[aria-current] .nv-ac-badge { background: #F3D7BF; color: var(--nv-brown); }

/* العنوان */
body[class*="customer-"] .main-content .nv-ac-title,
body[class*="customer-"] .main-content > h1, body.customer-orders-single .main-content > .flex:first-child > h1 {
  margin: 2px 0 14px !important; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: start !important;
  font: 300 22px/1.4 var(--nv-display) !important; color: var(--nv-ink); letter-spacing: 0;
}
.nv-ac-title::before {
  content: attr(data-nv-eb); display: none; margin-bottom: 6px; direction: ltr; text-align: end; padding-left: 0;
  font: 500 12.5px/1.4 var(--nv-latin); letter-spacing: .32em; color: var(--nv-gold-text);
}
body.customer-orders-single .main-content > .flex:first-child { gap: 12px; margin-bottom: 0 !important; min-width: 0; }
body.customer-orders-single .main-content > .flex:first-child > h1 { flex: 1; min-width: 0; }

/* الحالة الفارغة (موحّدة) */
body[class*="customer-"] .nv-ac-empty {
  display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 0; height: auto !important; min-height: 0;
  margin: 6px 0 0; padding: 34px 20px 36px !important; border-radius: 24px; text-align: center;
  background: var(--nv-paper); border: 1px solid var(--nv-line-soft); color: var(--nv-ink) !important;
}
body[class*="customer-"] .nv-ac-empty > i, body[class*="customer-"] .nv-ac-empty .icon,
body[class*="customer-"] .nv-ac-empty > span:first-child, body[class*="customer-"] .nv-ac-empty .s-placeholder-icon {
  display: grid !important; place-items: center; width: 88px !important; height: 88px !important; margin: 0 auto 16px !important; border-radius: 999px;
  background: radial-gradient(70% 70% at 50% 35%, #FFFBF6 0%, #F6DFCA 100%) !important; border: 1px solid var(--nv-line-soft);
  box-shadow: 0 18px 30px -24px rgba(82, 44, 0, .6); color: var(--nv-gold-text) !important; font-size: 34px !important; line-height: 1 !important;
}
body[class*="customer-"] .nv-ac-empty > span:first-child svg { width: 34px !important; height: 34px !important; fill: var(--nv-gold-text) !important; }
body[class*="customer-"] .nv-ac-empty > p, body[class*="customer-"] .nv-ac-empty > div:not(.nv-ac-empty-x),
body[class*="customer-"] .nv-ac-empty .s-placeholder-title {
  margin: 0 !important; padding: 0 !important; font: 500 17px/1.6 var(--nv-display) !important; color: var(--nv-ink) !important;
}
body[class*="customer-"] .nv-ac-empty > div.text-gray-400 { display: none !important; }
body[class*="customer-"] .nv-ac-empty salla-placeholder { display: flex !important; flex-direction: column; align-items: center; margin: 0 !important; padding: 0 !important; }
body[class*="customer-"] .nv-ac-empty .s-placeholder-description { display: none !important; }
body[class*="customer-"] .nv-ac-empty .s-placeholder-icon svg { width: 34px !important; height: 34px !important; fill: var(--nv-gold-text) !important; color: var(--nv-gold-text) !important; }
body[class*="customer-"] .nv-ac-empty .s-placeholder-icon svg * { fill: var(--nv-gold-text) !important; stroke: none; }
.nv-ac-empty-x { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 4px; }
.nv-ac-empty-x p { margin: 0; max-width: 300px; font: 400 14px/1.8 var(--nv-font); color: var(--nv-muted); }
.nv-ac-cta, body[class*="customer-"] a.nv-ac-cta {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 30px; border-radius: 999px;
  background: var(--nv-brown); color: #FFF7EF !important; text-decoration: none !important; font: 500 15px/1.25 var(--nv-display);
  box-shadow: 0 16px 26px -20px rgba(82, 44, 0, .9); transition: transform .3s var(--nv-ease), box-shadow .3s var(--nv-ease);
}
.nv-ac-cta:hover { transform: translateY(-1px); box-shadow: 0 20px 30px -20px rgba(82, 44, 0, .95); }

/* أزرار سلة داخل محتوى الحساب: كبسولة الهوية */
body[class*="customer-"] .main-content .s-infinite-scroll-btn,
body[class*="customer-"] .main-content .s-infinite-scroll-wrapper button.s-button-element {
  height: 48px !important; padding: 0 28px !important; border-radius: 999px !important; border: 1px solid var(--nv-line) !important;
  background: #FFFBF6 !important; color: var(--nv-brown) !important; font: 500 14.5px/1.25 var(--nv-display) !important; box-shadow: none !important;
}
body[class*="customer-"] .main-content .s-infinite-scroll-last { display: none !important; }

/* ---------- قائمة الطلبات (بطاقات) ---------- */
body[class*="customer-orders-index"] .s-orders-filters { gap: 8px; margin: 0 0 14px; }
body[class*="customer-orders-index"] .s-orders-filters salla-button { display: inline-block; }
body[class*="customer-orders-index"] .s-orders-filters button.s-button-element {
  height: 44px !important; padding: 0 18px !important; border-radius: 999px !important; box-shadow: none !important;
  border: 1px solid rgba(172, 121, 27, .22) !important; background: rgba(255, 251, 246, .8) !important; color: var(--nv-ink) !important; font: 400 14px/1.25 var(--nv-display) !important;
}
body[class*="customer-orders-index"] .s-orders-filters salla-button[color="primary"] button.s-button-element { background: #F7E5D3 !important; border-color: rgba(82, 44, 0, .35) !important; color: var(--nv-brown) !important; font-weight: 500 !important; }
body[class*="customer-orders-index"] .s-orders-banner { margin: 0 0 14px; padding: 12px 14px; border-radius: 16px; background: #FBF0DC; border: 1px solid rgba(172, 121, 27, .2); }
body[class*="customer-orders-index"] .s-orders-banner-icon svg path { fill: var(--nv-gold) !important; }
body[class*="customer-orders-index"] .s-orders-banner-text { font: 400 14px/1.7 var(--nv-font); color: var(--nv-ink); }
body[class*="customer-orders-index"] .s-orders-table { display: block !important; min-width: 0; margin: 0 !important; border-spacing: 0 !important; }
body[class*="customer-orders-index"] .s-orders-table-head { display: none !important; }
body[class*="customer-orders-index"] .s-orders-table-tbody { display: flex !important; flex-direction: column; gap: 12px; }
body[class*="customer-orders-index"] tr.s-orders-table-tbody-tr {
  position: relative; display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "num st" "date tot" "act act";
  align-items: center; gap: 8px 12px; padding: 16px 18px !important; margin: 0 !important; overflow: visible;
  border: 1px solid var(--nv-line-soft) !important; border-radius: 20px !important; background: var(--nv-paper) !important; box-shadow: none !important;
  transition: transform .5s var(--nv-ease), box-shadow .5s var(--nv-ease), border-color .4s var(--nv-ease);
}
body[class*="customer-orders-index"] tr.s-orders-table-tbody-tr.nv-ac-noact { grid-template-areas: "num st" "date tot"; }
@media (hover: hover) {
  body[class*="customer-orders-index"] tr.s-orders-table-tbody-tr:hover { transform: translateY(-2px); border-color: rgba(172, 121, 27, .34) !important; box-shadow: 0 24px 34px -30px rgba(82, 44, 0, .6) !important; }
}
body[class*="customer-orders-index"] tr.s-orders-table-tbody-tr > td.s-orders-table-tbody-tr-td {
  display: block !important; width: auto !important; height: auto !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: none !important; white-space: nowrap; font-weight: 400; text-align: start;
}
body[class*="customer-orders-index"] tr.s-orders-table-tbody-tr > td:nth-child(1) { grid-area: num; }
body[class*="customer-orders-index"] tr.s-orders-table-tbody-tr > td:nth-child(2) { grid-area: st; justify-self: end; }
body[class*="customer-orders-index"] tr.s-orders-table-tbody-tr > td:nth-child(3) { grid-area: tot; justify-self: end; }
body[class*="customer-orders-index"] tr.s-orders-table-tbody-tr > td:nth-child(4) { grid-area: date; min-width: 0; }
body[class*="customer-orders-index"] tr.s-orders-table-tbody-tr > td:nth-child(5) { grid-area: act; }
body[class*="customer-orders-index"] tr.nv-ac-noact > td:nth-child(5) { display: none !important; }
body[class*="customer-orders-index"] .s-orders-table-tbody-tr-td-content { position: static !important; display: flex !important; align-items: center; justify-content: flex-start; gap: 8px; padding: 0 !important; min-width: 0; }
body[class*="customer-orders-index"] .s-orders-mobile-title,
body[class*="customer-orders-index"] .s-orders-copy-to-clipboard-button { display: none !important; }
body[class*="customer-orders-index"] td:nth-child(1) .s-orders-table-tbody-tr-td-content::before { content: "طلب"; font: 400 14px/1 var(--nv-font); color: var(--nv-muted); }
body[class*="customer-orders-index"] .s-orders-reference-id { display: inline-block !important; direction: ltr; unicode-bidi: isolate; font: 500 17px/1.3 var(--nv-display); color: var(--nv-ink); }
body[class*="customer-orders-index"] .s-orders-buy-as-gift-icon { color: var(--nv-gold-text); }
body[class*="customer-orders-index"] tr.s-orders-table-tbody-tr a[href] { position: absolute !important; inset: 0 !important; width: auto !important; z-index: 1; border-radius: 20px; }
body[class*="customer-orders-index"] tr.s-orders-table-tbody-tr a[href]:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 2px; }
body[class*="customer-orders-index"] td:nth-child(4) .s-orders-table-tbody-tr-td-content > div { overflow: hidden; text-overflow: ellipsis; font: 400 13.5px/1.5 var(--nv-font); color: var(--nv-muted); }
body[class*="customer-orders-index"] td:nth-child(3) .s-orders-table-tbody-tr-td-content > div { font: 500 17px/1.3 var(--nv-display); color: var(--nv-ink); }
body[class*="customer-orders-index"] .s-orders-action-cell { justify-content: flex-start !important; padding-top: 4px !important; border-top: 1px dashed var(--nv-line-soft); margin-top: 4px; }
body[class*="customer-orders-index"] .s-orders-leave-review-btn { position: relative; z-index: 2; margin: 8px 0 0 !important; }
body[class*="customer-orders-index"] .s-orders-leave-review-btn button.s-button-element {
  height: 44px !important; padding: 0 16px !important; border-radius: 999px !important; border: 1px solid rgba(172, 121, 27, .3) !important;
  background: transparent !important; color: var(--nv-gold-text) !important; font: 500 13.5px/1.25 var(--nv-display) !important; box-shadow: none !important;
}
/* شارة الحالة */
body[class*="customer-"] .s-orders-status-container[data-nv-tone], body[class*="customer-"] .nv-ac-st[data-nv-tone] {
  display: inline-flex !important; align-items: center; gap: 7px; height: 30px; margin: 0 !important; padding: 0 12px; border-radius: 999px; white-space: nowrap;
  background: var(--t-bg); color: var(--t-fg) !important; font: 500 13px/1.25 var(--nv-display);
}
body[class*="customer-"] .s-orders-status-container[data-nv-tone]::before, body[class*="customer-"] .nv-ac-st[data-nv-tone]::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 999px; background: var(--t-dot); box-shadow: 0 0 0 3px color-mix(in srgb, var(--t-dot) 22%, transparent);
}
body[class*="customer-"] .s-orders-status-container[data-nv-tone] i, body[class*="customer-"] .nv-ac-st[data-nv-tone] i { display: none !important; }
body[class*="customer-"] .nv-ac-st[data-nv-tone] > span { margin: 0 !important; }
/* العملة: رمز سلة يُستبدل بـ«ر.س» مثل بقية المتجر */
body[class*="customer-"] .main-content i.sicon-sar { display: none !important; }
body[class*="customer-"] .main-content :is(div, b, span, dd, h4):has(> i.sicon-sar)::after { content: "ر.س"; margin-inline-start: 5px; font: 400 13px/1 var(--nv-font); color: var(--nv-gold-text); }

/* ---------- تفاصيل الطلب ---------- */
body.customer-orders-single .main-content > .space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 12px !important; }
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type, body.customer-orders-single .main-content > .space-y-4 > table:first-of-type > tbody { display: block !important; width: 100%; min-width: 0 !important; }
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type tr {
  display: grid !important; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 16px; padding: 16px 18px !important;
  border-radius: 20px; border: 1px solid var(--nv-line-soft); background: var(--nv-paper) !important;
}
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type td:last-child { display: contents !important; }
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type td:first-child { grid-column: 1; grid-row: 1; }
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type td:last-child > span:first-child { grid-column: 2; grid-row: 1; justify-self: end; }
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type td:last-child > div { grid-column: 1 / -1; grid-row: 2; display: flex !important; flex-wrap: wrap; justify-content: flex-start !important; }
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type.nv-ac-hasre td:last-child > div { grid-column: 2; justify-content: flex-end !important; }
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type .nv-ac-reorder { grid-column: 1; grid-row: 2; justify-self: start; }
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type td { display: flex !important; flex-wrap: wrap; align-items: center; gap: 10px; width: auto !important; height: auto !important; padding: 0 !important; white-space: nowrap; }
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type td:first-child { flex-direction: column; align-items: flex-start; gap: 2px; }
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type td:first-child > div { margin: 0 !important; font: 400 13px/1.5 var(--nv-font); color: var(--nv-muted) !important; }
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type td:first-child > b { font: 500 16px/1.3 var(--nv-display); color: var(--nv-ink); direction: ltr; unicode-bidi: isolate; }
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type td:last-child > div { gap: 8px !important; }
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type salla-button button.s-button-element,
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type a.bg-primary, body.customer-orders-single .tooltip-toggle.border-primary {
  height: 44px !important; padding: 0 16px !important; border-radius: 999px !important; border: 1px solid rgba(82, 44, 0, .22) !important;
  background: transparent !important; color: var(--nv-brown) !important; font: 500 13.5px/44px var(--nv-display) !important; box-shadow: none !important;
}
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type salla-button button.s-button-element .s-button-text { display: inline-flex; align-items: center; gap: 6px; }
.nv-ac-reorder {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer; border: 0;
  background: var(--nv-brown); color: #FFF7EF; font: 500 14px/1.25 var(--nv-display); box-shadow: 0 14px 24px -18px rgba(82, 44, 0, .9);
}
.nv-ac-i-re {
  width: 17px; height: 17px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 12a7.5 7.5 0 11-2.2-5.3'/%3E%3Cpath d='M19.5 4.5v4h-4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 12a7.5 7.5 0 11-2.2-5.3'/%3E%3Cpath d='M19.5 4.5v4h-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* حجز مكان المسار قبل تشغيل JS (يمنع إزاحة المحتوى): يُلغى حين يضيف JS الصنف nv-ac-ohead */
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type:not(.nv-ac-ohead) { margin-bottom: 84px; }
@media (min-width: 768px) { body.customer-orders-single .main-content > .space-y-4 > table:first-of-type:not(.nv-ac-ohead) { margin-bottom: 88px; } }
/* المسار (مشتق من الحالة الحالية فقط) */
.nv-ac-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 12px 0 0; padding: 16px 10px 14px; list-style: none; border-radius: 20px; background: var(--nv-paper); border: 1px solid var(--nv-line-soft); }
.nv-ac-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; text-align: center; }
.nv-ac-steps li::before { content: ""; position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 999px; background: var(--nv-paper); border: 1.5px solid rgba(172, 121, 27, .35); }
.nv-ac-steps li + li::after { content: ""; position: absolute; top: 6px; inset-inline-end: 50%; width: 100%; height: 1.5px; background: rgba(172, 121, 27, .2); transform: translateY(-50%); }
.nv-ac-steps li.is-done::before { background: var(--nv-gold); border-color: var(--nv-gold); }
.nv-ac-steps li.is-done + li::after, .nv-ac-steps li.is-done::after { background: var(--nv-gold); }
.nv-ac-steps li.is-now::before { background: var(--nv-brown); border-color: var(--nv-brown); box-shadow: 0 0 0 5px rgba(172, 121, 27, .18); }
.nv-ac-steps span { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 13px/1.4 var(--nv-font); color: var(--nv-muted); }
.nv-ac-steps li.is-now span { color: var(--nv-ink); font-weight: 500; }
/* الشحنة والمنتجات */
body.customer-orders-single .shipping-orders { border-radius: 20px; border: 1px solid var(--nv-line-soft); background: var(--nv-paper); overflow: hidden; }
body.customer-orders-single .nv-ac-ship {
  gap: 10px; padding: 14px 18px !important; background: linear-gradient(160deg, #FDF0E3, #F9E6D4) !important; border-bottom: 1px solid var(--nv-line-soft) !important;
  border-radius: 0 !important; font: 400 14px/1.6 var(--nv-font); color: var(--nv-ink);
}
body.customer-orders-single .nv-ac-ship > :not([hidden]) ~ :not([hidden]) { margin-top: 0 !important; }
body.customer-orders-single .nv-ac-ship > div:last-child { flex-wrap: wrap; align-items: center; gap: 8px 16px; }
body.customer-orders-single .nv-ac-ship > div:last-child > * { margin: 0 !important; }
body.customer-orders-single .nv-ac-ship .font-bold { font-weight: 500; direction: ltr; unicode-bidi: isolate; }
body.customer-orders-single .nv-ac-ship a {
  display: inline-flex !important; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(82, 44, 0, .22);
  background: #FFFBF6; color: var(--nv-brown) !important; font: 500 13.5px/1.25 var(--nv-display) !important; text-decoration: none;
}
body.customer-orders-single .order-item { --bg: #F6E5D6; padding: 16px 18px !important; background: transparent !important; border-color: var(--nv-line-soft) !important; border-radius: 0 !important; }
body.customer-orders-single .order-item[data-tone="1"] { --bg: #F4E3BF; }
body.customer-orders-single .order-item[data-tone="2"] { --bg: #FBEBDD; }
body.customer-orders-single .order-item[data-tone="3"] { --bg: #F1DCCB; }
body.customer-orders-single .order-item > div:first-child { margin-bottom: 0 !important; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; }
body.customer-orders-single .order-item > div:first-child > div:first-child { grid-column: 1 / -1; align-items: center; margin-bottom: 8px !important; gap: 14px; }
body.customer-orders-single .order-item > div:first-child > div:first-child > :not([hidden]) ~ :not([hidden]) { margin: 0 !important; }
body.customer-orders-single .order-item a.shrink-0 {
  position: relative; display: flex; align-items: flex-end; justify-content: center; width: 76px; height: 76px; overflow: hidden; border-radius: 16px;
  background: radial-gradient(70% 60% at 50% 45%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 70%), var(--bg);
}
body.customer-orders-single .order-item a.shrink-0 img { width: 100% !important; height: 100% !important; border-radius: 0 !important; object-fit: cover; }
body.customer-orders-single .order-item[data-cut] a.shrink-0 img { width: auto !important; height: auto !important; max-width: 72%; max-height: 80%; margin-bottom: 8%; object-fit: contain; }
body.customer-orders-single .order-item[data-kind="wide"] a.shrink-0 img { max-width: 86%; max-height: 64%; margin-bottom: 16%; }
body.customer-orders-single .order-item .flex > div { min-width: 0; }
body.customer-orders-single .order-item .flex > div > a {
  padding: 10px 0 !important; margin: -10px 0 -6px !important; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 500 15.5px/1.6 var(--nv-display) !important; color: var(--nv-ink) !important;
}
body.customer-orders-single .order-item .flex > div > b { font: 500 15px/1.3 var(--nv-display); color: var(--nv-ink); }
body.customer-orders-single .order-item > div:first-child > div.justify-between { display: flex; align-items: baseline; justify-content: flex-start !important; gap: 6px; padding: 0 !important; font: 400 13.5px/1.6 var(--nv-font); color: var(--nv-muted); }
body.customer-orders-single .order-item > div:first-child > div.justify-between > span { width: auto !important; }
body.customer-orders-single .order-item > div:first-child > div.justify-between > b { font: 500 14px/1.6 var(--nv-display); color: var(--nv-ink); }
body.customer-orders-single .order-item > div:first-child > div.justify-between:last-child { justify-content: flex-end !important; }
/* صف «السعر» يكرر السعر تحت الاسم (القالب يطبع item.price مرتين حين يوجد المنتج) */
body.customer-orders-single .order-item > div:first-child > div.flex:first-child:not(.justify-between) ~ div.justify-between:nth-child(3),
body.customer-orders-single .order-item .nv-ac-dup { display: none !important; }
/* الملخص */
body.customer-orders-single salla-order-totals-card { display: block; }
body.customer-orders-single .s-order-totals-card-panel { padding: 18px !important; border-radius: 20px !important; border: 1px solid var(--nv-line-soft) !important; background: var(--nv-paper) !important; box-shadow: none !important; }
body.customer-orders-single .s-order-totals-card-heading { margin: 0 0 8px !important; font: 500 16px/1.5 var(--nv-display) !important; color: var(--nv-ink) !important; }
body.customer-orders-single .s-order-totals-card-row-inner { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; }
body.customer-orders-single .s-order-totals-card-row-inner dt { font: 400 14px/1.6 var(--nv-font) !important; color: var(--nv-muted) !important; }
body.customer-orders-single .s-order-totals-card-row-inner dd { font: 500 14.5px/1.4 var(--nv-display) !important; color: var(--nv-ink) !important; }
body.customer-orders-single .s-order-totals-card-total { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--nv-line-soft); }
body.customer-orders-single .s-order-totals-card-total dt { color: var(--nv-ink) !important; font-weight: 500 !important; }
body.customer-orders-single .s-order-totals-card-total dd, body.customer-orders-single .s-order-totals-card-total dd b { font: 500 18px/1.3 var(--nv-display) !important; }
/* إعادة الطلب / الإلغاء / إتمام الدفع (من سلة) */
body.customer-orders-single .nv-ac-actions { padding: 16px 18px !important; border-radius: 20px !important; border: 1px solid var(--nv-line-soft); background: var(--nv-paper) !important; }
body.customer-orders-single .nv-ac-actions .center-between { gap: 12px; }
body.customer-orders-single .nv-ac-actions h3 { margin-bottom: 4px !important; font: 500 15.5px/1.5 var(--nv-display) !important; color: var(--nv-ink); }
body.customer-orders-single .nv-ac-actions p { font: 400 13.5px/1.7 var(--nv-font); color: var(--nv-muted) !important; }
body.customer-orders-single .nv-ac-actions salla-button button.s-button-element {
  height: 44px !important; padding: 0 18px !important; border-radius: 999px !important; border: 1px solid rgba(82, 44, 0, .25) !important;
  background: transparent !important; color: var(--nv-brown) !important; font: 500 14px/1.25 var(--nv-display) !important; box-shadow: none !important; white-space: nowrap;
}
body.customer-orders-single .nv-ac-actions salla-button[color="danger"] button.s-button-element { border-color: rgba(138, 58, 44, .3) !important; color: #8A3A2C !important; }
body.customer-orders-single .nv-ac-actions salla-button[width="wide"] button.s-button-element { background: var(--nv-brown) !important; color: #FFF7EF !important; border-color: var(--nv-brown) !important; }
body.customer-orders-single .rating-header { border-radius: 20px !important; background: linear-gradient(160deg, #FDF0E3, #F6DCC6) !important; color: var(--nv-ink) !important; border: 1px solid var(--nv-line-soft); }
body.customer-orders-single .rating-header h2 { font: 500 16px/1.5 var(--nv-display); }
body.customer-orders-single .rating-header p { font: 400 13.5px/1.7 var(--nv-font); color: var(--nv-muted); }
body.customer-orders-single .rating-header button.s-button-element { height: 44px !important; border-radius: 999px !important; background: var(--nv-brown) !important; color: #FFF7EF !important; }

/* ---------- المفضلة (بطاقات صفحات الأقسام) ---------- */
body.customer-wishlist .s-products-list-row-cards { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px !important; }
body.customer-wishlist .s-products-list-row-cards > :not([hidden]) ~ :not([hidden]) { margin: 0 !important; }
body.customer-wishlist custom-wishlist-card.product-entry {
  --bg: #F6E5D6; position: relative; display: flex !important; flex-direction: column; min-width: 0; height: auto !important; margin: 0 !important; padding: 8px !important;
  border-radius: 20px !important; background: var(--nv-paper) !important; border: 1px solid rgba(172, 121, 27, .13) !important; box-shadow: none !important; overflow: visible;
  transition: transform .7s var(--nv-ease), box-shadow .7s var(--nv-ease), border-color .6s var(--nv-ease), opacity .5s, height .5s;
}
body.customer-wishlist custom-wishlist-card[data-tone="1"] { --bg: #F4E3BF; }
body.customer-wishlist custom-wishlist-card[data-tone="2"] { --bg: #FBEBDD; }
body.customer-wishlist custom-wishlist-card[data-tone="3"] { --bg: #F1DCCB; }
@media (hover: hover) {
  body.customer-wishlist custom-wishlist-card.product-entry:hover { transform: translateY(-4px); border-color: rgba(172, 121, 27, .34) !important; box-shadow: 0 34px 44px -36px rgba(82, 44, 0, .55) !important; }
  body.customer-wishlist custom-wishlist-card[data-cut]:hover .product-entry__image img { transform: translateY(-6px) scale(1.04); }
}
/* البطاقة شبكة واحدة: الصورة، الاسم، السطر اللاتيني، ثم السعر وزر الإضافة (دائرة 44px مثل صفحات الأقسام) */
body.customer-wishlist custom-wishlist-card.product-entry { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto 19px auto; grid-template-areas: "img img" "name name" "sub sub" "price add"; align-items: center; column-gap: 8px; }
body.customer-wishlist custom-wishlist-card > div, body.customer-wishlist custom-wishlist-card > div:first-child > div.flex-1 { display: contents !important; }
body.customer-wishlist .product-entry__image {
  grid-area: img; position: relative; display: flex !important; align-items: flex-end; justify-content: center; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1;
  margin: 0 !important; overflow: hidden; border-radius: 14px !important; background: radial-gradient(70% 60% at 50% 45%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 70%), var(--bg) !important;
}
body.customer-wishlist .product-entry__image img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; transition: transform .9s var(--nv-ease), opacity .5s; }
body.customer-wishlist custom-wishlist-card[data-cut] .product-entry__image::after {
  content: ""; position: absolute; left: 50%; bottom: 8%; width: 52%; height: 7%; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse, rgba(82, 44, 0, .28) 0%, rgba(82, 44, 0, 0) 70%);
}
body.customer-wishlist custom-wishlist-card[data-cut] .product-entry__image img { position: relative; z-index: 1; width: auto !important; height: auto !important; max-width: 70%; max-height: 74%; margin-bottom: 11%; object-fit: contain; }
body.customer-wishlist custom-wishlist-card[data-kind="mist"] .product-entry__image img { max-height: 66%; }
body.customer-wishlist custom-wishlist-card[data-kind="wide"] .product-entry__image img { max-width: 82%; max-height: 62%; margin-bottom: 12%; }
body.customer-wishlist custom-wishlist-card[data-kind="mid"] .product-entry__image img { max-width: 70%; max-height: 66%; }
body.customer-wishlist custom-wishlist-card h3 {
  grid-area: name; min-width: 0; margin: 10px 4px 0 !important; padding: 0 !important; overflow: visible; -webkit-line-clamp: unset; display: block;
  font: 500 15px/1.7 var(--nv-display) !important; color: var(--nv-ink) !important;
}
body.customer-wishlist custom-wishlist-card h3 a { display: block; padding: 10px 0; margin: -10px 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; line-height: 1.7; color: inherit !important; text-decoration: none !important; }
body.customer-wishlist custom-wishlist-card .nv-ac-sub { grid-area: sub; margin: 1px 4px 0; }
.nv-ac-sub { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; direction: ltr; text-align: end; font: 500 13px/1.4 var(--nv-latin); letter-spacing: .16em; color: var(--nv-gold-text); text-transform: uppercase; }
body.customer-wishlist custom-wishlist-card .center-between { grid-area: price; display: flex !important; justify-content: flex-start; min-width: 0; margin: 8px 4px 4px; }
body.customer-wishlist custom-wishlist-card .center-between > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
body.customer-wishlist custom-wishlist-card .center-between > div > :not([hidden]) ~ :not([hidden]) { margin: 0 !important; }
body.customer-wishlist custom-wishlist-card h4 { margin: 0 !important; font: 500 17px/1.2 var(--nv-display) !important; color: var(--nv-ink) !important; white-space: nowrap; }
body.customer-wishlist custom-wishlist-card .line-through { font: 400 13px/1 var(--nv-font) !important; color: var(--nv-muted) !important; }
body.customer-wishlist custom-wishlist-card salla-add-product-button { grid-area: add; display: block; width: auto !important; margin: 8px 2px 4px !important; }
body.customer-wishlist custom-wishlist-card salla-add-product-button > div, body.customer-wishlist custom-wishlist-card salla-add-product-button salla-button { display: block; width: auto !important; }
body.customer-wishlist custom-wishlist-card salla-add-product-button button.s-button-element {
  position: relative; display: grid !important; place-items: center; width: 44px !important; height: 44px !important; min-width: 0 !important; padding: 0 !important;
  border-radius: 999px !important; border: 1px solid rgba(82, 44, 0, .3) !important; background: transparent !important; color: var(--nv-brown) !important; box-shadow: none !important;
  transition: background .35s var(--nv-ease), border-color .35s var(--nv-ease), color .35s var(--nv-ease), transform .2s;
}
body.customer-wishlist custom-wishlist-card salla-add-product-button button.s-button-element .s-button-text { font-size: 0 !important; line-height: 0; }
body.customer-wishlist custom-wishlist-card salla-add-product-button button.s-button-element .s-button-text > * { display: none !important; }
body.customer-wishlist custom-wishlist-card salla-add-product-button button.s-button-element:not(.s-button-loading) .s-button-text::before {
  content: ""; display: block; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 8.6h13.6l-.9 11.6H6.1L5.2 8.6z'/%3E%3Cpath d='M9 8.6V7.2a3 3 0 016 0v1.4'/%3E%3Cpath d='M12 11.8v5M9.5 14.3h5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 8.6h13.6l-.9 11.6H6.1L5.2 8.6z'/%3E%3Cpath d='M9 8.6V7.2a3 3 0 016 0v1.4'/%3E%3Cpath d='M12 11.8v5M9.5 14.3h5'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (hover: hover) {
  body.customer-wishlist custom-wishlist-card:hover salla-add-product-button button.s-button-element:not([disabled]) { background: var(--nv-brown) !important; border-color: var(--nv-brown) !important; color: #FFF7EF !important; }
}
body.customer-wishlist custom-wishlist-card salla-add-product-button button.s-button-element:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 2px; }
body.customer-wishlist custom-wishlist-card salla-add-product-button button.s-button-element:active { transform: scale(.94); }
/* نفدت الكمية: نص صغير بدل الأيقونة، وصورة أهدأ (كما في صفحات الأقسام) */
body.customer-wishlist custom-wishlist-card salla-add-product-button[product-status="out"] button.s-button-element { width: auto !important; padding: 0 14px !important; border-color: var(--nv-line) !important; color: var(--nv-muted) !important; cursor: not-allowed; opacity: 1 !important; }
body.customer-wishlist custom-wishlist-card salla-add-product-button[product-status="out"] .s-button-text { font-size: 0 !important; line-height: 1 !important; }
body.customer-wishlist custom-wishlist-card salla-add-product-button[product-status="out"] .s-button-text::before {
  content: "نفدت" !important; width: auto !important; height: auto !important; background: none !important; -webkit-mask: none !important; mask: none !important; font: 500 13px/1.25 var(--nv-display); color: var(--nv-muted);
}
body.customer-wishlist custom-wishlist-card:has(salla-add-product-button[product-status="out"]) .product-entry__image img { opacity: .62; }
body.customer-wishlist custom-wishlist-card salla-button.btn--delete { position: absolute !important; z-index: 3; top: 4px; inset-inline-end: 4px; margin: 0 !important; }
body.customer-wishlist custom-wishlist-card salla-button.btn--delete button.s-button-element {
  display: grid !important; place-items: center; width: 44px !important; height: 44px !important; min-width: 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 999px !important; background: transparent !important; box-shadow: none !important;
}
body.customer-wishlist custom-wishlist-card salla-button.btn--delete .s-button-text {
  display: grid !important; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: rgba(255, 251, 246, .9); border: 1px solid var(--nv-line-soft); color: var(--nv-brown);
  transition: background .3s var(--nv-ease);
}
body.customer-wishlist custom-wishlist-card salla-button.btn--delete i { font-size: 13px !important; color: var(--nv-brown) !important; }
body.customer-wishlist custom-wishlist-card salla-button.btn--delete button:hover .s-button-text { background: #FFF; }
body.customer-wishlist custom-wishlist-card salla-button.btn--delete button:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: -2px; }

/* ---------- الإشعارات ---------- */
body.customer-notifications .s-notifications-container { display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--nv-line-soft); background: var(--nv-paper); overflow: hidden; }
body.customer-notifications .s-notifications-container > salla-notification-item { display: block; margin: 0 !important; }
body.customer-notifications .s-notifications-container > :not([hidden]) ~ :not([hidden]) { margin: 0 !important; border-top: 1px solid var(--nv-line-soft); }
body.customer-notifications a.s-notifications-item {
  display: grid !important; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 12px; min-height: 44px; margin: 0 !important; padding: 16px !important;
  border-radius: 0 !important; background: rgba(249, 218, 190, .22) !important; box-shadow: none !important; color: var(--nv-ink) !important; text-decoration: none !important;
}
body.customer-notifications a.s-notifications-item > :not([hidden]) ~ :not([hidden]) { margin: 0 !important; }
body.customer-notifications a.s-notifications-item.s-notifications-item-read { background: transparent !important; }
body.customer-notifications a.s-notifications-item:hover { background: rgba(249, 218, 190, .32) !important; }
body.customer-notifications span.s-notifications-item-icon {
  position: relative; display: grid !important; place-items: center; width: 40px !important; height: 40px !important; margin: 0 !important; border-radius: 999px;
  background: linear-gradient(150deg, #FFFBF6, #F3D7BF) !important; border: 1px solid var(--nv-line-soft); color: var(--nv-gold-text) !important;
}
body.customer-notifications span.s-notifications-item-icon i { font-size: 17px !important; color: var(--nv-gold-text) !important; background: none !important; width: auto !important; height: auto !important; }
body.customer-notifications .s-notifications-item:not(.s-notifications-item-read) span.s-notifications-item-icon::after {
  content: ""; position: absolute; top: 1px; inset-inline-end: 1px; width: 9px; height: 9px; border-radius: 999px; background: var(--nv-gold); box-shadow: 0 0 0 2px var(--nv-paper);
}
body.customer-notifications .s-notifications-item-content { display: flex !important; flex-direction: column; align-items: stretch !important; gap: 4px; min-width: 0; }
body.customer-notifications .s-notifications-item-content-leading { min-width: 0; }
body.customer-notifications .s-notifications-item-content-leading h4 { margin: 0 0 2px !important; font: 500 15px/1.6 var(--nv-display) !important; color: var(--nv-ink) !important; }
body.customer-notifications .s-notifications-item-content-leading p { margin: 0 !important; font: 400 13.5px/1.7 var(--nv-font) !important; color: var(--nv-muted) !important; }
body.customer-notifications .s-notifications-item-content-trailing { display: inline-flex !important; align-items: center; gap: 5px; margin: 0 !important; font: 400 13px/1.4 var(--nv-font) !important; color: var(--nv-muted) !important; white-space: nowrap; }
body.customer-notifications .s-notifications-item-content-trailing-icon { margin: 0 !important; font-size: 13px; color: var(--nv-gold-text); }

/* ---------- المحفظة ---------- */
body.customer-wallet salla-wallet { display: block; }
body.customer-wallet .s-wallet-summary { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0 !important; }
body.customer-wallet .s-wallet-balance-card {
  position: relative; width: 100% !important; max-width: none !important; margin: 0 !important; display: grid !important; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "mark label" "mark fig"; align-items: center; gap: 0 14px;
  min-height: 0 !important; padding: 20px !important; border-radius: 24px !important; border: 1px solid var(--nv-line-soft) !important; box-shadow: none !important; color: var(--nv-ink) !important;
  background: radial-gradient(90% 120% at 0% 0%, rgba(255, 251, 246, .9) 0%, rgba(255, 251, 246, 0) 60%), linear-gradient(150deg, #FCEBDA 0%, #F2D5BC 100%) !important;
}
body.customer-wallet .s-wallet-balance-mark { grid-area: mark; display: grid !important; place-items: center; width: 52px !important; height: 52px !important; margin: 0 !important; border-radius: 999px !important; background: rgba(255, 251, 246, .85) !important; border: 1px solid var(--nv-line-soft); color: var(--nv-gold-text) !important; }
body.customer-wallet .s-wallet-balance-mark i { font-size: 22px !important; color: var(--nv-gold-text) !important; }
body.customer-wallet .s-wallet-balance-label { grid-area: label; margin: 0 !important; font: 400 13.5px/1.5 var(--nv-font) !important; color: var(--nv-muted) !important; text-align: start !important; }
body.customer-wallet .s-wallet-balance-figure { grid-area: fig; margin: 0 !important; font: 300 30px/1.25 var(--nv-display) !important; color: var(--nv-ink) !important; text-align: start !important; }
body.customer-wallet .s-wallet-balance-figure i.sicon-sar { display: none !important; }
body.customer-wallet .s-wallet-balance-figure:has(i.sicon-sar)::after { content: "ر.س"; margin-inline-start: 6px; font: 400 15px/1 var(--nv-font); color: var(--nv-gold-text); }
body.customer-wallet salla-gift-card-redeem { display: block; }
body.customer-wallet salla-gift-card-redeem:empty { display: none; }
body.customer-wallet .s-wallet-summary:not(:has(salla-gift-card-redeem:not(:empty))) { grid-template-columns: minmax(0, 1fr) !important; }
body.customer-wallet .s-gift-card-prompt { padding: 14px 16px !important; border-radius: 20px !important; border: 1px solid var(--nv-line-soft) !important; background: var(--nv-paper) !important; box-shadow: none !important; gap: 12px; }
body.customer-wallet .s-gift-card-mark { background: #F7E5D3 !important; color: var(--nv-gold-text) !important; }
body.customer-wallet .s-gift-card-title { font: 500 14.5px/1.5 var(--nv-display) !important; color: var(--nv-ink) !important; }
body.customer-wallet .s-gift-card-subtitle { font: 400 13px/1.6 var(--nv-font) !important; color: var(--nv-muted) !important; }
body.customer-wallet .s-gift-card-trigger button.s-button-element { height: 44px !important; padding: 0 16px !important; border-radius: 999px !important; border: 1px solid rgba(82, 44, 0, .25) !important; background: transparent !important; color: var(--nv-brown) !important; font: 500 13.5px/1.25 var(--nv-display) !important; box-shadow: none !important; white-space: nowrap; }
body.customer-wallet salla-wallet > h2 { margin: 24px 0 12px !important; font: 500 17px/1.5 var(--nv-display) !important; color: var(--nv-ink); }
body.customer-wallet .s-wallet-table { display: block !important; min-width: 0 !important; margin: 0 !important; border-spacing: 0 !important; border-radius: 20px; border: 1px solid var(--nv-line-soft); background: var(--nv-paper); overflow: hidden; }
body.customer-wallet .s-wallet-table-head { display: none !important; }
body.customer-wallet .s-wallet-table > tbody { display: block !important; }
body.customer-wallet tr.s-wallet-table-tbody-tr {
  position: relative; display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "type amt" "date date" "meta meta"; gap: 4px 12px;
  margin: 0 !important; padding: 14px 16px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
}
body.customer-wallet tr.s-wallet-table-tbody-tr + tr { border-top: 1px solid var(--nv-line-soft) !important; }
body.customer-wallet tr.s-wallet-table-tbody-tr > td { display: block !important; width: auto !important; height: auto !important; padding: 0 !important; background: none !important; border-radius: 0 !important; white-space: nowrap; min-width: 0; }
body.customer-wallet tr.s-wallet-table-tbody-tr > td:nth-child(1) { display: none !important; }
body.customer-wallet tr.s-wallet-table-tbody-tr > td:nth-child(2) { grid-area: amt; justify-self: end; }
body.customer-wallet tr.s-wallet-table-tbody-tr > td:nth-child(3) { grid-area: date; }
body.customer-wallet tr.s-wallet-table-tbody-tr > td:nth-child(4), body.customer-wallet tr.s-wallet-table-tbody-tr > td:nth-child(5) { grid-area: meta; }
body.customer-wallet tr.s-wallet-table-tbody-tr > td:nth-child(5) { justify-self: end; }
body.customer-wallet tr.s-wallet-table-tbody-tr > td:nth-child(6) { grid-area: type; }
body.customer-wallet tr.s-wallet-table-tbody-tr > td:nth-child(4):has(.s-wallet-table-tbody-tr-td-content > span:last-child:empty),
body.customer-wallet tr.s-wallet-table-tbody-tr > td:nth-child(5):has(.s-wallet-table-tbody-tr-td-content > span:last-child:empty) { display: none !important; }
body.customer-wallet .s-wallet-table-tbody-tr-td-content { display: flex !important; align-items: center; gap: 6px; padding: 0 !important; min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 400 13.5px/1.6 var(--nv-font); color: var(--nv-muted); }
body.customer-wallet .s-wallet-table-tbody-tr-td-content > span:last-child, body.customer-wallet .s-wallet-table-tbody-tr-td-content > span:last-child * { margin: 0 !important; }
body.customer-wallet td:nth-child(3) .s-wallet-mobile-title, body.customer-wallet td:nth-child(6) .s-wallet-mobile-title, body.customer-wallet td:nth-child(2) .s-wallet-mobile-title { display: none !important; }
body.customer-wallet .s-wallet-mobile-title { display: inline !important; width: auto !important; font: 400 13px/1.6 var(--nv-font) !important; color: var(--nv-muted) !important; }
body.customer-wallet td:nth-child(6) .s-wallet-table-tbody-tr-td-content { font: 500 15px/1.5 var(--nv-display); color: var(--nv-ink); }
body.customer-wallet .s-wallet-transaction-type i { display: none !important; }
body.customer-wallet .s-wallet-amount { display: inline-flex !important; align-items: baseline; gap: 2px; font: 500 16px/1.3 var(--nv-display) !important; }
body.customer-wallet .s-wallet-amount-credit { color: #3B5636 !important; }
body.customer-wallet .s-wallet-amount-debit { color: #8A3A2C !important; }

/* ---------- الملف الشخصي ---------- */
body.customer-profile .form--user-profile > .grid { gap: 16px 18px !important; }
body.customer-profile .profile-field-item label { margin-bottom: 7px !important; font: 500 13.5px/1.5 var(--nv-display) !important; color: var(--nv-muted) !important; }
body.customer-profile .form--user-profile :is(input.form-input, select.form-input),
body.customer-profile salla-datetime-picker input.form-input, body.customer-profile salla-datetime-picker input,
body.customer-profile .s-tel-input-control {
  height: 48px !important; border-radius: 14px !important; border: 1px solid rgba(82, 44, 0, .2) !important; background-color: #FFFBF6 !important;
  font: 400 15px/1.4 var(--nv-font) !important; color: var(--nv-ink) !important; box-shadow: none !important; transition: border-color .25s, box-shadow .25s;
}
body.customer-profile .form--user-profile :is(input.form-input, select.form-input), body.customer-profile salla-datetime-picker input { padding-inline: 16px !important; }
body.customer-profile .s-tel-input-control { padding-right: 16px !important; }
body.customer-profile .form--user-profile :is(input, select):focus, body.customer-profile .s-tel-input-control:focus { border-color: var(--nv-gold) !important; box-shadow: 0 0 0 3px rgba(172, 121, 27, .16) !important; outline: 0 !important; }
body.customer-profile .form--user-profile input[type="email"], body.customer-profile salla-tel-input input { direction: ltr; text-align: left; }
body.customer-profile salla-tel-input .iti, body.customer-profile salla-tel-input .s-tel-input { direction: ltr; width: 100%; }
body.customer-profile salla-tel-input .iti__selected-flag, body.customer-profile salla-tel-input .iti__country-container { border-radius: 14px 0 0 14px; }
body.customer-profile salla-button[type="submit"] { display: block; margin-top: 22px !important; }
body.customer-profile salla-button[type="submit"] button.s-button-element {
  width: 100% !important; height: 50px !important; border-radius: 999px !important; border: 0 !important; background: var(--nv-brown) !important; color: #FFF7EF !important;
  font: 500 15.5px/1.25 var(--nv-display) !important; box-shadow: 0 16px 26px -20px rgba(82, 44, 0, .9) !important;
}
body.customer-profile salla-user-settings { margin-top: 24px !important; }
body.customer-profile .s-user-settings-section-subtitle { font-size: 13px !important; line-height: 1.7 !important; }
body.customer-profile .s-user-settings-section button.s-button-element { min-height: 44px !important; border-radius: 999px !important; }
body.customer-profile .s-user-settings-section { padding: 16px !important; border-radius: 20px !important; border: 1px solid var(--nv-line-soft) !important; background: var(--nv-paper) !important; box-shadow: none !important; }
body.customer-profile .avatar-wrap { position: relative; overflow: hidden; background: linear-gradient(150deg, #FFFBF6 0%, #F3D7BF 100%) !important; border: 1px solid rgba(172, 121, 27, .28); }
body.customer-profile .avatar-wrap .avatar-placeholder .text { display: none !important; }
body.customer-profile .avatar-wrap salla-file-upload, body.customer-profile .avatar-wrap .filepond--root { width: 100% !important; height: 100% !important; max-width: 100%; margin: 0 !important; }
body.customer-profile .avatar-wrap .avatar-placeholder .sicon-user { font-size: 26px; color: var(--nv-gold-text); }
body.customer-profile nav.nv-ac-hasup .nv-ac-av { display: none; }

/* ---------- الجوال واللوحي (< 1024) ---------- */
@media (max-width: 1023.98px) {
  .nv-ac-title::before { display: none; }
  body.customer-profile nav.nv-ac-hasup { display: grid !important; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; }
  body.customer-profile nav.nv-ac-hasup > .text-center { grid-column: 1; margin: 0 !important; }
  body.customer-profile nav.nv-ac-hasup > .nv-ac-head { grid-column: 2; }
  body.customer-profile nav.nv-ac-hasup > .nv-ac-chips, body.customer-profile nav.nv-ac-hasup > div.hidden { grid-column: 1 / -1; }
  body.customer-profile nav.nv-ac-hasup .avatar-wrap { width: 56px !important; height: 56px !important; }
  body.customer-profile .form--user-profile :is(input.form-input, select.form-input), body.customer-profile salla-datetime-picker input, body.customer-profile .s-tel-input-control { font-size: 16px !important; }
}
@media (max-width: 767.98px) {
  body.customer-orders-single .main-content > .space-y-4 > table:first-of-type.nv-ac-hasre tr { grid-template-columns: minmax(0, 1fr) auto auto; }
  body.customer-orders-single .main-content > .space-y-4 > table:first-of-type.nv-ac-hasre td:last-child > span:first-child { grid-column: 2 / span 2; }
  body.customer-orders-single .main-content > .space-y-4 > table:first-of-type.nv-ac-hasre td:last-child > div { grid-column: 3; }
  body.customer-orders-single .main-content > .space-y-4 > table:first-of-type .nv-ac-reorder { grid-column: 1 / span 2; justify-self: stretch; justify-content: center; min-width: 0; }
  body.customer-orders-single .main-content > .space-y-4 > table:first-of-type .nv-ac-reorder span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 380px) {
  body.customer-orders-single .main-content > .space-y-4 > table:first-of-type.nv-ac-hasre td:last-child > div salla-button button.s-button-element { width: 44px !important; padding: 0 !important; }
  body.customer-orders-single .main-content > .space-y-4 > table:first-of-type.nv-ac-hasre td:last-child > div salla-button .s-button-text { font-size: 0 !important; gap: 0 !important; }
  body.customer-orders-single .main-content > .space-y-4 > table:first-of-type.nv-ac-hasre td:last-child > div salla-button .s-button-text i { font-size: 17px !important; }
  .nv-ac-out { width: 44px; padding: 0; justify-content: center; }
  .nv-ac-out span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nv-ac-av { width: 46px; height: 46px; font-size: 19px; }
  .nv-ac-name { font-size: 17px; }
  body[class*="customer-orders-index"] tr.s-orders-table-tbody-tr { padding: 14px 14px !important; }
  .nv-ac-steps span { font-size: 13px; }
}
@media (min-width: 768px) {
  body[class*="customer-"] #main-content > .container { padding-top: 24px; }
  body.customer-wishlist .s-products-list-row-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px !important; }
  body.customer-wishlist custom-wishlist-card.product-entry { padding: 10px !important; border-radius: 24px !important; }
  body.customer-wishlist .product-entry__image { border-radius: 17px !important; }
  body.customer-wishlist custom-wishlist-card h3 { font-size: 16.5px !important; margin-top: 12px !important; }
  body.customer-wishlist custom-wishlist-card .center-between { margin: 10px 6px 4px; }
  body.customer-wallet .s-wallet-summary { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  body.customer-wallet .s-gift-card-prompt { height: 100%; }
  body[class*="customer-orders-index"] tr.s-orders-table-tbody-tr { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "num st tot" "date date date" "act act act"; padding: 18px 22px !important; gap: 6px 22px; }
  body[class*="customer-orders-index"] tr.s-orders-table-tbody-tr.nv-ac-noact { grid-template-areas: "num st tot" "date date date"; }
  .nv-ac-steps { padding: 18px 16px 16px; }
  body.customer-orders-single .order-item > div:first-child { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 28px; }
  body.customer-orders-single .order-item > div:first-child > div:first-child { grid-column: 1; grid-row: 1 / span 2; margin-bottom: 0 !important; }
  body.customer-orders-single .order-item > div:first-child > div.justify-between { grid-row: 1 / span 2; flex-direction: column; align-items: center; gap: 0; }
  body.customer-orders-single .order-item > div:first-child > div.justify-between > span { font-size: 13px; }
  body.customer-orders-single .main-content > .space-y-4 > table:first-of-type tr { grid-template-columns: auto auto minmax(0, 1fr) auto; }
  body.customer-orders-single .main-content > .space-y-4 > table:first-of-type td:last-child > span:first-child { grid-column: 2; justify-self: start; }
  body.customer-orders-single .main-content > .space-y-4 > table:first-of-type td:last-child > div, body.customer-orders-single .main-content > .space-y-4 > table:first-of-type.nv-ac-hasre td:last-child > div { grid-column: 3; grid-row: 1; justify-content: flex-end !important; }
  body.customer-orders-single .main-content > .space-y-4 > table:first-of-type .nv-ac-reorder { grid-column: 4; grid-row: 1; }
  .nv-ac-steps span { font-size: 13.5px; }
}

/* ---------- الديسكتوب (≥ 1024): بطاقة جانبية + محتوى ---------- */
@media (min-width: 1024px) {
  body[class*="customer-"] #main-content > .container { padding-top: 40px; padding-bottom: 96px; }
  body[class*="customer-"] #main-content > .container > .flex { justify-content: center; align-items: flex-start; gap: 36px; }
  body[class*="customer-"] #main-content nav[aria-label="Sidebar"] {
    position: sticky; top: 120px; width: 296px !important; margin: 0 !important; padding: 22px 14px 14px !important;
    background: var(--nv-paper) !important; border-radius: 24px !important;
  }
  body[class*="customer-"] .nv-ac-head { padding: 0 8px 18px; margin-bottom: 8px; border-bottom: 1px solid var(--nv-line-soft); }
  .nv-ac-av { width: 58px; height: 58px; font-size: 23px; }
  .nv-ac-out, .nv-ac-chips { display: none !important; }
  body[class*="customer-"] .main-content { max-width: 820px !important; }
  body[class*="customer-"] .main-content .nv-ac-title, body[class*="customer-"] .main-content > h1 { margin: 0 0 20px !important; font-size: 30px !important; line-height: 1.3 !important; }
  .nv-ac-title::before { display: block; }
  /* قائمة سلة نفسها (salla-user-menu inline) */
  body[class*="customer-"] nav[aria-label="Sidebar"] .s-user-menu-inline { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
  body[class*="customer-"] nav[aria-label="Sidebar"] .s-user-menu-inline > li { margin: 0 !important; padding: 0 !important; border: 0 !important; }
  body[class*="customer-"] nav[aria-label="Sidebar"] .s-user-menu-dropdown-item-link {
    position: relative; display: flex !important; align-items: center; gap: 12px; height: 48px; padding: 0 14px !important; border-radius: 14px;
    color: var(--nv-ink) !important; background: transparent; font: 400 15px/1.6 var(--nv-display) !important; text-decoration: none !important;
    transition: background .3s var(--nv-ease), color .3s var(--nv-ease);
  }
  body[class*="customer-"] nav[aria-label="Sidebar"] .s-user-menu-dropdown-item-link:hover { background: rgba(249, 218, 190, .35) !important; }
  body[class*="customer-"] nav[aria-label="Sidebar"] .s-user-menu-dropdown-item-prefix { display: grid; place-items: center; width: 22px; height: 22px; margin: 0 !important; }
  body[class*="customer-"] nav[aria-label="Sidebar"] .s-user-menu-dropdown-item-prefix svg { width: 19px !important; height: 19px !important; margin: 0 !important; fill: var(--nv-gold-text) !important; }
  body[class*="customer-"] nav[aria-label="Sidebar"] .s-user-menu-dropdown-item-title { flex: 1; min-width: 0; padding-block: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; line-height: 1.6; }
  body[class*="customer-"] nav[aria-label="Sidebar"] .s-user-menu-dropdown-item-badge {
    position: static !important; display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin: 0 !important; padding: 0 6px; border-radius: 999px;
    background: var(--nv-gold) !important; color: #FFF !important; font: 500 13px/1.25 var(--nv-display) !important;
  }
  body[class*="customer-"] nav[aria-label="Sidebar"] li.nv-on > .s-user-menu-dropdown-item-link { background: #F9E7D6 !important; color: var(--nv-brown) !important; font-weight: 500 !important; }
  body[class*="customer-"] nav[aria-label="Sidebar"] li.nv-on > .s-user-menu-dropdown-item-link::before {
    content: ""; position: absolute; inset-inline-start: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--nv-gold);
  }
  body[class*="customer-"] nav[aria-label="Sidebar"] .s-user-menu-dropdown-item-logout { margin-top: 8px !important; padding-top: 8px !important; border-top: 1px solid var(--nv-line-soft) !important; }
  body[class*="customer-"] nav[aria-label="Sidebar"] .s-user-menu-dropdown-item-logout .s-user-menu-dropdown-item-link { color: var(--nv-muted) !important; }
  body[class*="customer-"] nav[aria-label="Sidebar"] .s-user-menu-dropdown-item-logout svg { fill: var(--nv-muted) !important; }
  body.customer-profile nav.nv-ac-hasup > .text-center { margin-bottom: 14px !important; }
  body.customer-profile nav.nv-ac-hasup .nv-ac-head { justify-content: center; text-align: center; }
  body.customer-wishlist .s-products-list-row-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  body[class*="customer-"] .main-content *, .nv-ac-chip, .nv-ac-cta { transition: none !important; }
}

/* =========================================================
   r2 — تهدئة الطباعة على السلّم الموحّد (تجاوزات في آخر الملف): H1 30/22 · عناوين البطاقات 16–17 · نص القوائم 14–15 · مساعد 13–13.5 · وزن ≤ 500
   ========================================================= */
.nv-ac-name { font-size: 16.5px; }
.nv-ac-av { font-weight: 400; }
body[class*="customer-orders-index"] .s-orders-reference-id,
body[class*="customer-orders-index"] td:nth-child(3) .s-orders-table-tbody-tr-td-content > div { font-size: 15.5px; }
body.customer-orders-single .s-order-totals-card-total dd, body.customer-orders-single .s-order-totals-card-total dd b { font-size: 17px !important; }
body.customer-orders-single .order-item .flex > div > a { font-size: 15px !important; }
body.customer-wishlist custom-wishlist-card h4 { font-size: 16px !important; }
body.customer-wallet .s-wallet-balance-figure { font-size: 26px !important; font-weight: 400 !important; }
body.customer-wallet salla-wallet > h2 { font-size: 16.5px !important; }
body.customer-wallet .s-wallet-amount { font-size: 15px !important; }
body.customer-profile .s-user-settings-section-title { font: 500 15px/1.5 var(--nv-display) !important; color: var(--nv-ink) !important; }
body[class*="customer-"] .main-content button.s-button-element .s-button-text { font-weight: 500 !important; }
body[class*="customer-"] .main-content :is(.font-bold, b, strong, th) { font-weight: 500; }
@media (min-width: 1024px) {
  body.customer-orders-single .main-content > .flex:first-child > h1 { font-size: 26px !important; line-height: 1.3 !important; }
}
@media (min-width: 768px) { body.customer-wishlist custom-wishlist-card h3 { font-size: 15.5px !important; } }
@media (max-width: 767px) {
  .nv-ac-name { font-size: 16px; }
  body.customer-wishlist custom-wishlist-card h3 { font-size: 14.5px !important; }
  body.customer-wishlist custom-wishlist-card h4 { font-size: 15.5px !important; }
  body.customer-wallet .s-wallet-balance-figure { font-size: 24px !important; }
}
/* r2 — CLS: مكان السطر اللاتيني فوق العنوان محجوز قبل أن يضيفه account.js (ديسكتوب)، والسطر نفسه 13px لا 12.5 */
.nv-ac-title::before { font-size: 13px; }
@media (min-width: 1024px) {
  .nv-ac-title::before { min-height: 18px; }
  body[class*="customer-"] .main-content > h1:not(.nv-ac-title)::before,
  body.customer-orders-single .main-content > .flex:first-child > h1:not(.nv-ac-title)::before { content: ""; display: block; height: 18px; margin-bottom: 6px; }
}
/* r2 — CLS (جوال): رأس الطلب يكبر حين يُضاف «اطلبي مرة أخرى»؛ المكان محجوز من أول رسم إن كان زر إعادة الطلب من سلة موجودًا */
@media (max-width: 767px) {
  body.customer-orders-single .main-content > .space-y-4 > table:first-of-type:not(.nv-ac-ohead) { margin-bottom: 96px; }
}
/* r2 — CLS: صندوق الشحنة وزر الطباعة بتنسيقهما النهائي من أول رسم (كان التنسيق ينتظر صنفًا يضيفه account.js / ترطيب مكوّن سلة) */
body.customer-orders-single .shipping-orders > div:first-child:not(.order-item) {
  gap: 10px; padding: 14px 18px !important; background: linear-gradient(160deg, #FDF0E3, #F9E6D4) !important; border-bottom: 1px solid var(--nv-line-soft) !important;
  border-radius: 0 !important; font: 400 14px/1.6 var(--nv-font); color: var(--nv-ink);
}
body.customer-orders-single .shipping-orders > div:first-child:not(.order-item) > :not([hidden]) ~ :not([hidden]) { margin-top: 0 !important; }
body.customer-orders-single .shipping-orders > div:first-child:not(.order-item) > div:last-child { flex-wrap: wrap; align-items: center; gap: 8px 16px; }
body.customer-orders-single .shipping-orders > div:first-child:not(.order-item) > div:last-child > * { margin: 0 !important; }
body.customer-orders-single .shipping-orders > div:first-child:not(.order-item) .font-bold { font-weight: 500; direction: ltr; unicode-bidi: isolate; }
body.customer-orders-single .shipping-orders > div:first-child:not(.order-item) a {
  display: inline-flex !important; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(82, 44, 0, .22);
  background: #FFFBF6; color: var(--nv-brown) !important; font: 500 13.5px/1.25 var(--nv-display) !important; text-decoration: none;
}
body.customer-orders-single .main-content > .space-y-4 > table:first-of-type salla-button { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 768px) { body.customer-orders-single .main-content > .space-y-4 > table:first-of-type:not(.nv-ac-ohead) { margin-bottom: 101px; } }
body.customer-orders-single salla-order-totals-card { display: block; min-height: 162px; }
/* r2 — CLS (الملف الشخصي): الصورة الرمزية بمقاسها النهائي وحقول التاريخ والجوال بارتفاعها النهائي من أول رسم */
@media (max-width: 1023.98px) {
  body.customer-profile nav[aria-label="Sidebar"]:not(.nv-ac-hasup):has(> .text-center .avatar-wrap) { display: grid !important; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; }
  body.customer-profile nav[aria-label="Sidebar"]:not(.nv-ac-hasup) > .text-center { grid-column: 1; margin: 0 !important; }
  body.customer-profile nav[aria-label="Sidebar"]:not(.nv-ac-hasup) > div.hidden { grid-column: 1 / -1; }
  body.customer-profile nav[aria-label="Sidebar"] .avatar-wrap { width: 56px !important; height: 56px !important; }
}
body.customer-profile .form--user-profile :is(salla-datetime-picker, salla-tel-input) { display: block; min-height: 48px; }
/* r2 — CLS: محتوى الحساب يُحمَّل من واجهة سلة بعد الرسم، فيُحجز ارتفاع الشاشة كي لا يقفز التذييل */
body[class*="customer-"] #main-content { min-height: 100vh; }
/* =========================================================
   NOVALIA — صفحة السلة (cart) · body.cart
   - كل قاعدة هنا مشروطة بـ body.cart (أو بأصناف nv-cs-… و nv-ci-… التي لا يُنشئها cart.js إلا في السلة)،
     عدا بطاقات «أكملي هالتك» التي تعيد استعمال .nv-xs من pdp-xsell.css كما هي (مع المعدِّل .nv-xs--cart).
   - التنسيق يعمل على ترميز ثيم رائد من أول رسم (بلا انتظار JS)، وcart.js يضيف فقط: مسرح المقصوصة، السطر اللاتيني،
     شرائح الخيارات، ملخص الجوال، صف الثقة، «أكملي هالتك»، ونصوص السلة الفارغة.
   - مكوّنات سلة (salla-cart-summary-card / salla-quantity-input / salla-product-options / salla-cart-coupons) بلا Shadow DOM:
     نغيّر شكلها فقط؛ أزرارها وأحداثها كما هي. زر «إتمام الطلب» هو زر سلة الحقيقي (#s-cart-summary-card-submit) في كل المقاسات.
   - جوال/تابلت (< 1024px): مكوّن الملخص نفسه يثبّت نفسه أسفل الشاشة ⇒ نعيد تشكيله شريطًا ثابتًا (الإجمالي + إتمام الطلب).
   ========================================================= */
body.cart {
  --nv-cs-r: 22px;
  --nv-cs-card: var(--nv-paper, #FFFBF6);
  --nv-cs-edge: rgba(172, 121, 27, .15);
  --nv-cs-bar-h: 68px;
  --nv-cs-i-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 8.6h13.6l-.9 11.6H6.1L5.2 8.6z'/%3E%3Cpath d='M9 8.6V7.2a3 3 0 016 0v1.4'/%3E%3C/svg%3E");
  --nv-cs-i-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
  --nv-cs-i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E");
  --nv-cs-i-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
  --nv-cs-i-return: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 0113.7-5.6L20 8.6'/%3E%3Cpath d='M20 4v4.6h-4.6'/%3E%3Cpath d='M20 12a8 8 0 01-13.7 5.6L4 15.4'/%3E%3Cpath d='M4 20v-4.6h4.6'/%3E%3C/svg%3E");
  --nv-cs-i-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2.5'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E");
  --nv-cs-i-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E");
  --nv-cs-i-edit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9a2.8 2.8 0 00-4-4L4 16v4z'/%3E%3C/svg%3E");
}

/* ---------- 1) المسار والعنوان ---------- */
body.cart main .breadcrumbs { padding: 16px 0 4px !important; }
body.cart salla-breadcrumb { display: block; min-height: 22px; } /* المكوّن يُرسم بعد ~1 ث: السطر محجوز فلا تقفز الصفحة */
body.cart .s-breadcrumb-wrapper { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; height: 22px; align-items: center; }
body.cart .s-breadcrumb-item, body.cart .s-breadcrumb-item a { font: 400 13px/22px var(--nv-font) !important; color: var(--nv-muted) !important; text-decoration: none !important; }
body.cart .s-breadcrumb-item:last-child { color: var(--nv-gold-text) !important; }

/* عنوان الثيم المخفي (h1.sr-only «السلة») يصبح عنوانًا ظاهرًا من أول رسم: سطر لاتيني + العنوان + حبة العدد (cart.js) */
body.cart:not(:has([data-testid="store-cart-empty"])) main > .container > h1.sr-only {
  position: static !important; width: auto !important; height: auto !important; margin: 6px 0 2px !important; padding: 0 !important;
  overflow: visible !important; clip: auto !important; white-space: nowrap !important; border: 0 !important;
  display: grid; grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 12px;
  font: 300 30px/1.4 var(--nv-display) !important; color: var(--nv-ink) !important;
}
body.cart:not(:has([data-testid="store-cart-empty"])) main > .container > h1.sr-only::before {
  content: "SHOPPING BAG"; grid-column: 1 / -1; justify-self: start; margin: 0 0 10px; padding-left: 46px; direction: ltr;
  font: 500 13px/1 var(--nv-latin); letter-spacing: .36em; color: var(--nv-gold-text); white-space: nowrap;
  background: linear-gradient(var(--nv-gold), var(--nv-gold)) no-repeat left center / 34px 1px;
}
body.cart h1 .nv-cs-n {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 251, 246, .8); border: 1px solid var(--nv-line-soft); font: 500 13px/1 var(--nv-display); color: var(--nv-gold-text);
}
body.cart h1 .nv-cs-n:empty { display: none; }
@media (max-width: 1023px) { body.cart:not(:has([data-testid="store-cart-empty"])) main > .container > h1.sr-only { font-size: 26px !important; } }
@media (max-width: 767px) {
  body.cart:not(:has([data-testid="store-cart-empty"])) main > .container > h1.sr-only { font-size: 23px !important; column-gap: 10px; }
  body.cart:not(:has([data-testid="store-cart-empty"])) main > .container > h1.sr-only::before { margin-bottom: 8px; }
  body.cart h1 .nv-cs-n { height: 28px; padding: 0 11px; }
}
/* عرض سلة المشروط: هيكل تحميله يظهر ثم يختفي حين لا عرض (كان يدفع القائمة ~50–78px ثم يعيدها) ⇒ لا يُرسم الهيكل؛ العرض الحقيقي يظهر كما هو */
body.cart salla-conditional-offer:has(.s-conditional-offer-skeleton-text) { display: none !important; }

/* ---------- 2) التخطيط: عمود المنتجات + الشريط الجانبي ---------- */
body.cart main > .container > div.flex { padding-top: 18px !important; padding-bottom: 56px !important; }
body.cart main > .container > div.flex > .main-content { min-width: 0; }
@media (min-width: 1024px) {
  body.cart main > .container > div.flex > .main-content { width: calc(100% - 412px) !important; }
  body.cart main > .container > div.flex > div.sticky { width: 380px !important; margin: 0 !important; margin-inline-start: 32px !important; top: calc(var(--nv-row2-h, 54px) + 22px) !important; }
}

/* ---------- 3) بطاقة المنتج (ترميز cart.twig كما هو) ---------- */
body.cart .main-content > form[id^="item-"] { margin: 0 0 12px; }
body.cart .main-content > form[id^="item-"]:last-of-type { margin-bottom: 0; }
body.cart section.cart-item {
  position: relative; margin: 0 !important; padding: 12px !important; border-radius: var(--nv-cs-r) !important;
  background: var(--nv-cs-card) !important; border: 1px solid var(--nv-cs-edge); box-shadow: none !important;
  transition: border-color .5s var(--nv-ease), box-shadow .5s var(--nv-ease);
}
body.cart section.cart-item:hover { border-color: rgba(172, 121, 27, .3); }
/* صف المنتج */
body.cart section.cart-item > div:first-of-type { display: block; margin: 0 !important; }
body.cart section.cart-item > div:first-of-type > * { margin: 0 !important; }
body.cart section.cart-item > div:first-of-type > div:first-child { display: flex !important; align-items: flex-start; gap: 14px; min-width: 0; }
body.cart section.cart-item > div:first-of-type > div:first-child > * { margin: 0 !important; }

/* مسرح الصورة: لون ناعم + مقصوصة نوفاليا (cart.js)؛ بلا مقصوصة ⇒ صورة المتجر تملأ المسرح */
body.cart :where(section.cart-item > div:first-of-type > div:first-child > a:first-child) {
  --bg: #F6E5D6; position: relative; flex: none; display: flex; align-items: flex-end; justify-content: center;
  width: 92px; height: 104px; overflow: hidden; border-radius: 16px; isolation: isolate;
  background: radial-gradient(70% 60% at 50% 45%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 70%), var(--bg);
}
body.cart .nv-ci__stage[data-tone="1"] { --bg: #F4E3BF; }
body.cart .nv-ci__stage[data-tone="2"] { --bg: #FBEBDD; }
body.cart .nv-ci__stage[data-tone="3"] { --bg: #F1DCCB; }
body.cart .nv-ci__stage:not([data-kind="photo"])::after {
  content: ""; position: absolute; z-index: 0; left: 50%; bottom: 8%; width: 54%; height: 7%; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(ellipse, rgba(82, 44, 0, .26) 0%, rgba(82, 44, 0, 0) 70%);
}
body.cart :where(section.cart-item > div:first-of-type > div:first-child > a:first-child) img {
  position: relative; z-index: 1; display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover;
  border: 0 !important; border-radius: 0 !important; background: none !important; opacity: 0; transition: opacity .45s var(--nv-ease), transform .9s var(--nv-ease);
}
/* قبل cart.js تبقى الصورة مخفية لحظة (لا وميض صورة المتجر ثم المقصوصة)؛ إن لم يعمل JS تظهر بعد 2.5 ث */
body.cart :where(section.cart-item > div:first-of-type > div:first-child > a:first-child:not([data-kind])) img { animation: nv-cs-show .3s 2.5s forwards; }
@keyframes nv-cs-show { to { opacity: 1; } }
body.cart .nv-ci__stage[data-kind] img { opacity: 1; animation: none; }
body.cart .nv-ci__stage:not([data-kind="photo"]) img { width: auto; height: auto; max-width: 74%; max-height: 80%; margin-bottom: 10%; object-fit: contain; }
body.cart .nv-ci__stage[data-kind="mist"] img { max-height: 72%; }
body.cart .nv-ci__stage[data-kind="wide"] img { max-width: 88%; max-height: 64%; margin-bottom: 13%; }
body.cart .nv-ci__stage[data-kind="mid"] img { max-width: 72%; max-height: 66%; margin-bottom: 12%; }
body.cart section.cart-item:hover .nv-ci__stage:not([data-kind="photo"]) img { transform: translateY(-3px) scale(1.03); }
/* شارة «منتج مجاني» من الثيم ⇒ شريحة هادئة أعلى المسرح */
body.cart section.cart-item .free-ribbon:not(.hidden) {
  top: 6px !important; right: 6px !important; left: auto !important; width: auto !important; transform: none !important; rotate: none !important; z-index: 2;
  padding: 0 8px !important; height: 24px; line-height: 24px !important; border-radius: 999px; box-shadow: none !important;
  background: var(--nv-brown) !important; color: #FFF7EF !important; font: 500 13px/24px var(--nv-font) !important;
}

/* المعلومات: كل سطر بسطر واحد */
body.cart section.cart-item > div:first-of-type > div:first-child > div {
  flex: 1; min-width: 0; min-height: 104px; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding-inline-end: 38px; padding-top: 2px;
}
body.cart section.cart-item:has(> salla-product-options) > div:first-of-type > div:first-child > div { min-height: 112px; } /* سطر الشرائح محجوز */
body.cart section.cart-item > div:first-of-type > div:first-child > div > * { margin: 0 !important; max-width: 100%; }
body.cart section.cart-item h1 {
  max-width: 100%; margin: 0 !important; font: 500 14.5px/1.75 var(--nv-display) !important; color: var(--nv-ink) !important;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.cart section.cart-item h1 a { font: inherit !important; color: inherit !important; text-decoration: none !important; }
body.cart section.cart-item h1 a:hover { color: var(--nv-gold-text) !important; }
body.cart .nv-ci__latin {
  height: 20px; margin: 0 0 4px !important; direction: ltr; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font: 500 13px/20px var(--nv-latin); letter-spacing: .22em; color: var(--nv-gold-text); text-transform: uppercase;
}
/* السعر: رقم Alexandria + «ر.س» صغير ذهبي (بدل رمز الريال) — كالرئيسية وصفحة المنتج */
body.cart section.cart-item .item-price { order: 5; font: 500 14.5px/1.5 var(--nv-display) !important; color: var(--nv-ink) !important; gap: 0 !important; white-space: nowrap; }
body.cart section.cart-item .item-price.text-red-800, body.cart section.cart-item .item-price.text-red-400 { color: var(--nv-brown) !important; }
body.cart section.cart-item .item-regular-price:not(.hidden), body.cart section.cart-item .item-original-price:not(.hidden) {
  order: 4; display: inline-flex; font: 400 13px/1.6 var(--nv-font) !important; color: var(--nv-muted) !important; text-decoration: line-through; white-space: nowrap;
}
body.cart section.cart-item .item-weight-row:not(.hidden), body.cart section.cart-item .old-offers:not(.hidden) { order: 3; font: 400 13px/1.6 var(--nv-font) !important; color: var(--nv-muted) !important; white-space: nowrap; }
body.cart section.cart-item .old-offers:not(.hidden) .offer-name { font-size: 13px !important; color: var(--nv-gold-text) !important; }
body.cart section.cart-item salla-cart-item-offers { order: 6; font-size: 13px; }
body.cart i.sicon-sar { display: inline !important; font-style: normal; margin-inline-start: 4px; vertical-align: baseline !important; line-height: inherit !important; }
body.cart i.sicon-sar::before { content: "ر.س" !important; font-family: var(--nv-font) !important; font-weight: 400; font-size: 13px; color: var(--nv-gold-text); }
body.cart .line-through i.sicon-sar::before { color: inherit; }

/* شرائح الخيارات (cart.js): «عينات: 80» + «تعديل» يفتح خيارات سلة نفسها */
body.cart .nv-ci__opts { order: 2; display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; height: 30px; margin: 0 0 4px !important; min-width: 0; }
body.cart .nv-ci__chip {
  display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; white-space: nowrap; max-width: 62%; overflow: hidden; text-overflow: ellipsis;
  font: 500 13px/1 var(--nv-font); color: var(--nv-gold-text); background: #FBEEDD; border: 1px solid rgba(172, 121, 27, .2);
}
body.cart .nv-ci__chip.is-need { color: var(--nv-brown); background: #FFF4DE; border-style: dashed; }
body.cart .nv-ci__edit {
  position: relative; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 4px; border: 0; background: none; cursor: pointer;
  font: 500 13px/1 var(--nv-font); color: var(--nv-muted); white-space: nowrap; text-decoration: underline; text-decoration-color: rgba(107, 84, 68, .35); text-underline-offset: 4px;
}
body.cart .nv-ci__edit::after { content: ""; position: absolute; inset: -8px -6px; } /* منطقة لمس ≥ 44px */
body.cart .nv-ci__edit:hover, body.cart .nv-ci__edit[aria-expanded="true"] { color: var(--nv-gold-text); }

/* صف الكمية والمجموع */
body.cart section.cart-item > div:first-of-type > div:last-child {
  display: flex !important; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 12px !important; padding: 12px 0 0 !important; border: 0 !important; border-top: 1px solid rgba(172, 121, 27, .12) !important;
}
body.cart section.cart-item > div:first-of-type > div:last-child > p {
  display: flex; align-items: baseline; gap: 6px; margin: 0 !important; padding: 0 !important; white-space: nowrap;
  font: 400 13px/1.4 var(--nv-font) !important; color: var(--nv-muted) !important;
}
body.cart section.cart-item .item-total { font: 500 16px/1.3 var(--nv-display) !important; color: var(--nv-ink) !important; }

/* مُحدِّد الكمية (salla-quantity-input): كبسولة 44px، أزرار 44px، رقم 16px */
body.cart section.cart-item salla-quantity-input { display: block; flex: none; min-width: 134px; min-height: 46px; } /* محجوز قبل رسم المكوّن: لا إزاحة */
body.cart section.cart-item .s-quantity-input-container {
  height: 46px !important; border-radius: 999px !important; border: 1px solid var(--nv-line) !important; background: #fff !important; overflow: hidden;
  font-size: 16px !important;
}
body.cart section.cart-item .s-quantity-input-button {
  position: relative; width: 44px !important; height: 44px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: var(--nv-brown); cursor: pointer;
  transition: background .35s var(--nv-ease);
}
body.cart section.cart-item .s-quantity-input-button:hover { background: #FBEEDD; }
body.cart section.cart-item .s-quantity-input-button:active { background: #F6E2CC; }
body.cart section.cart-item .s-quantity-input-button:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: -3px; border-radius: 999px; }
body.cart section.cart-item .s-quantity-input-button > span { display: none; } /* أيقونة سلة ⇒ أيقونتنا الرفيعة */
body.cart section.cart-item .s-quantity-input-button::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
body.cart section.cart-item .s-quantity-input-increase-button { --m: var(--nv-cs-i-plus); }
body.cart section.cart-item .s-quantity-input-decrease-button { --m: var(--nv-cs-i-minus); }
body.cart section.cart-item .s-quantity-input-input {
  width: 44px !important; height: 44px; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important;
  font: 500 16px/44px var(--nv-display) !important; color: var(--nv-ink) !important; text-align: center; -moz-appearance: textfield;
}
body.cart section.cart-item .s-quantity-input-input:focus { outline: none; }
body.cart section.cart-item > div:first-of-type > div:last-child > span.w-10 { font: 500 16px/46px var(--nv-display); color: var(--nv-ink); } /* كمية مخفية التعديل */

/* حذف المنتج: زر سلة نفسه (salla.cart.deleteItem) بشكل دائرة 44px */
body.cart section.cart-item > span.absolute { top: 6px !important; inset-inline-end: 6px !important; inset-inline-start: auto !important; z-index: 3; width: 44px; height: 44px; } /* 44×44 محجوزة قبل رسم زر سلة */
body.cart section.cart-item salla-button.btn--delete { display: block; }
body.cart section.cart-item .btn--delete button, body.cart section.cart-item button.btn--delete {
  width: 44px !important; height: 44px !important; min-width: 0 !important; padding: 0 !important; border-radius: 50% !important; display: grid !important; place-items: center;
  background: transparent !important; border: 0 !important; color: var(--nv-muted) !important; box-shadow: none !important;
  transition: background .35s var(--nv-ease), color .35s var(--nv-ease);
}
body.cart section.cart-item .btn--delete button:hover { background: #F6E5D6 !important; color: var(--nv-brown) !important; }
body.cart section.cart-item .btn--delete button:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: -2px; }
body.cart section.cart-item .btn--delete .s-button-text { display: grid; place-items: center; }
body.cart section.cart-item .btn--delete i.sicon-cancel { font-size: 0 !important; width: 18px; height: 18px; display: block; background: currentColor; -webkit-mask: var(--nv-cs-i-x) center / contain no-repeat; mask: var(--nv-cs-i-x) center / contain no-repeat; }
body.cart section.cart-item .btn--delete i.sicon-cancel::before { content: none !important; }
/* تحميل العنصر (الثيم يضيف .loading-overlay أثناء تحديث الكمية) */
body.cart section.cart-item .loading-overlay { border-radius: var(--nv-cs-r); overflow: hidden; }
body.cart section.cart-item .loading-overlay > div:first-child { background: var(--nv-paper) !important; opacity: .62 !important; }

/* خيارات سلة داخل البطاقة (تُطوى خلف الشرائح بعد cart.js، وتُفتح بـ«تعديل» أو عند نقص خيار إلزامي) */
body.cart section.cart-item > salla-product-options { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(172, 121, 27, .22); }
body.cart form.nv-ci--closed section.cart-item > salla-product-options { display: none; }
body.cart section.cart-item salla-product-options .s-product-options-option-container { margin: 0 !important; }
body.cart section.cart-item salla-product-options .s-product-options-option { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: 12px; margin: 0 !important; }
body.cart section.cart-item salla-product-options .s-product-options-option-label { margin: 0 !important; }
body.cart section.cart-item salla-product-options .s-product-options-option-label b { font: 500 14px/1.6 var(--nv-font) !important; color: var(--nv-ink); }
body.cart section.cart-item salla-product-options .s-product-options-option-label small { display: block; font: 400 13px/1.5 var(--nv-font) !important; color: var(--nv-muted) !important; }
body.cart section.cart-item salla-product-options .s-product-options-option-label span { color: var(--nv-gold-text) !important; }
body.cart section.cart-item salla-product-options select, body.cart section.cart-item salla-product-options .s-form-control {
  height: 44px !important; border-radius: 14px !important; border: 1px solid var(--nv-line) !important; background-color: #fff !important; box-shadow: none !important;
  font: 400 16px/1 var(--nv-font) !important; color: var(--nv-ink) !important;
}
body.cart section.cart-item salla-product-options select:focus { border-color: var(--nv-gold) !important; outline: none; }
/* أقسام الثيم داخل البطاقة (options.twig): «المرفقات» = إضافة ملاحظة / إرفاق ملف (تظهر فقط للمنتجات التي فعّلتها المالكة)، والوزن/جدول المقاسات.
   الثيم يطويها أصلًا (.btn--collapse ⇒ .collapse-content.is-opened)؛ هنا شكلها فقط: رابطان صغيران هادئان أسفل البطاقة،
   والحقل يُفتح تحتهما. textarea[name=notes] يبقى داخل نموذج العنصر فيُحفظ كما هو (salla.form.onChange ⇒ cart.updateItem). */
body.cart section.cart-item > section { margin: 10px 0 -6px !important; padding: 0 !important; background: none !important; border-radius: 0 !important; border-top: 1px solid rgba(172, 121, 27, .12); box-shadow: none !important; }
body.cart section.cart-item > section > div { display: block !important; }
body.cart section.cart-item > section > div > * { margin: 0 !important; text-align: start !important; }
body.cart section.cart-item > section .form-label { font: 500 13.5px/1.6 var(--nv-font) !important; color: var(--nv-ink) !important; }
body.cart section.cart-item > section .form-label b { font-weight: 500 !important; }
/* عنوان «المرفقات» يبقى لقارئ الشاشة فقط حين يوجد زرّا الطي (الرابطان يشرحان نفسيهما) */
body.cart section.cart-item > section:has(.btn--collapse) label.form-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
body.cart section.cart-item > section div:has(> .btn--collapse) { display: flex !important; flex-wrap: wrap; align-items: center; gap: 0 20px; }
body.cart section.cart-item > section div:has(> .btn--collapse) > * { margin: 0 !important; }
body.cart section.cart-item .btn-tab.btn--collapse {
  flex: none !important; width: auto !important; min-height: 44px; display: inline-flex !important; align-items: center; gap: 6px; padding: 0 2px !important; margin: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; cursor: pointer;
  font: 500 13px/1.4 var(--nv-font) !important; color: var(--nv-muted) !important; white-space: nowrap; transition: color .35s var(--nv-ease);
}
body.cart section.cart-item .btn-tab.btn--collapse > span { font: inherit !important; text-decoration: underline; text-decoration-color: rgba(107, 84, 68, .35); text-underline-offset: 4px; }
body.cart section.cart-item .btn-tab.btn--collapse > i { margin: 0 !important; font-size: 15px !important; font-weight: 400 !important; line-height: 1; color: var(--nv-gold-text); }
body.cart section.cart-item .btn-tab.btn--collapse:hover, body.cart section.cart-item .btn-tab.btn--collapse.is-opened, body.cart section.cart-item .btn-tab.btn--collapse.nv-has { color: var(--nv-gold-text) !important; }
body.cart section.cart-item .btn-tab.btn--collapse:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 2px; border-radius: 8px !important; }
/* المطوي لا يحجز شيئًا ولا يُركَّز عليه (كان حشو pt-4 يترك فراغًا تحت الزرين) */
body.cart section.cart-item .collapse-content:not(.is-opened) { visibility: hidden; }
body.cart section.cart-item .collapse-content:not(.is-opened) > div { padding: 0 !important; }
body.cart section.cart-item .collapse-content.is-opened > div { padding: 2px 0 12px !important; }
body.cart section.cart-item textarea {
  display: block; width: 100%; height: 84px !important; min-height: 64px; max-height: 180px; padding: 10px 14px !important; resize: vertical;
  border: 1px solid var(--nv-line) !important; border-radius: 14px !important; background: #fff !important; box-shadow: none !important;
  font: 400 16px/1.6 var(--nv-font) !important; color: var(--nv-ink) !important; animation: none !important; opacity: 1 !important; transform: none !important; /* .animated.fadeInDown من الثيم يبدأ شفافًا */
}
body.cart section.cart-item textarea::placeholder { color: var(--nv-muted); opacity: .75; }
body.cart section.cart-item textarea:focus { border-color: var(--nv-gold) !important; outline: none; }
body.cart section.cart-item .product-option-uploader .s-file-upload-wrapper, body.cart section.cart-item .product-option-uploader .filepond--drop-label { min-height: 92px !important; }
body.cart section.cart-item .product-option-uploader .filepond--drop-label { border: 1px dashed var(--nv-line) !important; border-radius: 14px !important; background: #fff !important; }
body.cart section.cart-item .product-option-uploader-placholder { font: 400 13px/1.6 var(--nv-font) !important; color: var(--nv-muted) !important; }
body.cart section.cart-item .product-option-uploader-placholder p, body.cart section.cart-item .product-option-uploader-placholder span { font-size: 13px !important; }
body.cart section.cart-item .product-option-uploader-placholder i { color: var(--nv-gold-text) !important; font-size: 18px !important; }
body.cart section.cart-item .product-option-uploader .filepond--label-action { color: var(--nv-gold-text) !important; text-decoration-color: rgba(122, 82, 15, .4) !important; }
body.cart section.cart-item .filepond--file { font-family: var(--nv-font); font-size: 13px; }
/* «نفدت الكمية» بدل المجموع (cart.js يضع is-out حين لا رقم): سطر تنبيه هادئ لا رقمًا كبيرًا */
body.cart section.cart-item .item-total.is-out { font: 500 13.5px/1.5 var(--nv-font) !important; color: #8A3A17 !important; }
body.cart section.cart-item:has(.item-total.is-out) > div:first-of-type > div:last-child > p > span:first-child { display: none; }

/* ---------- 4) ديسكتوب وتابلت: البطاقة صف واحد ---------- */
@media (min-width: 768px) {
  body.cart .main-content > form[id^="item-"] { margin-bottom: 14px; }
  body.cart section.cart-item { padding: 14px !important; padding-inline-end: 66px !important; }
  body.cart section.cart-item > div:first-of-type { display: flex !important; align-items: center; gap: 24px; }
  body.cart section.cart-item > div:first-of-type > div:first-child { flex: 1; align-items: center; gap: 18px; }
  body.cart :where(section.cart-item > div:first-of-type > div:first-child > a:first-child) { width: 108px; height: 116px; border-radius: 18px; }
  body.cart section.cart-item > div:first-of-type > div:first-child > div { min-height: 0; padding-inline-end: 0; justify-content: center; }
  body.cart section.cart-item h1 { font-size: 16px !important; }
  body.cart section.cart-item .item-price { margin-top: 6px !important; font-size: 15px !important; }
  body.cart section.cart-item > div:first-of-type > div:last-child { flex: none; gap: 26px; margin: 0 !important; padding: 0 !important; border: 0 !important; }
  body.cart section.cart-item > div:first-of-type > div:last-child > p { min-width: 118px; flex-direction: column; align-items: flex-end; gap: 2px; text-align: end; }
  body.cart section.cart-item .item-total { font-size: 18px !important; }
  body.cart section.cart-item > span.absolute { top: 50% !important; margin-top: -22px; inset-inline-end: 12px !important; }
  body.cart section.cart-item:has(> salla-product-options) > span.absolute, body.cart section.cart-item:has(> section) > span.absolute { top: 72px !important; } /* يبقى بمحاذاة صف المنتج حين تُفتح الخيارات أو توجد ملاحظة/مرفق */
  body.cart section.cart-item > salla-product-options, body.cart section.cart-item > section { margin-inline-start: 126px; }
  body.cart section.cart-item > section { margin: 12px 0 -8px !important; margin-inline-start: 126px !important; }
  body.cart section.cart-item textarea { font-size: 15px !important; }
}

/* ---------- 5) ملخص الطلب: مكوّن سلة (ديسكتوب ≥ 1024: بطاقة في الشريط الجانبي) ---------- */
body.cart salla-cart-summary-card { font-family: var(--nv-font); }
body.cart .s-cart-summary-card-sheet-title {
  display: flex; align-items: center; gap: 10px; margin: 0 0 8px !important; font: 500 17px/1.5 var(--nv-display) !important; color: var(--nv-ink) !important; white-space: nowrap;
}
body.cart .s-cart-summary-card-sheet-title::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--nv-gold); transform: rotate(45deg); }
body.cart .s-cart-summary-card-line { min-height: 36px; margin: 0 !important; gap: 12px; white-space: nowrap; }
body.cart .s-cart-summary-card-line > span, body.cart .s-cart-summary-card-fee-label { font: 400 13.5px/1.5 var(--nv-font) !important; color: var(--nv-muted) !important; }
body.cart .s-cart-summary-card-line b { font: 500 14.5px/1.5 var(--nv-display) !important; color: var(--nv-ink) !important; }
body.cart .s-cart-summary-card-line--discount b, body.cart .s-cart-summary-card-line--discount b * { color: var(--nv-brown) !important; }
body.cart .s-cart-summary-card-bar { background: transparent !important; }
body.cart .s-cart-summary-card-bar-label-main { align-items: baseline; gap: 6px; }
body.cart .s-cart-summary-card-bar-label-text { font: 500 15px/1.5 var(--nv-display) !important; color: var(--nv-ink) !important; }
body.cart .s-cart-summary-card-bar-count, body.cart .s-cart-summary-card-bar-label-sub { font: 400 13px/1.5 var(--nv-font) !important; color: var(--nv-muted) !important; white-space: nowrap; }
body.cart .s-cart-summary-card-bar-total { font: 500 20px/1.3 var(--nv-display) !important; color: var(--nv-ink) !important; white-space: nowrap; }
body.cart .s-cart-summary-card-bar-original { font: 400 14px/1.3 var(--nv-font) !important; color: var(--nv-muted) !important; }
body.cart .s-cart-summary-card-bar-savings-badge {
  border-radius: 999px !important; padding: 3px 10px !important; background: #FBEEDD !important; color: var(--nv-gold-text) !important; font: 500 13px/1.4 var(--nv-font) !important;
}
body.cart .s-cart-summary-card-bar-savings-badge > span[aria-hidden] { display: none; }
body.cart .s-cart-summary-card-fee-tip-line-label { font-size: 13px; }
/* زر «إتمام الطلب»: زر سلة نفسه (salla.cart.submit مع التحقق من الخيارات) */
body.cart #s-cart-summary-card-submit { display: block; width: 100%; }
body.cart #s-cart-summary-card-submit .s-button-btn {
  height: 52px !important; width: 100% !important; padding: 0 24px !important; border: 0 !important; border-radius: 999px !important; opacity: 1 !important;
  background: var(--nv-brown) !important; color: #FFF7EF !important; font: 500 15px/1 var(--nv-display) !important; letter-spacing: 0;
  box-shadow: 0 16px 26px -20px rgba(82, 44, 0, .95) !important; transition: background .4s var(--nv-ease), transform .3s var(--nv-ease);
}
body.cart #s-cart-summary-card-submit .s-button-btn:hover { background: #3E2100 !important; }
body.cart #s-cart-summary-card-submit .s-button-btn:active { transform: scale(.985); }
body.cart #s-cart-summary-card-submit .s-button-btn:focus-visible { outline: 2px solid var(--nv-gold) !important; outline-offset: 3px; }
body.cart #s-cart-summary-card-submit .s-button-text { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
body.cart #s-cart-summary-card-submit .s-button-text::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--nv-cs-i-bag) center / contain no-repeat; mask: var(--nv-cs-i-bag) center / contain no-repeat; }
body.cart #s-cart-summary-card-submit[loading] .s-button-text::before { content: none; }
body.cart salla-cart-summary-card salla-skeleton .s-skeleton-item { background: rgba(172, 121, 27, .12) !important; }

@media (min-width: 1024px) {
  body.cart salla-cart-summary-card.s-cart-summary-card {
    padding: 22px 24px 24px !important; margin: 0 0 14px !important; border-radius: 24px !important; background: var(--nv-cs-card) !important;
    border: 1px solid rgba(172, 121, 27, .16); box-shadow: 0 34px 50px -46px rgba(82, 44, 0, .55) !important;
  }
  body.cart .s-cart-summary-card-sheet-title { font-size: 20px !important; }
  body.cart .s-cart-summary-card-line > span, body.cart .s-cart-summary-card-fee-label { font-size: 14.5px !important; }
  body.cart .s-cart-summary-card-line b { font-size: 15px !important; }
  body.cart .s-cart-summary-card-bar { margin-top: 10px !important; padding-top: 16px; border-top: 1px solid rgba(172, 121, 27, .14); align-items: center !important; }
  body.cart .s-cart-summary-card-action { padding-top: 18px !important; }
  /* الارتفاع محجوز قبل رسم المكوّن وأثناء هيكله (السطر الواحد + الإجمالي + الزر = 248px) ⇒ ملاحظة الشحن وصف الثقة لا يقفزان */
  body.cart salla-cart-summary-card { display: block; min-height: 248px; }
  body.cart salla-cart-summary-card.s-cart-summary-card--loading { height: 248px; overflow: hidden; }
}

/* ---------- 6) جوال وتابلت (< 1024): الشريط الثابت = مكوّن الملخص نفسه ---------- */
@media (max-width: 1023px) {
  body.cart:has(salla-cart-summary-card) { padding-bottom: calc(var(--nv-cs-bar-h) + env(safe-area-inset-bottom, 0px)); }
  body.cart main > .container > div.flex { padding-bottom: 28px !important; }
  body.cart salla-cart-summary-card.s-cart-summary-card--mobile, body.cart salla-cart-summary-card.s-cart-summary-card--loading:not(.s-cart-summary-card--desktop) {
    position: fixed !important; left: 0; right: 0; bottom: 0; z-index: 50 !important;
    display: flex !important; align-items: center; gap: 12px; min-height: var(--nv-cs-bar-h);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    background: rgba(255, 251, 246, .95) !important; -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px);
    border-top: 1px solid rgba(172, 121, 27, .28); border-radius: 0 !important; box-shadow: 0 -18px 30px -26px rgba(82, 44, 0, .55) !important;
    transform: none; visibility: visible; transition: transform .45s var(--nv-ease), visibility 0s;
  }
  /* هيكل التحميل: الشريط فارغ هادئ (سلة تعيد استعمال عُقد الهيكل للمحتوى بترتيب مختلف ⇒ إخفاؤها يمنع «إزاحة» وهمية) */
  body.cart .s-cart-summary-card--loading.s-cart-summary-card--mobile > * { visibility: hidden; }
  body.cart .s-cart-summary-card--mobile .s-cart-summary-card-bar {
    flex: 1; min-width: 0; display: flex !important; flex-direction: column; align-items: flex-start !important; justify-content: center; gap: 0 !important;
    padding: 0 !important; margin: 0 !important; border-radius: 0 !important;
  }
  body.cart .s-cart-summary-card--mobile .s-cart-summary-card-bar-label-text { font: 400 13px/1.5 var(--nv-font) !important; color: var(--nv-muted) !important; }
  body.cart .s-cart-summary-card--mobile .s-cart-summary-card-bar-label-sub { display: none; }
  body.cart .s-cart-summary-card--mobile .s-cart-summary-card-bar-totals { align-items: flex-start !important; gap: 2px !important; }
  body.cart .s-cart-summary-card--mobile .s-cart-summary-card-bar-totals-row { gap: 8px; }
  body.cart .s-cart-summary-card--mobile .s-cart-summary-card-bar-total { font-size: 17px !important; }
  body.cart .s-cart-summary-card--mobile .s-cart-summary-card-bar-original { font-size: 13px !important; }
  body.cart .s-cart-summary-card--mobile .s-cart-summary-card-bar-savings-badge { display: none !important; } /* التوفير يظهر في الملخص داخل الصفحة */
  body.cart .s-cart-summary-card--mobile .s-cart-summary-card-chevron { width: 44px; height: 44px; margin: -10px -6px; color: var(--nv-gold-text) !important; }
  body.cart .s-cart-summary-card--mobile .s-cart-summary-card-action { flex: none; width: min(56%, 250px); padding: 0 !important; }
  body.cart .s-cart-summary-card--mobile #s-cart-summary-card-submit .s-button-btn { height: 48px !important; padding: 0 18px !important; font-size: 14.5px !important; }
  /* الورقة المنبثقة (السهم): السطور نفسها ظاهرة في «ملخص الطلب» داخل الصفحة (cart.js) ⇒ تُخفى من أول رسم؛
     وتعود فقط إن تعذّر الملخص (body.nv-cs-nomirror) أو لم يعمل cart.js (لا body.nv-cs) */
  body.cart .s-cart-summary-card--mobile .s-cart-summary-card-sheet-wrap { background: var(--nv-cs-card) !important; border-radius: 22px 22px 0 0 !important; border-top: 1px solid rgba(172, 121, 27, .2); }
  body.cart.nv-cs:not(.nv-cs-nomirror) .s-cart-summary-card--mobile .s-cart-summary-card-sheet-wrap,
  body.cart.nv-cs:not(.nv-cs-nomirror) .s-cart-summary-card--mobile .s-cart-summary-card-chevron { display: none !important; }
  /* يختفي مع القائمة الجانبية والبحث ونافذة «تمت الإضافة» ولوحة المفاتيح */
  html.nv-dw-lock body.cart salla-cart-summary-card.s-cart-summary-card, html.nv-search-open body.cart salla-cart-summary-card.s-cart-summary-card,
  html.nv-search-lock body.cart salla-cart-summary-card.s-cart-summary-card, html.nv-cs-kb body.cart salla-cart-summary-card.s-cart-summary-card,
  body.cart:has(salla-add-product-toast.s-add-product-toast--visible) salla-cart-summary-card.s-cart-summary-card {
    transform: translateY(115%) !important; visibility: hidden !important; transition: transform .3s var(--nv-ease), visibility 0s linear .3s !important;
  }
}
@media (max-width: 359px) {
  body.cart .s-cart-summary-card--mobile .s-cart-summary-card-action { width: 52%; }
  body.cart .s-cart-summary-card--mobile #s-cart-summary-card-submit .s-button-btn { padding: 0 12px !important; font-size: 14px !important; }
  body.cart .s-cart-summary-card--mobile #s-cart-summary-card-submit .s-button-text::before { display: none; }
}

/* ملخص الطلب داخل الصفحة (جوال وتابلت فقط): نسخة قراءة من سطور مكوّن سلة نفسها (cart.js) */
.nv-cs-sum { display: none; }
@media (max-width: 1023px) {
  body.cart .nv-cs-sum {
    display: block; margin: 0 0 12px; padding: 16px 16px 14px; border-radius: var(--nv-cs-r); background: var(--nv-cs-card); border: 1px solid var(--nv-cs-edge);
  }
  body.cart .nv-cs-sum .s-cart-summary-card-line { display: flex; align-items: center; justify-content: space-between; }
  body.cart .nv-cs-sum__total { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(172, 121, 27, .14); white-space: nowrap; }
  body.cart .nv-cs-sum__total > span { font: 500 14.5px/1.5 var(--nv-display); color: var(--nv-ink); }
  body.cart .nv-cs-sum__total small { margin-inline-start: 6px; font: 400 13px/1 var(--nv-font); color: var(--nv-muted); }
  body.cart .nv-cs-sum__total b { font: 500 18px/1.3 var(--nv-display); color: var(--nv-ink); }
  body.cart .nv-cs-sk { display: inline-block; height: .85em; vertical-align: middle; border-radius: 6px; background: rgba(172, 121, 27, .14); animation: nv-cs-pulse 1.4s ease-in-out infinite alternate; }
  @keyframes nv-cs-pulse { from { opacity: 1; } to { opacity: .5; } }
}
body.cart .nv-cs-note { margin: -2px 6px 14px; font: 400 13px/1.6 var(--nv-font); color: var(--nv-muted); }

/* ---------- 7) صف الثقة: حقائق المتجر فقط (الاسترجاع 7 أيام + طرق الدفع من مكوّن salla-payments) ---------- */
body.cart .nv-cs-trust { margin: 0 0 14px; padding: 4px 14px; list-style: none; border-radius: var(--nv-cs-r); background: var(--nv-cs-card); border: 1px solid var(--nv-cs-edge); }
body.cart .nv-cs-trust li { display: flex; align-items: center; gap: 11px; min-height: 48px; margin: 0; font: 400 13.5px/1.4 var(--nv-font); color: var(--nv-ink); white-space: nowrap; }
body.cart .nv-cs-trust li + li { border-top: 1px solid rgba(172, 121, 27, .12); }
body.cart .nv-cs-trust li > a { display: flex; align-items: center; flex: 1; min-width: 0; min-height: 48px; color: inherit !important; text-decoration: none !important; overflow: hidden; text-overflow: ellipsis; }
body.cart .nv-cs-trust li > a::after { content: ""; width: 14px; height: 14px; margin-inline-start: auto; flex: none; background: var(--nv-gold-text); -webkit-mask: var(--nv-cs-i-chev) center / contain no-repeat; mask: var(--nv-cs-i-chev) center / contain no-repeat; }
body.cart .nv-cs-trust li > a:hover { color: var(--nv-gold-text) !important; }
body.cart .nv-cs-trust i { width: 20px; height: 20px; flex: none; background: var(--nv-gold-text); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
body.cart .nv-cs-trust .nv-cs-i-return { --m: var(--nv-cs-i-return); }
body.cart .nv-cs-trust .nv-cs-i-card { --m: var(--nv-cs-i-card); }
body.cart .nv-cs-trust li.nv-cs-trust__pay { flex-wrap: wrap; row-gap: 0; padding: 10px 0 12px; }
body.cart .nv-cs-pay { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; margin: 8px 0 0; padding: 0; list-style: none; }
body.cart .nv-cs-pay li { display: grid !important; place-items: center; width: 44px; height: 30px; min-height: 0 !important; padding: 0 4px; border: 1px solid rgba(172, 121, 27, .16) !important; border-radius: 8px; background: #fff; }
body.cart .nv-cs-pay img { display: block; max-width: 100%; max-height: 20px; object-fit: contain; }
@media (max-width: 359px) { body.cart .nv-cs-pay { gap: 5px; } body.cart .nv-cs-pay li { width: 40px; } }

/* ---------- 8) «أكملي هالتك» داخل السلة: بطاقات .nv-xs نفسها (pdp-xsell.css) ---------- */
body.cart .nv-xs--cart { margin: 34px 0 0; --gut: 16px; }
body.cart .nv-xs--cart .nv-xs__in { width: 100%; }
body.cart .nv-xs--cart .nv-xs__title { font-size: 22px; }
body.cart .nv-xs--cart .nv-xs__name { font-size: 16px !important; }
body.cart .nv-xs--cart .nv-xs__price { font-size: 17px; }
body.cart .nv-xs--cart .nv-xs__add.is-done { cursor: default; }
@media (min-width: 1024px) { body.cart .nv-xs--cart .nv-xs__row { --g: 14px; } body.cart .nv-xs--cart .nv-xs__card { border-radius: 22px; } }
@media (max-width: 1023px) { body.cart .nv-xs--cart { margin-top: 26px; } }
@media (max-width: 767px) {
  body.cart .nv-xs--cart { margin-top: 22px; --gut: 16px; }
  body.cart .nv-xs--cart .nv-xs__title { font-size: 18px; }
  body.cart .nv-xs--cart .nv-xs__name { font-size: 14.5px !important; }
  body.cart .nv-xs--cart .nv-xs__price { font-size: 16px; }
}

/* ---------- 9) مكوّنات سلة الأخرى في الصفحة (تظهر فقط إن فعّلها المتجر) ---------- */
body.cart #free-shipping:not(.hidden), body.cart #cart-gifting:not(.hidden) { border-radius: var(--nv-cs-r) !important; background: var(--nv-cs-card) !important; border: 1px solid var(--nv-cs-edge); box-shadow: none !important; }
body.cart #free-shipping .bg-primary { background-color: var(--nv-brown) !important; }
body.cart #free-shipping h4, body.cart #free-shipping p { font-size: 14px !important; }
body.cart salla-conditional-offer:not(:empty), body.cart salla-offer:not(:empty), body.cart salla-tiered-offer:not(:empty) { font-family: var(--nv-font); }
/* الكوبون (مُعطّل حاليًا في إعدادات المتجر: apply_coupon_enabled=false) — جاهز إن فُعّل */
body.cart div:has(> salla-cart-coupons) { min-height: 115px; margin: 0 0 14px !important; padding: 0 16px !important; border-radius: var(--nv-cs-r) !important; background: var(--nv-cs-card) !important; border: 1px solid var(--nv-cs-edge); box-shadow: none !important; }
body.cart .s-cart-coupons-wrapper { padding: 14px 0 !important; }
body.cart .s-cart-coupons-coupon-label { margin: 0 0 8px !important; font: 500 14px/1.5 var(--nv-font) !important; color: var(--nv-ink) !important; }
body.cart .s-cart-coupons-coupon-input-container { gap: 8px; }
body.cart .s-cart-coupons-coupon-input-container .form-input {
  height: 46px !important; padding: 0 16px !important; border-radius: 999px !important; border: 1px solid var(--nv-line) !important; border-width: 1px !important;
  background: #fff !important; font: 400 16px/1 var(--nv-font) !important; color: var(--nv-ink) !important; box-shadow: none !important;
}
body.cart .s-cart-coupons-coupon-input-container .form-input:focus { border-color: var(--nv-gold) !important; }
body.cart .s-cart-coupons-coupon-input-container .form-input.s-coupon-input-error { border-color: #B4532A !important; }
body.cart .s-cart-coupons-coupon-button .s-button-btn, body.cart .s-cart-coupons-coupon-button button {
  height: 46px !important; min-width: 84px; padding: 0 18px !important; border-radius: 999px !important; border: 1px solid rgba(82, 44, 0, .4) !important;
  background: transparent !important; color: var(--nv-brown) !important; font: 500 14.5px/1 var(--nv-display) !important;
}
body.cart .s-cart-coupons-coupon-button-remove button { border-color: rgba(180, 83, 42, .4) !important; color: #8A3A17 !important; }
body.cart .s-cart-coupons-coupon-error { display: block; margin-top: 6px; font: 400 13px/1.5 var(--nv-font) !important; color: #8A3A17 !important; }
@media (min-width: 640px) { body.cart .s-cart-coupons-coupon-input-container .form-input { font-size: 15px !important; } }
/* «منتجات متعلقة» من سلة (basket gap): مخفي من أول رسم ما دام cart.js يعمل (قسمنا «أكملي هالتك» مكانه)،
   ويعود إن لم يجد قسمنا اقتراحين على الأقل (body.nv-cs-gap). يبقى في الصفحة فيضيف المنتج الجديد إلى القائمة كما تفعل سلة. */
body.cart.nv-cs:not(.nv-cs-gap) salla-basket-gap, body.cart salla-basket-gap.nv-xs-hidden { display: none !important; }

/* ---------- 10) السلة الفارغة: لوحة هادئة + «تصفّحي العطور» و«الأكثر طلبًا» ---------- */
body.cart [data-testid="store-cart-empty"] {
  position: relative; display: grid !important; grid-template-columns: repeat(2, minmax(0, 168px)); justify-content: center; justify-items: stretch; column-gap: 10px;
  margin: 8px 0 0; padding: 44px 20px 40px !important; border-radius: 28px; text-align: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 90% at 50% 0%, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(160deg, #FFF7EE 0%, #FCEBDA 60%, #F7DFC9 100%);
  border: 1px solid var(--nv-line-soft);
}
body.cart [data-testid="store-cart-empty"] > * { grid-column: 1 / -1; margin: 0 !important; }
body.cart [data-testid="store-cart-empty"] > i.icon {
  justify-self: center; display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 18px !important; border-radius: 50%; font-size: 0 !important;
  background: radial-gradient(circle at 50% 35%, #fff 0%, #FBEEDD 100%); border: 1px solid rgba(172, 121, 27, .2); box-shadow: 0 18px 30px -24px rgba(82, 44, 0, .6);
}
body.cart [data-testid="store-cart-empty"] > i.icon::before { content: "" !important; width: 34px; height: 34px; background: var(--nv-gold-text); -webkit-mask: var(--nv-cs-i-bag) center / contain no-repeat; mask: var(--nv-cs-i-bag) center / contain no-repeat; }
body.cart [data-testid="store-cart-empty"]::before {
  content: "SHOPPING BAG"; grid-column: 1 / -1; grid-row: 2; justify-self: center; margin: 0 0 10px; direction: ltr;
  font: 500 13px/1 var(--nv-latin); letter-spacing: .36em; color: var(--nv-gold-text); white-space: nowrap;
}
body.cart [data-testid="store-cart-empty"] > p { grid-row: 3; font: 300 26px/1.45 var(--nv-display) !important; color: var(--nv-ink) !important; white-space: nowrap; }
/* سطر الوصف محجوز من أول رسم (لا إزاحة حين يكتمل JS) */
body.cart [data-testid="store-cart-empty"]::after {
  content: "اكتشفي عطور نوفاليا واختاري ما يليق بحضوركِ"; grid-column: 1 / -1; grid-row: 4; margin: 6px 0 22px;
  font: 400 14.5px/1.7 var(--nv-font); color: var(--nv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.cart [data-testid="store-cart-empty"] > a, body.cart .nv-cs-btn {
  grid-row: 5; grid-column: auto !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; height: 48px; min-width: 0; padding: 0 18px !important;
  border-radius: 999px !important; white-space: nowrap; text-decoration: none !important; font: 500 14.5px/1 var(--nv-display) !important;
  transition: background .4s var(--nv-ease), border-color .4s var(--nv-ease), transform .3s var(--nv-ease);
}
body.cart [data-testid="store-cart-empty"] > a:not(.nv-cs-btn) {
  background: var(--nv-brown) !important; color: #FFF7EF !important; border: 1px solid var(--nv-brown) !important; box-shadow: 0 16px 26px -20px rgba(82, 44, 0, .95);
}
body.cart [data-testid="store-cart-empty"] > a:not(.nv-cs-btn):hover { background: #3E2100 !important; }
body.cart .nv-cs-btn { background: rgba(255, 251, 246, .85) !important; color: var(--nv-brown) !important; border: 1px solid rgba(82, 44, 0, .32) !important; }
body.cart .nv-cs-btn:hover { background: #fff !important; border-color: var(--nv-brown) !important; }
body.cart [data-testid="store-cart-empty"] > a:focus-visible, body.cart .nv-cs-btn:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 3px; }
body.cart [data-testid="store-cart-empty"] > a:active, body.cart .nv-cs-btn:active { transform: scale(.98); }
body.cart:has([data-testid="store-cart-empty"]) main > .container > div.flex { padding-top: 8px !important; }
@media (min-width: 1024px) {
  body.cart:has([data-testid="store-cart-empty"]) main > .container > div.flex > .main-content { width: 100% !important; }
  body.cart [data-testid="store-cart-empty"] { max-width: 820px; margin: 8px auto 0; padding: 52px 24px 48px !important; }
  body.cart [data-testid="store-cart-empty"] > p { font-size: 30px !important; }
}
@media (max-width: 767px) {
  body.cart [data-testid="store-cart-empty"] { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 34px 16px 30px !important; border-radius: 24px; }
  body.cart [data-testid="store-cart-empty"] > i.icon { width: 76px; height: 76px; margin-bottom: 14px !important; }
  body.cart [data-testid="store-cart-empty"] > i.icon::before { width: 30px; height: 30px; }
  body.cart [data-testid="store-cart-empty"] > p { font-size: 22px !important; }
  body.cart [data-testid="store-cart-empty"]::after { font-size: 13.5px; margin-bottom: 18px; white-space: normal; }
  body.cart [data-testid="store-cart-empty"] > a, body.cart .nv-cs-btn { padding: 0 12px !important; font-size: 14px !important; }
}

/* ---------- 11) حركة مخففة ---------- */
@media (prefers-reduced-motion: reduce) {
  body.cart section.cart-item, body.cart section.cart-item *, body.cart salla-cart-summary-card.s-cart-summary-card { transition: none !important; animation: none !important; }
  body.cart :where(section.cart-item > div:first-of-type > div:first-child > a:first-child) img { opacity: 1; }
}
/* =========================================================
   NOVALIA — «من المدونة» في الرئيسية (sec-blog v2 · r2: سلّم الخطوط الموحّد، هيكل يحجز الارتفاع، ظهور عبر منسِّق الرئيسية)
   كتلة هادئة قبل الفوتر: 3 بطاقات على الديسكتوب، صف أفقي ينزلق على الجوال. لا يُبنى أصلًا إن قلّت المقالات عن اثنين.
   ========================================================= */
.nv-blogmini {
  --nv-bm-go: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 12H7m4-4l-4 4 4 4'/%3E%3C/svg%3E");
  position: relative; padding: 84px 0 10px; font-family: var(--nv-font);
}
.nv-blogmini__in { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }

/* ---- رأس القسم (النمط المعتمد) ---- */
.nv-blogmini__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.nv-blogmini__head > div:first-child { min-width: 0; }
.nv-blogmini__eyebrow { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 0 0 14px; font: 500 13px/1 var(--nv-latin); letter-spacing: .36em; color: var(--nv-gold-text); direction: ltr; white-space: nowrap; }
.nv-blogmini__eyebrow::after { content: ""; flex: none; width: 34px; height: 1px; background: var(--nv-gold); }
.nv-blogmini__title { margin: 0; font: 300 clamp(26px, 1.95vw, 28px)/1.4 var(--nv-display); color: var(--nv-ink); white-space: nowrap; }
.nv-blogmini__title em { font-style: normal; font-weight: 500; color: var(--nv-gold-text); }
.nv-blogmini__all {
  display: inline-flex; align-items: center; gap: 12px; flex: none; height: 48px; margin-bottom: 4px; padding-inline: 22px 6px; border-radius: 999px; white-space: nowrap; text-decoration: none !important;
  border: 1px solid var(--nv-line); font: 500 14.5px/1 var(--nv-font); color: var(--nv-ink) !important; transition: background .4s var(--nv-ease), border-color .4s var(--nv-ease);
}
.nv-blogmini__all i { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--nv-ink); flex: none; transition: transform .5s var(--nv-ease); }
.nv-blogmini__all i::before { content: ""; position: absolute; inset: 0; background: var(--nv-ivory); -webkit-mask: var(--nv-bm-go) center / 20px no-repeat; mask: var(--nv-bm-go) center / 20px no-repeat; }
.nv-blogmini__all:hover { background: var(--nv-cream); border-color: var(--nv-gold); }
.nv-blogmini__all:hover i { transform: translateX(-4px); }
.nv-blogmini__all-s { display: none; }

/* ---- البطاقات ---- */
.nv-blogmini__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.nv-blogmini__item { min-width: 0; }
.nv-blogmini__card {
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 8px; border-radius: 24px; box-sizing: border-box; text-decoration: none !important;
  background: var(--nv-paper); border: 1px solid rgba(172, 121, 27, .13); color: var(--nv-ink) !important;
  transition: border-color .5s var(--nv-ease), box-shadow .6s var(--nv-ease);
}
.nv-blogmini__card:hover { border-color: rgba(172, 121, 27, .34); box-shadow: 0 30px 44px -36px rgba(82, 44, 0, .5); }
.nv-blogmini__img { position: relative; display: block; aspect-ratio: 2.4 / 1; border-radius: 17px; overflow: hidden; background: linear-gradient(135deg, #FFF1E2 0%, #FBDDC3 60%, #EFCFB4 100%); }
.nv-blogmini__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--nv-ease); }
.nv-blogmini__card:hover .nv-blogmini__img img { transform: scale(1.035); }
.nv-blogmini__chip {
  position: absolute; inset-block-start: 10px; inset-inline-end: 10px; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px;
  background: rgba(255, 251, 246, .9); border: 1px solid rgba(172, 121, 27, .2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 500 13px/1 var(--nv-font); color: var(--nv-gold-text); white-space: nowrap;
}
.nv-blogmini__t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.3em; margin: 14px 10px 0; font: 500 16.5px/1.65 var(--nv-font); }
.nv-blogmini__meta { display: flex; align-items: center; height: 22px; margin: 8px 10px 6px; overflow: hidden; white-space: nowrap; font: 400 13px/1 var(--nv-font); color: var(--nv-muted); }
.nv-blogmini__rt { display: inline-flex; align-items: center; }
.nv-blogmini__rt::before { content: ""; width: 4px; height: 4px; margin-inline: 10px; background: var(--nv-gold); transform: rotate(45deg); opacity: .8; }
.nv-blogmini__all:focus-visible, .nv-blogmini__card:focus-visible { outline: 2px solid var(--nv-gold); outline-offset: 3px; }

/* هيكل يحجز الارتفاع النهائي نفسه حتى تصل قائمة المقالات (الرأس حقيقي، والبطاقات فارغة بالمقاسات نفسها) */
.nv-blogmini.is-skel .nv-blogmini__card { pointer-events: none; }
.nv-blogmini.is-skel .nv-blogmini__img { animation: nv-bm-skel 1.2s ease-in-out infinite alternate; }
.nv-blogmini.is-skel .nv-blogmini__t { background: linear-gradient(rgba(82, 44, 0, .07), rgba(82, 44, 0, .07)) right 0 top 8px / 86% 12px no-repeat, linear-gradient(rgba(82, 44, 0, .05), rgba(82, 44, 0, .05)) right 0 top 36px / 54% 12px no-repeat; }
.nv-blogmini.is-skel .nv-blogmini__meta { background: linear-gradient(rgba(82, 44, 0, .05), rgba(82, 44, 0, .05)) right 0 center / 34% 10px no-repeat; }
@keyframes nv-bm-skel { from { opacity: 1; } to { opacity: .55; } }

@media (min-width: 768px) and (max-width: 1099px) {
  .nv-blogmini__title { font-size: 23px; }
  .nv-blogmini__list { gap: 16px; }
  .nv-blogmini__t { font-size: 15.5px; margin-inline: 8px; }
  .nv-blogmini__meta { margin-inline: 8px; }
}

/* ---- جوال: صف أفقي مضغوط ---- */
@media (max-width: 767px) {
  .nv-blogmini { padding: 34px 0 4px; }
  .nv-blogmini__in { width: 100%; }
  .nv-blogmini__head { margin-bottom: 12px; padding-inline: 16px 8px; gap: 8px; }
  .nv-blogmini__eyebrow { font-size: 13px; margin-bottom: 5px; letter-spacing: .26em; }
  .nv-blogmini__eyebrow::after { width: 24px; }
  .nv-blogmini__title { font-size: clamp(19px, 5.2vw, 20.5px); line-height: 1.4; }
  .nv-blogmini__all { height: 44px; margin: 0; padding: 0 6px; gap: 4px; border: 0; font-size: 13.5px; color: var(--nv-gold-text) !important; background: none !important; }
  .nv-blogmini__all i { width: 24px; height: 24px; background: none; }
  .nv-blogmini__all i::before { background: var(--nv-gold-text); }
  .nv-blogmini__list {
    display: flex; gap: 10px; padding: 2px 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  }
  .nv-blogmini__list::-webkit-scrollbar { display: none; }
  .nv-blogmini__item { flex: 0 0 min(80%, 300px); scroll-snap-align: start; }
  .nv-blogmini__card { padding: 6px; border-radius: 20px; }
  .nv-blogmini__img { border-radius: 15px; }
  .nv-blogmini__chip { height: 26px; padding: 0 10px; inset-block-start: 8px; inset-inline-end: 8px; }
  .nv-blogmini__t { font-size: 15px; margin: 10px 8px 0; }
  .nv-blogmini__meta { margin: 6px 8px 4px; }
}
@media (max-width: 374px) {
  .nv-blogmini__all-l { display: none; } .nv-blogmini__all-s { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  .nv-blogmini.is-skel .nv-blogmini__img { animation: none; }
  .nv-blogmini__card, .nv-blogmini__img img, .nv-blogmini__all i { transition: none !important; }
}

/* =========================================================
   R2 — مطابقة رأس الأقسام والبطاقات الموحّد في الرئيسية (نمط sec-reviews / sec-best نفسه)
   عنوان 28 على 1440 و26 على 1100 و23 تابلت و18–20 جوال بسطر واحد · السطر اللاتيني 12 / 11.5 · كبسولة 44px بنص 14
   حشوة علوية 72 / 56 / 30 · بطاقة بزوايا 24 (22 جوال) بالحد والظل نفسيهما · عنوان البطاقة سطران بالضبط بلا قص.
   ========================================================= */
.nv-blogmini { padding-top: 72px; }
.nv-blogmini__head { margin-bottom: 28px; }
.nv-blogmini__eyebrow { margin-bottom: 12px; font-size: 12px; letter-spacing: .32em; }
.nv-blogmini__title { font-size: clamp(26px, 1.95vw, 28px); line-height: 1.4; }
.nv-blogmini__all { height: 44px; gap: 10px; margin-bottom: 0; padding-inline: 18px 5px; font-size: 14px; }
.nv-blogmini__all i { width: 34px; height: 34px; }
.nv-blogmini__card { border-radius: 24px; border-color: var(--nv-line-soft); box-shadow: 0 30px 44px -40px rgba(82, 44, 0, .5); }
.nv-blogmini__card:hover { border-color: rgba(172, 121, 27, .34); box-shadow: 0 30px 44px -36px rgba(82, 44, 0, .5); }
/* سطران بالضبط: الارتفاع = 2 × ارتفاع السطر، فلا يظهر جزء من سطر ثالث */
.nv-blogmini__t { line-height: 1.65; height: 3.3em; min-height: 0; max-height: 3.3em; padding: 0; }
@media (min-width: 768px) and (max-width: 1023px) {
  .nv-blogmini { padding-top: 56px; }
  .nv-blogmini__head { margin-bottom: 18px; }
  .nv-blogmini__title { font-size: 23px; }
}
@media (max-width: 767px) {
  .nv-blogmini { padding-top: 30px; }
  .nv-blogmini__head { margin-bottom: 10px; }
  .nv-blogmini__eyebrow { margin-bottom: 6px; font-size: 11.5px; letter-spacing: .3em; }
  .nv-blogmini__eyebrow::after { width: 34px; }
  .nv-blogmini__title { font-size: clamp(18px, 5vw, 20px); line-height: 1.4; white-space: nowrap; }
  .nv-blogmini__all { height: 44px; padding: 0 4px; gap: 4px; font-size: 13.5px; }
  .nv-blogmini__all i { width: 24px; height: 24px; }
  .nv-blogmini__card { border-radius: 22px; box-shadow: 0 20px 28px -24px rgba(82, 44, 0, .45); }
  .nv-blogmini__img { border-radius: 16px; }
}