/* =====================================================================
   برواز brwaz — تصميم مخصص لثيم رائد (سلة)
   الهوية: نبيذي #591A2D · كريمي #FCF7F0 · ذهبي #FFD7AB
   الفكرة: «برواز» = إطار. كل صورة في المتجر معروضة داخل إطار (passe-partout) كريمي
   يُلصق في: تخصيص متقدم ← تخصيص باستخدام CSS
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

/* خط العناوين: ثمانية سيريف ديسبلاي (مرفوع في خطوط المتجر الخاصة) */
@font-face { font-family: "Thmanyah Serif Display"; src: url("https://cdn.salla.sa/themes/custom_fonts/673541681/1794642353.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Serif Display"; src: url("https://cdn.salla.sa/themes/custom_fonts/673541681/1794642378.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Serif Display"; src: url("https://cdn.salla.sa/themes/custom_fonts/673541681/1794644844.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }

:root {
  --br-wine: #591A2D;
  --br-wine-deep: #3E1020;
  --br-wine-tone: #67233A;
  --br-cream: #FCF7F0;
  --br-cream-2: #F3E9DC;
  --br-gold: #FFD7AB;
  --br-gold-ink: #A9783F;
  --br-ink: #2B1419;
  --br-ink-2: #4A2E34;
  --br-muted: #7E676B;
  --br-mat: clamp(8px, .9vw, 12px);
  --br-ease: cubic-bezier(.22, 1, .36, 1);
  --br-gap: clamp(14px, 2vw, 28px);
  --br-display: "Thmanyah Serif Display", "IBM Plex Sans Arabic", serif;
  --br-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --br-logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 379 234'%3E%3Cpath fill-rule='evenodd' d='M199.6 83.1C198.9 91.2 191.9 100.1 186 105.9C174 117.9 159.2 126 142.5 130.2L150.1 133.9C154.8 136.3 159.7 137.8 164.8 138.9C171.7 140.3 177.7 137 183.1 132.6C195.9 122.1 204.7 105.8 206.4 89.3C211 93.5 219.2 96.3 224.7 96.6L241.4 97.4C254.8 97.2 267.8 96 281.1 94.1L315.9 87.8L333.2 84.5C341.3 83 352.1 82.4 359.3 85.7C367.2 89.2 367.4 97.7 364.9 105.9L365.5 106.4C372.2 99.1 375.2 89.3 373.4 79.7C371.3 68.8 361.4 64.3 350.7 63.8C346.6 63.6 342.7 63.6 338.7 64.3L323.4 67L298.2 72.3C278.1 76.5 244.2 80.2 224.6 77C215.5 75.5 208.8 71.3 204.4 63.2L192.9 43.1L182.2 61.8L196 77.6ZM199.6 83.1M132.6 56.9C141.4 54.7 148.2 61.5 150.9 69.8C144 72.7 135.7 73.5 129 70.5C127 69.2 125.3 67.3 125.5 64.8C125.9 60.8 128.9 57.9 132.6 56.9M129.4 90.7C137.8 92.2 145.9 89.7 153.1 84.5C153.1 86.2 152.6 88 151.6 89.5C145.7 99.4 133.6 106.2 122.9 110.4C112.4 114.3 101.7 116.5 90.5 117.2L89.6 117.7C89.5 117.7 89.9 118.2 90.1 118.5L104.8 126.4C113 129.7 120 131.5 128.4 128.4C133.9 126.4 138.6 123.4 142.9 119.6C158 106.1 164.3 86 162.5 65.9C162 60.5 160.6 55.4 158.1 50.7C153 41.1 142.6 34.9 133.5 41.4C124.6 47.7 118.2 62 116.8 73C115.5 82.5 120.1 89 129.4 90.7M38.6 125.8C43.8 124.5 48.5 122.1 52.8 118.8C65.9 108.7 73 92.8 71.8 76.3C71.3 69.4 69.4 63.1 65.7 57.4L56.3 43.2L46.1 61.8L53.8 70.1C57 73.6 60 77.2 62.8 81.1C63.9 82.6 64.1 84.5 63.4 86.2C59.8 95.9 48.3 107.9 38.6 111.4C29.4 114.7 3.6 111.2 3.6 111.2L15.4 119.8C22.9 124.3 29.6 128 38.6 125.8M93.7 3.8L80.2 21L83.6 113.2C83.6 113.2 93.9 101.8 96 94.7C97.3 89.6 93.7 3.8 93.7 3.8M292 128.8L304.8 115.6L292.1 103.3L279.3 116.5ZM292 128.8M63.2 27.1L51.2 15.4L39.1 27.8L51.1 39.5ZM63.2 27.1M306.8 222.6C303.2 224.7 300.2 224.1 298.4 220.8C297.9 219.8 297.7 213.5 297.7 200.2C297.7 178.7 297.3 176.3 293.4 171.8C285.7 162.8 266.2 161.7 253.7 169.7C247.2 173.8 245.2 180.3 249.3 183.7C253.4 187.1 258.6 184.7 259.5 179.1C261.1 169.3 264.6 166.1 272.8 167.1C279.5 167.8 282.5 172.4 283 182.6L283.2 189.3L282 190C281.3 190.3 276.5 191.8 271.4 193.3C261.2 196.2 254.6 198.9 251 201.7C245.5 205.9 243.7 214.5 247 221C249.5 226.1 253.4 228.7 259.9 229.8C261.5 230.1 263.5 230.2 264.2 230.1C269.5 229.3 271.1 228.9 273.4 227.7C276.1 226.3 282.4 220.8 282.4 219.8C282.4 219.5 281.3 220.1 279.9 221.2C270.6 228.5 258.7 222.1 260.1 210.6C261 202.8 265.6 198.6 279 193.2L283.1 191.5L283.1 205.9C283 221 283.4 223.7 285.9 226.4C290.8 231.7 299.9 231.1 306.1 225C309.5 221.8 309.7 220.8 306.8 222.6M52.4 226.6C44.7 230.5 35.5 227.3 32.3 219.8C31.4 217.7 31.3 213.9 31.3 197.5L31.3 177.6L33.4 174.4C40.6 163.8 55.7 166.2 61.3 178.8C68.9 195.7 64.3 220.5 52.4 226.6M64.1 167.5L59.5 165.2L44.8 165.2L41.1 167C39 168 35.9 170.2 34.3 171.9L31.3 175L31.3 154.7C31.3 143.5 31.1 134.4 30.9 134.4C30.6 134.4 26.1 135.3 20.9 136.4C15.6 137.5 10.4 138.4 9.4 138.4C8.3 138.4 7.4 138.7 7.4 139.1C7.4 139.4 8.6 139.7 10 139.7C11.8 139.7 13 140.2 14.3 141.5L16 143.2L16 223.8L14.5 225.5C13.5 226.7 12.1 227.4 10.2 227.7C4.1 228.5 7.9 229.2 17.5 229L27.6 228.9L29.3 225.8L30.9 222.7L34.5 225.3C36.5 226.7 39.5 228.3 41.2 228.9C43.2 229.5 46.5 229.8 51.5 229.6L58.8 229.5L63.1 227.4C73.6 222.3 80 212.1 80.7 199C81.6 184.8 75.4 173.1 64.1 167.5M235.7 165.7L224.4 165.7L227.6 166.7C230.1 167.4 231 168.1 231.8 169.8L232.8 171.9L231.5 175.8C229.7 181.5 219.4 208.2 218.9 208.8C218.7 209 216.3 203.8 213.6 197.2C210.9 190.5 207.7 182.9 206.5 180.1C202.2 170 202.4 168 208.3 166.5C210.7 165.8 208.6 165.7 195.1 165.6C184.5 165.6 179.1 165.8 179.4 166.2C179.6 166.6 180.5 166.9 181.4 166.9C183.9 166.9 186.7 170.1 189.2 176L191.6 181.5L186.3 194.9C183.3 202.3 180.7 208.5 180.4 208.8C180.2 209.1 179.2 207.5 178.2 205.2C177.3 202.9 173.8 194.3 170.4 186.1C163.3 169 163.3 168.6 168.8 166.8L172.1 165.7L155.8 165.7L139.6 165.6L143 167C144.9 167.7 146.9 169 147.5 169.8C148.4 171.2 153.9 183.9 169.1 220.1C171.3 225.4 173.5 229.8 174 229.8C174.4 229.8 178.7 219.9 183.6 207.6C188.5 195.4 192.6 185.5 192.9 185.5C193.1 185.5 194.5 188.5 196.1 192.3C212.2 231.7 212.5 232.2 214 228.1C218.1 217 234.5 175.9 235.8 173.4C237.8 169.7 239.7 168.2 244 166.7L247 165.7ZM235.7 165.7M132.9 164.7L129.1 164.4C122.3 163.8 115.9 167.4 111.4 174.3L108.8 178.4L108.8 164.8L107.6 165.2C107 165.3 101.7 166.4 95.9 167.6C90.1 168.7 85.2 169.7 85.1 169.8C85 169.9 86.3 170.2 88 170.4C94.2 171.1 94.4 172.3 94.1 202.2L93.9 223.9L92.2 225.6C91.1 226.7 89.4 227.4 87.7 227.7C86.2 227.9 84.9 228.3 84.9 228.6C84.9 228.9 92.6 229.2 101.9 229.2C117.4 229.2 122.4 228.6 115.3 227.7C113.2 227.4 111.9 226.7 110.6 225.2L108.7 223.1L109.1 179.8L111 177C114.8 171.1 120 170 123.5 174.3C124.5 175.5 125.8 177 126.3 177.6C128.8 180.5 133.8 179.5 136 175.9C138 172.7 137.7 169.9 135.1 167.1ZM132.9 164.7M374.4 208.9L374.2 207.1L371.6 211.3C368.1 217 362.4 223 358.3 225.1L355 226.9L330 227.3L331.9 224.4C332.8 222.9 339.1 213.5 345.7 203.7C367.6 171.1 371.2 165.7 371.2 165.3C371.2 165.1 358.2 164.9 342.4 164.9L313.6 164.9L313.5 166.4C313.5 167.2 313.1 171.7 312.7 176.3C312.2 181 312 184.8 312.2 184.8C312.4 184.8 313.7 183 315.2 180.8C318.9 175 323 171 327.3 169L331.1 167.3L341.9 167C347.8 166.9 352.7 166.9 352.7 167.2C352.7 167.4 343.9 180.6 333.3 196.6C322.6 212.5 313.4 226.4 312.7 227.4L311.6 229.2L373.2 229.2L373.2 227.8C373.2 227.1 373.5 222.9 373.9 218.6C374.3 214.3 374.5 209.9 374.4 208.9'/%3E%3C/svg%3E");
  --br-airmail: repeating-linear-gradient(135deg, #B23A3F 0 12px, var(--br-cream) 12px 18px, #2E4B75 18px 30px, var(--br-cream) 30px 36px); /* taste-skill-ignore: شريط البريد الجوي من هوية برواز */

  /* ألوان الثيم الأساسية → هوية برواز */
  --color-primary: #591A2D !important;
  --color-primary-dark: #3E1020 !important;
  --color-primary-light: #7A2E44 !important;
  --color-primary-reverse: #FFD7AB !important;
}

/* ---------- الأساس ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { background: var(--br-cream) !important; }
body {
  font-family: var(--br-body) !important;
  color: var(--br-ink);
  overflow-x: clip !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body :is(h1, h2, h3, h4, h5, p, a, button, input, textarea, select, label, span, li, b, strong, small):not([class*="sicon"]) { font-family: inherit; }
.app-inner { background: transparent !important; }
::selection { background: var(--br-wine); color: var(--br-gold); }
:focus-visible { outline: 2px solid var(--br-wine) !important; outline-offset: 3px; border-radius: 10px; }
* { scrollbar-width: thin; scrollbar-color: rgba(89, 26, 45, .5) transparent; }
img { -webkit-user-drag: none; }

/* ---------- شاشة التحميل: كريمي + الشعار يُكتب من اليمين ثم تتلاشى ---------- */
body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 2147483000;
}
body::before { inset: 0; background: var(--br-cream); animation: brLoaderOut .45s var(--br-ease) 1.6s forwards; }
body::after {
  top: 50%; left: 50%;
  width: clamp(120px, 22vw, 180px);
  aspect-ratio: 379 / 234;
  translate: -50% -50%;
  background: var(--br-wine);
  -webkit-mask: var(--br-logo) center / contain no-repeat;
  mask: var(--br-logo) center / contain no-repeat;
  clip-path: inset(0 0 0 100%);
  animation: brLoaderWrite .8s cubic-bezier(.65, 0, .35, 1) .1s forwards, brLoaderOut .45s var(--br-ease) 1.6s forwards;
}
html.br-loaded body::before { animation: brLoaderOut .45s var(--br-ease) forwards; }
html.br-loaded body::after { clip-path: inset(0); animation: brLoaderLift .45s var(--br-ease) forwards; }
@keyframes brLoaderWrite { to { clip-path: inset(0); } }
@keyframes brLoaderOut { to { opacity: 0; visibility: hidden; } }
@keyframes brLoaderLift { to { opacity: 0; visibility: hidden; scale: 1.06; } }

/* ---------- الشريط العلوي: ظرف بريد جوي (يُبنى بالـ JS) ---------- */
.br-strip {
  position: relative;
  overflow: hidden;
  background: var(--br-wine);
  color: var(--br-gold);
  font: 300 15px/1 var(--br-display);
  letter-spacing: .01em;
  padding: 14px 0 10px;
}
.br-strip__track { display: flex; width: max-content; animation: brTicker var(--br-tick, 60s) linear infinite; will-change: transform; }
.br-strip__group { display: flex; flex-shrink: 0; align-items: center; white-space: nowrap; }
.br-strip:hover .br-strip__track { animation-play-state: paused; }
.br-strip i { display: inline-block; flex-shrink: 0; width: 5px; height: 5px; margin: 0 22px; background: var(--br-gold); opacity: .75; rotate: 45deg; }
@keyframes brTicker { to { transform: translateX(50%); } }
html[dir="ltr"] .br-strip__track { animation-name: brTickerLtr; }
@keyframes brTickerLtr { to { transform: translateX(-50%); } }
.br-strip::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 5px; background: var(--br-airmail); }

/* ---------- الهيدر ----------
   في رائد الهيدر نفسه بلا صندوق (display: contents)، والشريط .site-header__bar هو الذي يثبت أعلى الصفحة عند التمرير */
.site-header__bar { background: var(--br-cream) !important; transition: box-shadow .35s var(--br-ease); }
.site-header__bar.is-scrolled { box-shadow: 0 18px 36px -30px rgba(43, 20, 25, .7); } /* taste-skill-ignore: شريط ثابت عائم */
.site-header__bar:not(.is-scrolled) { position: relative; z-index: 60; }
.site-header__bar-outer { background: transparent !important; }
.br-has-desknav .site-header__bar-outer { height: var(--br-bar-h, 88px) !important; min-height: 0 !important; }
.site-header__bar-inner {
  min-height: clamp(70px, 7.4vw, 100px);
  align-items: center;
  transition: min-height .35s var(--br-ease);
}
.br-scrolled .site-header__bar-inner { min-height: 64px; }
.site-header__nav-toggle { grid-column: 1; grid-row: 1; }
.site-header__brand { grid-column: 2; grid-row: 1; }
.site-header__actions { grid-column: 3; grid-row: 1; }

/* الشعار الجديد بدل الشعار القديم (قناع واحد يُلوَّن حسب الخلفية) */
.site-header__brand,
.site-nav-drawer__brand,
footer.store-footer .store-footer__logo {
  display: block !important;
  aspect-ratio: 379 / 234;
  -webkit-mask: var(--br-logo) center / contain no-repeat;
  mask: var(--br-logo) center / contain no-repeat;
}
.site-header__brand {
  width: clamp(78px, 7.8vw, 112px);
  background: linear-gradient(105deg, var(--br-wine) 0 40%, var(--br-gold-ink) 47%, var(--br-gold) 50%, var(--br-gold-ink) 53%, var(--br-wine) 60% 100%) 100% 0 / 300% 100% no-repeat; /* taste-skill-ignore: لمعة متحركة تعبر الشعار، الحالة الثابتة لون واحد */
  transition: transform .5s var(--br-ease), width .35s var(--br-ease);
  animation: brLogoIn 1s var(--br-ease) .15s both, brShine 9s var(--br-ease) 1.1s 2; /* مرتين فقط: اللمعان المستمر يعيد رسم الهيدر كل إطار */
}
.site-header__brand:hover { animation: brShineHover 1.2s var(--br-ease) both; }
@keyframes brShine { 0% { background-position: 100% 0; } 14%, 100% { background-position: 0 0; } }
@keyframes brShineHover { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes brLogoIn { from { opacity: 0; translate: 0 6px; filter: blur(4px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
.br-scrolled .site-header__brand { width: clamp(68px, 6vw, 86px); }
.site-header__brand:hover { transform: scale(1.04); }
.site-header__brand img { display: none !important; }

.site-header .header-action,
.site-header .s-user-menu-login-btn { border-radius: 999px !important; transition: background .2s, transform .2s var(--br-ease); }
.site-header button.header-action:hover,
.site-header .s-user-menu-login-btn:hover { background: var(--br-cream-2) !important; }
.site-header .header-action:active { transform: scale(.94); }
.site-header svg { color: var(--br-wine); }
.site-header__burger span { background: var(--br-wine) !important; }
.s-cart-summary-count { background: var(--br-wine) !important; color: var(--br-gold) !important; font-weight: 700; }
.s-cart-summary-total { font-weight: 700; color: var(--br-ink); }

/* شريط البحث لسطح المكتب (يُبنى بالـ JS) */
.br-searchbar { display: none; }
@media (min-width: 1024px) {
  .br-has-desknav .site-header__nav-toggle { display: none !important; }
  .br-has-searchbar .site-header__search { display: none !important; }
  .br-searchbar {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 340px);
    height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--br-cream-2);
    color: var(--br-muted);
    font: 500 14.5px/1 var(--br-body);
    cursor: text;
    transition: background .2s, color .2s;
  }
  .br-searchbar svg { width: 18px; height: 18px; color: var(--br-wine); flex: none; }
  .br-searchbar:hover { background: #EDE0CF; color: var(--br-ink-2); }
}

/* ---------- قائمة سطح المكتب (تُبنى بالـ JS) ---------- */
.br-desknav { display: none; position: relative; z-index: 45; }
@media (min-width: 1024px) { .br-desknav { display: block; } }
.br-desknav__list { display: flex; justify-content: center; gap: clamp(2px, 1vw, 16px); margin: 0; padding: 0 0 4px; list-style: none; overflow: hidden; }
.br-desknav__list > li { flex: none; }
.br-desknav__list > li[hidden] { display: none !important; }
.br-desknav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 12px 16px;
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  font: 600 clamp(14px, 1vw, 15.5px)/1 var(--br-body);
  color: var(--br-ink-2);
  text-decoration: none;
  transition: color .2s, padding .35s var(--br-ease);
}
.br-scrolled .br-desknav__link { padding-block: 8px 12px; }
.br-desknav__link::after {
  content: "";
  position: absolute;
  inset-inline: 12px;
  bottom: 6px;
  height: 3px;
  border-radius: 3px;
  background: var(--br-wine);
  transform: scaleX(0);
  transition: transform .4s var(--br-ease);
}
.br-desknav__link:hover, .br-desknav__link[aria-expanded="true"], .br-desknav__link.is-active { color: var(--br-wine); }
.br-desknav__link:hover::after, .br-desknav__link[aria-expanded="true"]::after, .br-desknav__link.is-active::after { transform: scaleX(1); }
.br-desknav__link > svg { width: 14px; height: 14px; transition: transform .3s var(--br-ease); }
.br-desknav__link[aria-expanded="true"] > svg { transform: rotate(180deg); }

/* اللوحة المنسدلة: معاينة منتجات القسم */
.br-mega {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: var(--br-cream);
  box-shadow: 0 40px 60px -40px rgba(43, 20, 25, .55); /* taste-skill-ignore: لوحة عائمة */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .25s var(--br-ease), transform .4s var(--br-ease), visibility 0s .4s;
}
.br-mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.br-mega__inner {
  display: grid;
  grid-template-columns: minmax(210px, 270px) minmax(0, 1fr);
  gap: clamp(28px, 3.5vw, 64px);
  align-items: start;
  padding-block: 30px 36px;
  transition: opacity .3s var(--br-ease), transform .45s var(--br-ease);
}
.br-mega__inner.is-entering { opacity: 0; transform: translateY(8px); }
.br-mega__inner--tiles { display: block; }
.br-mega__head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.br-mega__title { font: 700 clamp(30px, 2.6vw, 42px)/1.1 var(--br-display); color: var(--br-wine); margin: 0; }
.br-mega__subs { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; max-height: 260px; overflow: auto; width: 100%; }
.br-mega__subs a { display: block; padding: 7px 0; color: var(--br-ink-2); font-size: 15px; font-weight: 500; text-decoration: none; transition: color .2s, transform .3s var(--br-ease); }
.br-mega__subs a:hover { color: var(--br-wine); transform: translateX(-4px); }
.br-mega__all {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px;
  padding: 13px 22px; border-radius: 999px;
  background: var(--br-wine); color: var(--br-gold) !important;
  font-weight: 600; font-size: 14.5px; text-decoration: none;
  transition: background .2s, transform .2s var(--br-ease);
}
.br-mega__all svg { transition: transform .35s var(--br-ease); }
.br-mega__all:hover { background: var(--br-wine-deep); }
.br-mega__all:hover svg { transform: translateX(-4px); }
.br-mega__all:active { transform: scale(.97); }
.br-mega__products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 28px); }
.br-mega__empty { grid-column: 1 / -1; margin: 0; color: var(--br-muted); font-size: 15px; }

/* منتج داخل اللوحة: صورة داخل إطار كريمي */
.br-mp { display: flex; flex-direction: column; gap: 10px; color: var(--br-ink); text-decoration: none; animation: br-in .5s var(--br-ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.br-mp__img {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--br-cream-2);
  outline: var(--br-mat) solid var(--br-cream-2);
  outline-offset: calc(var(--br-mat) * -1);
  transition: outline-width .45s var(--br-ease), outline-offset .45s var(--br-ease);
}
.br-mp__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--br-ease); }
.br-mp:hover .br-mp__img { outline-width: 4px; outline-offset: -4px; }
.br-mp:hover .br-mp__img img { transform: scale(1.06); }
.br-mp__name { font-size: 14.5px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.br-mp:hover .br-mp__name { color: var(--br-wine); }
.br-mp__price { font-size: 15px; font-weight: 700; color: var(--br-wine); }
.br-mp__price s { margin-inline-start: 8px; color: var(--br-muted); font-weight: 400; font-size: 13.5px; }
.br-mp.is-skel { animation: none; pointer-events: none; }
.br-mp.is-skel .br-mp__img { animation: br-pulse 1.1s ease-in-out infinite alternate; }
.br-mp.is-skel .br-mp__name,
.br-mp.is-skel .br-mp__price { height: 12px; border-radius: 6px; background: var(--br-cream-2); }
.br-mp.is-skel .br-mp__name { width: 85%; }
.br-mp.is-skel .br-mp__price { width: 40%; }
@keyframes br-pulse { from { opacity: 1; } to { opacity: .55; } }

/* ---------- أيقونات الأقسام (بأسلوب هايلايت انستقرام برواز) ---------- */
[data-br-ico="book"] { --br-i: 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='M4 4.5A1.5 1.5 0 0 1 5.5 3H20v15H5.5A1.5 1.5 0 0 0 4 19.5z'/%3E%3Cpath d='M4 19.5A1.5 1.5 0 0 0 5.5 21H20v-3'/%3E%3Cpath d='M8.5 7.5h7'/%3E%3C/svg%3E"); }
[data-br-ico="bookmark"] { --br-i: 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='M7 3h10v18l-5-4-5 4z'/%3E%3Cpath d='M10 8h4'/%3E%3C/svg%3E"); }
[data-br-ico="frame"] { --br-i: 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%3Crect x='3' y='3' width='18' height='18' rx='1'/%3E%3Crect x='7' y='7' width='10' height='10'/%3E%3Cpath d='M3 3l4 4M21 3l-4 4M3 21l4-4M21 21l-4-4'/%3E%3C/svg%3E"); }
[data-br-ico="mug"] { --br-i: 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='M4 9h12v7a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4z'/%3E%3Cpath d='M16 11h1.5a2.5 2.5 0 0 1 0 5H16'/%3E%3Cpath d='M8 3c0 1.5 1 1.5 1 3M12 3c0 1.5 1 1.5 1 3'/%3E%3C/svg%3E"); }
[data-br-ico="car"] { --br-i: 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='M3 13l2.2-6h13.6L21 13v5H3z'/%3E%3Cpath d='M3 13h18'/%3E%3Ccircle cx='7.5' cy='15.6' r='1.1'/%3E%3Ccircle cx='16.5' cy='15.6' r='1.1'/%3E%3Cpath d='M5.5 18v2.5M18.5 18v2.5'/%3E%3C/svg%3E"); }
[data-br-ico="pin"] { --br-i: 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%3Ccircle cx='12' cy='9.5' r='6'/%3E%3Cpath d='m12 6.6.9 1.9 2.1.3-1.5 1.5.4 2.1-1.9-1-1.9 1 .4-2.1-1.5-1.5 2.1-.3z'/%3E%3Cpath d='M9.2 14.8 8 21l4-2 4 2-1.2-6.2'/%3E%3C/svg%3E"); }
[data-br-ico="socks"] { --br-i: 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='M9 3h6v8.5l3.4 3.4a3 3 0 0 1-4.2 4.3L9 14z'/%3E%3Cpath d='M9 6.5h6'/%3E%3C/svg%3E"); }
[data-br-ico="letter"] { --br-i: 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%3Crect x='3' y='5' width='18' height='14' rx='1.5'/%3E%3Cpath d='m3.5 6.5 8.5 6 8.5-6'/%3E%3Ccircle cx='12' cy='13' r='2.4' fill='black' stroke='none'/%3E%3C/svg%3E"); }
[data-br-ico="music"] { --br-i: 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='M9 18V5.5l11-2.5v13'/%3E%3Ccircle cx='6.5' cy='18' r='2.5'/%3E%3Ccircle cx='17.5' cy='16' r='2.5'/%3E%3C/svg%3E"); }
[data-br-ico="cassette"] { --br-i: 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%3Crect x='2.5' y='5' width='19' height='14' rx='2'/%3E%3Ccircle cx='8.5' cy='11' r='2'/%3E%3Ccircle cx='15.5' cy='11' r='2'/%3E%3Cpath d='M10.5 11h3'/%3E%3Cpath d='M6.5 19l1.5-3h8l1.5 3'/%3E%3C/svg%3E"); }
[data-br-ico="mic"] { --br-i: 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%3Crect x='9' y='2.5' width='6' height='11' rx='3'/%3E%3Cpath d='M5.5 11a6.5 6.5 0 0 0 13 0'/%3E%3Cpath d='M12 17.5V21M8.5 21h7'/%3E%3C/svg%3E"); }
[data-br-ico="print"] { --br-i: 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='M7 8V3h10v5'/%3E%3Crect x='3' y='8' width='18' height='9' rx='1.5'/%3E%3Cpath d='M7 14h10v7H7z'/%3E%3Cpath d='M17 11h.01'/%3E%3C/svg%3E"); }
[data-br-ico="more"] { --br-i: 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%3Crect x='4' y='4' width='6.5' height='6.5' rx='1.5'/%3E%3Crect x='13.5' y='4' width='6.5' height='6.5' rx='1.5'/%3E%3Crect x='4' y='13.5' width='6.5' height='6.5' rx='1.5'/%3E%3Crect x='13.5' y='13.5' width='6.5' height='6.5' rx='1.5'/%3E%3C/svg%3E"); }
[data-br-ico="diamond"] { --br-i: 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='M12 3.5 20.5 12 12 20.5 3.5 12z'/%3E%3C/svg%3E"); }

/* سطح المكتب: أيقونة صغيرة قبل اسم القسم */
.br-desknav__link[data-br-ico]::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background: currentColor;
  opacity: .8;
  -webkit-mask: var(--br-i) center / contain no-repeat;
  mask: var(--br-i) center / contain no-repeat;
  transition: transform .4s var(--br-ease), opacity .2s;
}
.br-desknav__link:hover::before,
.br-desknav__link[aria-expanded="true"]::before { opacity: 1; transform: translateY(-2px) rotate(-8deg); }

/* دوائر الأقسام: لوحة «المزيد» + القائمة الجانبية في الجوال + الروابط السريعة */
.br-mega__tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 24px 16px; max-width: 880px; margin-inline: auto; }
.site-nav-drawer__list[data-br-tiles] { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 8px; padding-top: 22px !important; }
.br-tile,
[data-br-tiles] .site-nav-drawer__link {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 6px 2px !important;
  background: transparent !important;
  border: 0 !important;
  color: var(--br-ink) !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color .2s, transform .3s var(--br-ease);
}
.br-tile::before,
[data-br-tiles] .site-nav-drawer__link::before {
  content: "";
  flex: none;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--br-cream-2);
  outline: 2px solid var(--br-wine);
  outline-offset: 3px;
  transition: outline-color .3s, outline-offset .4s var(--br-ease), background .3s;
}
.br-tile::after,
[data-br-tiles] .site-nav-drawer__link::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 50%;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  background: var(--br-wine);
  -webkit-mask: var(--br-i) center / contain no-repeat;
  mask: var(--br-i) center / contain no-repeat;
  transition: transform .45s var(--br-ease), background .3s;
}
[data-br-tiles] .site-nav-drawer__link > span { flex: none; }
[data-br-tiles] .site-nav-drawer__chevron { display: none; }
.br-tile:hover,
[data-br-tiles] .site-nav-drawer__link:hover { color: var(--br-wine) !important; }
.br-tile:hover::before,
[data-br-tiles] .site-nav-drawer__link:hover::before { outline-color: var(--br-gold-ink); outline-offset: 5px; background: var(--br-wine); }
.br-tile:hover::after,
[data-br-tiles] .site-nav-drawer__link:hover::after { background: var(--br-gold); transform: rotate(-8deg) scale(1.08); }
.br-tile:active,
[data-br-tiles] .site-nav-drawer__link:active { transform: scale(.95); }

/* شارة القسم في اللوحة المنسدلة */
.br-mega__badge {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--br-cream-2);
  outline: 2px solid var(--br-wine);
  outline-offset: 3px;
}
.br-mega__badge::after {
  content: "";
  position: absolute;
  inset: 14px;
  background: var(--br-wine);
  -webkit-mask: var(--br-i) center / contain no-repeat;
  mask: var(--br-i) center / contain no-repeat;
}

/* ---------- القائمة الجانبية ---------- */
.site-nav-drawer__backdrop { background: rgba(43, 20, 25, .55) !important; }
.site-nav-drawer { background: var(--br-cream) !important; }
.site-nav-drawer__head { background: var(--br-wine) !important; color: var(--br-cream); padding-block: 14px !important; }
.site-nav-drawer__head svg { color: var(--br-cream); }
.site-nav-drawer__brand { width: 76px; background: var(--br-cream); }
.site-nav-drawer__brand img { display: none !important; }
.site-nav-drawer__close,
.site-nav-drawer__back { color: var(--br-cream) !important; background: var(--br-wine-tone) !important; border-radius: 999px !important; transition: background .2s; }
.site-nav-drawer__close:hover,
.site-nav-drawer__back:hover { background: var(--br-wine-deep) !important; }
.site-nav-drawer__list { display: flex !important; flex-direction: column; gap: 2px; padding: 12px 16px !important; }
.site-nav-drawer__link {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 15px 14px !important;
  border-radius: 14px;
  background: transparent;
  color: var(--br-ink) !important;
  font-weight: 600 !important;
  font-size: 16.5px !important;
  text-align: start;
  transition: background .2s, color .2s, transform .3s var(--br-ease);
}
.site-nav-drawer__link > span { flex: 1; }
.site-nav-drawer__link:hover,
.site-nav-drawer__link:focus-visible { background: var(--br-cream-2); color: var(--br-wine) !important; }
.site-nav-drawer__link:active { transform: scale(.98); }
.site-nav-drawer__chevron { color: var(--br-wine); }
.site-nav-drawer__foot { background: var(--br-cream-2); }

/* ---------- عناوين الأقسام ---------- */
.s-block__title h2,
.s-slider-block__title h2,
.s-testimonials__title,
.s-block > h2 {
  font-family: var(--br-display) !important;
  font-weight: 700 !important;
  font-size: clamp(34px, 4.2vw, 64px) !important;
  line-height: 1.08 !important;
  color: var(--br-wine) !important;
}
.s-block__title, .s-slider-block__title { margin-bottom: clamp(20px, 2.4vw, 36px) !important; }
.s-block__title p, .s-slider-block__title p { color: var(--br-ink-2) !important; font-size: 16px; }

/* ---------- السلايدر ---------- */
.swiper-pagination-bullet { width: 8px !important; height: 8px !important; background: var(--br-cream) !important; opacity: .65 !important; border-radius: 8px !important; transition: width .35s var(--br-ease), opacity .2s, background .2s; }
.swiper-pagination-bullet-active { width: 28px !important; opacity: 1 !important; background: var(--br-wine) !important; }
.s-slider-block__title-nav button,
.s-slider-nav-arrow {
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--br-cream-2) !important;
  color: var(--br-wine) !important;
  box-shadow: none !important; /* taste-skill-ignore: إزالة ظل الثيم */
  transition: background .2s, color .2s, transform .2s var(--br-ease);
}
.s-slider-block__title-nav button:hover:not(:disabled),
.s-slider-nav-arrow:hover { background: var(--br-wine) !important; color: var(--br-gold) !important; }
.s-slider-block__title-nav button:active:not(:disabled) { transform: scale(.94); }

/* ---------- الروابط السريعة: طوابع بريد بحواف مثقّبة ----------
   كل رابط طابع بريدي بألوان برواز الثلاثة؛ يميل ويرتفع عند المرور كأنك تلتقطه */
.s-block--main-links { padding-block: clamp(36px, 5vw, 72px) !important; }
.slide--cat-entry { display: flex !important; flex-direction: column; align-items: center; gap: 14px; text-align: center; text-decoration: none; padding-top: 8px; }
.slide--cat-entry__media {
  --st-r: 4px;
  --st-bg: var(--br-wine);
  --st-ink: var(--br-gold);
  display: grid !important;
  place-items: center;
  width: clamp(88px, 8.6vw, 128px) !important;
  height: auto !important;
  aspect-ratio: 4 / 5;
  padding: calc(var(--st-r) * 2.6);
  border-radius: 0 !important;
  background: var(--st-bg) !important;
  box-shadow: none !important; /* taste-skill-ignore: إزالة ظل الثيم */
  overflow: hidden;
  -webkit-mask: radial-gradient(var(--st-r), #0000 97%, #000) round calc(var(--st-r) * -1.5) calc(var(--st-r) * -1.5) / calc(var(--st-r) * 3) calc(var(--st-r) * 3), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - var(--st-r) * 3) calc(100% - var(--st-r) * 3); /* taste-skill-ignore: قناع حواف الطابع وليس تدرّجًا ظاهرًا */
  mask: radial-gradient(var(--st-r), #0000 97%, #000) round calc(var(--st-r) * -1.5) calc(var(--st-r) * -1.5) / calc(var(--st-r) * 3) calc(var(--st-r) * 3), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - var(--st-r) * 3) calc(100% - var(--st-r) * 3); /* taste-skill-ignore: قناع حواف الطابع وليس تدرّجًا ظاهرًا */
  transition: rotate .5s var(--br-ease), translate .5s var(--br-ease), scale .5s var(--br-ease);
}
.s-block--main-links .swiper-slide:nth-child(3n+2) .slide--cat-entry__media { --st-bg: var(--br-gold); --st-ink: var(--br-wine); }
.s-block--main-links .swiper-slide:nth-child(3n+3) .slide--cat-entry__media { --st-bg: var(--br-cream-2); --st-ink: var(--br-wine); }
.slide--cat-entry__media i { color: var(--st-ink) !important; font-size: clamp(26px, 2.5vw, 36px) !important; transition: transform .5s var(--br-ease); }
.slide--cat-entry__media img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; }
.s-block--main-links .slide--cat-entry { border: 0 !important; background: transparent !important; }
/* مساحة داخل حاوية السلايدر حتى لا يُقص الطابع عند الميل والارتفاع */
.s-block--main-links .s-slider-container { padding-block: 22px !important; margin-block: -22px !important; }
/* قاعدة الثيم أعلى تحديدًا وكانت تلغي الانتقال فتقفز الحركة؛ هنا نعيده بتحديد أعلى */
.s-block--main-links .slide--cat-entry .slide--cat-entry__media {
  transition: rotate .7s cubic-bezier(.34, 1.4, .64, 1), translate .7s cubic-bezier(.34, 1.4, .64, 1), scale .7s cubic-bezier(.34, 1.4, .64, 1) !important;
  backface-visibility: hidden;
}
.s-block--main-links .slide--cat-entry .slide--cat-entry__media i { transition: transform .7s cubic-bezier(.34, 1.4, .64, 1) !important; }
@media (hover: hover) {
  .s-block--main-links .slide--cat-entry:hover .slide--cat-entry__media { rotate: -4deg; translate: 0 -8px; scale: 1.05; }
  .s-block--main-links .swiper-slide:nth-child(even) .slide--cat-entry:hover .slide--cat-entry__media { rotate: 4deg; }
  .s-block--main-links .slide--cat-entry:hover .slide--cat-entry__media i { transform: scale(1.12); }
}
.s-block--main-links .slide--cat-entry:active .slide--cat-entry__media { scale: .96; }
.slide--cat-entry h2 { font-size: clamp(13.5px, 1vw, 15px) !important; font-weight: 600 !important; color: var(--br-ink) !important; line-height: 1.4 !important; transition: color .2s; }
.slide--cat-entry:hover h2 { color: var(--br-wine) !important; }

/* ---------- البنرات: الصورة داخل إطار كريمي يضيق عند المرور ---------- */
.enhanced-square-banner,
.banner-entry,
.s-block--banners a {
  position: relative;
  border-radius: 0 !important;
  overflow: hidden;
  outline: var(--br-mat) solid var(--br-cream);
  outline-offset: calc(var(--br-mat) * -1);
  transition: outline-width .5s var(--br-ease), outline-offset .5s var(--br-ease);
}
.enhanced-square-banner:hover,
.banner-entry:hover,
.s-block--banners a:hover { outline-width: 4px; outline-offset: -4px; }
.enhanced-square-banner__title { font-family: var(--br-display) !important; font-weight: 700 !important; font-size: clamp(24px, 2.6vw, 38px) !important; }

/* ---------- بطاقات المنتجات: بلا صندوق، والصورة داخل إطار ---------- */
.s-product-card-entry {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important; /* taste-skill-ignore: إزالة ظل الثيم */
  overflow: visible;
}
.s-product-card-image {
  position: relative;
  overflow: hidden;
  border-radius: 0 !important;
  background: var(--br-cream-2);
  outline: var(--br-mat) solid var(--br-cream-2);
  outline-offset: calc(var(--br-mat) * -1);
  transition: outline-width .45s var(--br-ease), outline-offset .45s var(--br-ease);
}
.s-product-card-image img { transition: transform .9s var(--br-ease); }
@media (hover: hover) {
  .s-product-card-entry:hover .s-product-card-image { outline-width: 4px; outline-offset: -4px; }
  .s-product-card-entry:hover .s-product-card-image img { transform: scale(1.05); }
}
.s-product-card-promotion-title {
  background: var(--br-wine) !important;
  color: var(--br-gold) !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  border-radius: 999px !important;
  padding: 5px 12px !important;
  box-shadow: none !important; /* taste-skill-ignore: إزالة ظل الثيم */
}
.s-product-card-wishlist-btn,
.s-product-card-wishlist-btn .s-button-element {
  background: var(--br-cream) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important; /* taste-skill-ignore: إزالة ظل الثيم */
  transition: transform .25s var(--br-ease), background .2s;
}
.s-product-card-wishlist-btn:hover { transform: scale(1.08); }
.s-product-card-wishlist-btn .sicon-heart { color: var(--br-wine); }
.s-product-card-content { padding: 16px 2px 0 !important; }
.s-product-card-content-title,
.s-product-card-content-title a {
  font-weight: 700 !important;
  font-size: clamp(15px, 1.1vw, 17px) !important;
  line-height: 1.5 !important;
  color: var(--br-ink) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.s-product-card-content-subtitle { font-size: 14px !important; color: var(--br-muted) !important; opacity: 1 !important; }
.s-product-card-price, .s-product-card-sale-price h4 { color: var(--br-wine) !important; font-weight: 800 !important; font-size: clamp(16px, 1.2vw, 18px) !important; }
.s-product-card-sale-price span { color: var(--br-muted) !important; }
.s-product-card-entry salla-add-product-button .s-button-element,
.s-product-card-content-footer .s-button-element {
  min-height: 46px;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--br-wine) !important;
  color: var(--br-gold) !important;
  font-weight: 700 !important;
  box-shadow: none !important; /* taste-skill-ignore: إزالة ظل الثيم */
  transition: background .25s, transform .2s var(--br-ease);
}
.s-product-card-entry salla-add-product-button .s-button-element:hover,
.s-product-card-content-footer .s-button-element:hover { background: var(--br-wine-deep) !important; }
.s-product-card-entry salla-add-product-button .s-button-element:active { transform: scale(.97); }
.s-products-list-vertical-cards { gap: clamp(28px, 3vw, 44px) var(--br-gap) !important; }

/* أزرار عامة */
.s-button-primary, .btn--primary, .s-button-btn.s-button-solid { border-radius: 999px !important; box-shadow: none !important; } /* taste-skill-ignore: إزالة ظل الثيم */

/* إخفاء الأقسام الفارغة */
section.s-block:has(.s-products-list-placeholder):not(:has(.s-product-card-entry)) { display: none !important; }

/* ---------- آراء العملاء: رسائل من العملاء ----------
   كل رأي ظرف كريمي بحافة بريد جوي وختم شمع نبيذي؛ مائلة قليلًا كرسائل على طاولة وتستقيم عند المرور */
.s-block--full-bg { background: var(--br-cream-2) !important; }
.s-block--custom-testimonials { padding-block: clamp(64px, 8vw, 128px) !important; }
.s-block--custom-testimonials .scroll-carousel__head { align-items: flex-end; gap: 16px; margin-bottom: clamp(24px, 3vw, 44px); }
.s-block--custom-testimonials .s-testimonials__title { margin: 0; }
.s-block--custom-testimonials .scroll-carousel__nav { gap: 10px; align-items: center; }
.s-block--custom-testimonials .scroll-carousel__count { color: var(--br-ink-2); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; margin-inline-end: 6px; }
.s-block--custom-testimonials .scroll-carousel__nav button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--br-wine) !important;
  color: var(--br-gold) !important;
  transition: background .2s, opacity .2s, transform .2s var(--br-ease);
}
.s-block--custom-testimonials .scroll-carousel__nav button svg { fill: currentColor; color: currentColor; }
.s-block--custom-testimonials .scroll-carousel__nav button:hover:not(:disabled) { background: var(--br-wine-deep) !important; }
.s-block--custom-testimonials .scroll-carousel__nav button:active:not(:disabled) { transform: scale(.92); }
.s-block--custom-testimonials .scroll-carousel__nav button:disabled { opacity: .3; }
.s-block--custom-testimonials .scroll-carousel__track {
  gap: clamp(16px, 2vw, 32px) !important;
  padding: 18px 4px 28px !important;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
}
.testimonial-card {
  position: relative;
  display: flex !important;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  padding: clamp(30px, 2.6vw, 40px) clamp(22px, 2.2vw, 34px) clamp(24px, 2.2vw, 32px) !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #FFFCF7 !important;
  box-shadow: none !important; /* taste-skill-ignore: إزالة ظل الثيم */
  rotate: -.8deg;
  transition: rotate .5s var(--br-ease), translate .5s var(--br-ease), background .3s;
}
.testimonial-card:nth-child(even) { rotate: .7deg; }
.testimonial-card:nth-child(3n) { rotate: -.4deg; }
.testimonial-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 7px; background: var(--br-airmail); }
.br-js .testimonial-card.br-reveal { transition: opacity .8s var(--br-ease), transform .8s var(--br-ease), rotate .5s var(--br-ease), translate .5s var(--br-ease), background .3s; }
@media (hover: hover) {
  .testimonial-card:hover { rotate: 0deg; translate: 0 -6px; background: #FFFFFF !important; }
}
.testimonial-card__head { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; }
.testimonial-card__head > svg {
  flex: none;
  width: 46px !important;
  height: 46px !important;
  padding: 12px;
  border-radius: 50%;
  background: var(--br-wine);
  color: var(--br-gold) !important;
  fill: currentColor !important;
  outline: 2px solid var(--br-wine);
  outline-offset: 3px;
}
.testimonial-card__stars { gap: 3px; }
.testimonial-card__stars svg { width: 17px !important; height: 17px !important; color: var(--br-gold-ink) !important; fill: currentColor !important; }
.testimonial-card__text {
  margin: 0 !important;
  font-family: var(--br-display) !important;
  font-weight: 500 !important;
  font-size: clamp(19px, 1.45vw, 23px) !important;
  line-height: 1.65 !important;
  color: var(--br-ink) !important;
}
.testimonial-card__person { display: flex !important; align-items: center; gap: 12px; margin-top: auto !important; padding-top: 6px; }
.testimonial-card__avatar { width: 42px !important; height: 42px !important; border-radius: 50% !important; object-fit: cover; outline: 2px solid var(--br-cream-2); outline-offset: 2px; }
.testimonial-card__name { font-size: 15.5px !important; font-weight: 700 !important; color: var(--br-wine) !important; }
.testimonial-card__name::before { content: "— "; color: var(--br-gold-ink); }
/* الآراء الحقيقية من المتجر تحل محل الآراء التجريبية */
.br-js .s-block--custom-testimonials .testimonial-card:not(.br-real),
.s-block--custom-testimonials[data-br-reviews="ready"] .scroll-carousel__count,
.s-block--custom-testimonials[data-br-reviews="ready"] .scroll-carousel > :not(.scroll-carousel__head):not(.scroll-carousel__track) { display: none !important; }
.br-rv-seal {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--br-cream-2);
  color: var(--br-wine);
  font: 700 19px/1 var(--br-display);
  outline: 2px solid var(--br-cream-2);
  outline-offset: 2px;
}
.testimonial-card:nth-child(even) .br-rv-seal { background: var(--br-gold); outline-color: var(--br-gold); }
@media (max-width: 1023.98px) {
  .testimonial-card { flex-basis: calc(50% - 12px) !important; }
}
@media (max-width: 640px) {
  .s-block--custom-testimonials .scroll-carousel__head { flex-wrap: wrap; }
  .s-block--custom-testimonials .scroll-carousel__track {
    margin-inline: -16px;
    padding-inline: 16px !important;
    scroll-padding-inline: 16px;
  }
  .testimonial-card { flex-basis: 84% !important; rotate: 0deg !important; }
  .testimonial-card__text { font-size: 19px !important; }
  .s-block--custom-testimonials .scroll-carousel__nav button { width: 44px; height: 44px; }
}

/* ---------- الفوتر: يُختم باسم brwaz بعرض الصفحة ---------- */
footer.store-footer {
  position: relative;
  overflow: hidden;
  background: var(--br-wine) !important;
  color: rgba(252, 247, 240, .82) !important;
  margin-top: 0 !important;
  padding-bottom: 20px;
}
footer.store-footer::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 6px; background: var(--br-airmail); z-index: 2; }
footer.store-footer::after {
  content: "";
  position: absolute;
  inset-inline-end: -3%;
  bottom: -10%;
  width: min(56vw, 620px);
  aspect-ratio: 379 / 234;
  background: var(--br-cream);
  opacity: .05;
  -webkit-mask: var(--br-logo) center / contain no-repeat;
  mask: var(--br-logo) center / contain no-repeat;
  pointer-events: none;
}
footer.store-footer > * { position: relative; z-index: 1; }
footer.store-footer .store-footer__inner { padding-block: clamp(32px, 4vw, 52px) clamp(20px, 2.5vw, 32px) !important; }
footer.store-footer .store-footer__inner > .container { gap: 24px clamp(24px, 4vw, 64px) !important; }
footer.store-footer .store-footer__desc { margin-block: 12px 14px !important; max-width: 34ch; }
footer.store-footer .store-footer__links h3,
footer.store-footer .store-footer__contact-list h3,
footer.store-footer .s-contacts-title { margin-bottom: 10px !important; }
footer.store-footer :is(p, span, li, a, div, b, small) { color: inherit !important; }
footer.store-footer :is(h2, h3, h4, .s-contacts-title) { color: var(--br-gold) !important; font-family: var(--br-display) !important; font-weight: 700 !important; font-size: clamp(19px, 1.5vw, 22px) !important; }
footer.store-footer a { transition: color .2s; text-decoration: none; }
footer.store-footer a:hover { color: var(--br-gold) !important; }
footer.store-footer .store-footer__logo {
  width: clamp(96px, 8vw, 120px);
  background: var(--br-cream);
  -webkit-mask-position: right center;
  mask-position: right center;
}
footer.store-footer .store-footer__desc { font-size: 15px; }
footer.store-footer .store-footer__logo img { display: none !important; }
footer.store-footer .store-footer__inner,
footer.store-footer .store-footer__bottom,
footer.store-footer .border-b, /* taste-skill-ignore: إخفاء خطوط الثيم */
footer.store-footer .border-t { border-color: transparent !important; } /* taste-skill-ignore: إخفاء خطوط الثيم */
footer.store-footer .store-footer__bottom { padding-block: 12px !important; background: var(--br-wine-deep); border-radius: 999px; padding-inline: 22px !important; }
footer.store-footer .s-contacts-icon,
footer.store-footer .s-social-link,
footer.store-footer .s-social-list a {
  background: var(--br-wine-tone) !important;
  border-color: transparent !important;
  color: var(--br-cream) !important;
  border-radius: 999px !important;
  transition: background .2s, color .2s;
}
footer.store-footer .s-social-list a:hover { background: var(--br-gold) !important; color: var(--br-wine) !important; }
footer.store-footer svg { color: currentColor; fill: currentColor; }
footer.store-footer .s-trust-badges-content { color: var(--br-cream) !important; }

/* ---------- شريط التنقل السفلي للجوال (الأصلي في رائد) مثبت أسفل الشاشة بهوية برواز ---------- */
.mobile-bottom-bar-scrim { display: none !important; }
.mobile-bottom-bar__inner {
  background: var(--br-wine) !important;
  border: 0 !important;
  box-shadow: none !important; /* taste-skill-ignore: إزالة ظل الثيم */
  -webkit-backdrop-filter: none !important; /* taste-skill-ignore: إزالة ضبابية الثيم */
  backdrop-filter: none !important; /* taste-skill-ignore: إزالة ضبابية الثيم */
}
.mobile-bottom-bar__item { color: rgba(252, 247, 240, .78) !important; transition: background .25s, color .25s, transform .2s var(--br-ease); }
/* زر القائمة: دائرة مستقلة بأيقونة برجر على اليمين، وبقية الأزرار في شريطها */
.mobile-bottom-bar__inner:has([data-br-menu]) {
  position: relative;
  isolation: isolate;
  background: transparent !important;
  height: 58px;
  padding: 0 !important;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.mobile-bottom-bar__inner:has([data-br-menu])::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 68px;
  inset-inline-end: 0;
  z-index: -1;
  border-radius: 999px;
  background: var(--br-wine);
}
.mobile-bottom-bar__inner:has([data-br-menu]) > :last-child { margin-inline-end: 10px; }
.mobile-bottom-bar__item[data-br-menu] {
  order: -1;
  flex: 0 0 58px !important;
  width: 58px !important;
  height: 58px !important;
  margin-inline-end: 10px;
  padding: 0 !important;
  display: grid !important;
  place-items: center;
  border-radius: 50% !important;
  background: var(--br-gold) !important;
  color: var(--br-wine) !important;
}
.mobile-bottom-bar__item[data-br-menu] .mobile-bottom-bar__label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mobile-bottom-bar__item[data-br-menu] .mobile-bottom-bar__icon { display: grid; place-items: center; }
.mobile-bottom-bar__item[data-br-menu] .mobile-bottom-bar__icon svg { display: none !important; }
.mobile-bottom-bar__item[data-br-menu] .mobile-bottom-bar__icon::before {
  content: "";
  width: 24px;
  height: 24px;
  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='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h10'/%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='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mobile-bottom-bar__item:active { transform: scale(.94); }
.mobile-bottom-bar__item.is-active { background: var(--br-gold) !important; color: var(--br-wine) !important; }
.mobile-bottom-bar__item svg { color: currentColor; }

/* ---------- زر العودة للأعلى ---------- */
.br-top {
  position: fixed;
  inset-inline-end: clamp(14px, 2vw, 28px);
  bottom: clamp(16px, 2.5vw, 30px);
  z-index: 55;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--br-wine);
  color: var(--br-gold);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px) scale(.9);
  pointer-events: none;
  transition: opacity .3s, transform .4s var(--br-ease), background .2s;
}
.br-top svg { width: 20px; height: 20px; }
.br-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.br-top:hover { background: var(--br-wine-deep); }
@media (max-width: 1023.98px) { .br-top { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; } }

/* ---------- الظهور عند التمرير ---------- */
@keyframes br-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.br-js .br-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--br-ease), transform .5s var(--br-ease); transition-delay: var(--br-d, 0ms); }
.br-js .br-reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   الصفحة الرئيسية: أقسام المتجر الحقيقية + فصول المنتجات (تُبنى بالـ JS)
   ===================================================================== */
.br-has-cats .s-block--main-links,
.s-block--enhanced-square-banners[data-br-demo] { display: none !important; }

.br-cats__title,
.br-ch__title {
  margin: 0;
  font: 700 clamp(30px, 3.2vw, 48px)/1.15 var(--br-display);
  color: var(--br-wine);
  letter-spacing: -.005em;
}

/* قاعدة body :is(h2…) ترث خط النص وتغلب الكلاس، فنثبّت خط ثمانية لعناوين الأقسام */
:is(.br-cats__title, .br-ch__title, .br-perk__title, .br-mega__title) { font-family: var(--br-display) !important; }
/* حروف السواش من ثمانية (ss01 + swsh) للعناوين الكبيرة */
:is(.br-cats__title, .br-ch__title, .br-mega__title, .s-block__title h2, .s-slider-block__title h2, .s-testimonials__title, .s-block > h2, .enhanced-square-banner__title) { font-feature-settings: "ss01" 1, "swsh" 1; }

/* ---------- الأقسام: طوابع بريد ---------- */
.br-cats { padding-block: clamp(44px, 5vw, 76px) clamp(20px, 2.5vw, 36px); }
.br-cats__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(10px, 1.4vw, 18px); }
.br-cats__grid {
  list-style: none;
  margin: 0;
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 30px) clamp(14px, 2vw, 28px);
}
.br-cats__grid > li { flex: 0 0 auto; }
.br-cats__grid > li[hidden] { display: none; }
.br-cats__grid > li.is-shown { animation: br-in .5s var(--br-ease) both; animation-delay: calc(var(--i, 0) * 55ms); }

.br-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: clamp(92px, 8.6vw, 124px);
  padding: 0;
  border: 0;
  background: none;
  color: var(--br-ink);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.br-stamp__media {
  --st-r: 4px;
  --st-bg: var(--br-wine);
  --st-ink: var(--br-gold);
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--st-bg);
  -webkit-mask: radial-gradient(var(--st-r), #0000 97%, #000) round calc(var(--st-r) * -1.5) calc(var(--st-r) * -1.5) / calc(var(--st-r) * 3) calc(var(--st-r) * 3), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - var(--st-r) * 3) calc(100% - var(--st-r) * 3); /* taste-skill-ignore: قناع حواف الطابع وليس تدرّجًا ظاهرًا */
  mask: radial-gradient(var(--st-r), #0000 97%, #000) round calc(var(--st-r) * -1.5) calc(var(--st-r) * -1.5) / calc(var(--st-r) * 3) calc(var(--st-r) * 3), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - var(--st-r) * 3) calc(100% - var(--st-r) * 3); /* taste-skill-ignore: قناع حواف الطابع وليس تدرّجًا ظاهرًا */
  transition: rotate .7s cubic-bezier(.34, 1.4, .64, 1), translate .7s cubic-bezier(.34, 1.4, .64, 1), scale .7s cubic-bezier(.34, 1.4, .64, 1);
  backface-visibility: hidden;
}
.br-stamp__media::before {
  content: "";
  width: 38%;
  aspect-ratio: 1;
  background: var(--st-ink);
  -webkit-mask: var(--br-i) center / contain no-repeat;
  mask: var(--br-i) center / contain no-repeat;
  transition: scale .7s cubic-bezier(.34, 1.4, .64, 1), rotate .5s var(--br-ease);
}
.br-cats__grid > li:nth-child(3n+2) .br-stamp__media { --st-bg: var(--br-gold); --st-ink: var(--br-wine); }
.br-cats__grid > li:nth-child(3n+3) .br-stamp__media { --st-bg: var(--br-cream-2); --st-ink: var(--br-wine); }
.br-stamp__name { font: 600 clamp(13.5px, 1vw, 15px)/1.4 var(--br-body); text-align: center; transition: color .2s; }
@media (hover: hover) {
  .br-stamp:hover .br-stamp__media { rotate: -4deg; translate: 0 -8px; scale: 1.05; }
  .br-cats__grid > li:nth-child(even) .br-stamp:hover .br-stamp__media { rotate: 4deg; }
  .br-stamp:hover .br-stamp__media::before { scale: 1.12; }
  .br-stamp:hover .br-stamp__name { color: var(--br-wine); }
}
.br-stamp:active .br-stamp__media { scale: .96; }

/* طابع «كل الأقسام» */
.br-cats__grid > li .br-stamp--all .br-stamp__media { --st-bg: var(--br-cream-2); --st-ink: var(--br-wine); outline: 1.5px dashed var(--br-wine); outline-offset: -11px; }
.br-stamp--all .br-stamp__media::before { width: 30%; --br-i: 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'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E"); }
.br-stamp--all[aria-expanded="true"] .br-stamp__media::before { rotate: 45deg; }
.br-stamp--all .br-stamp__name { color: var(--br-wine); }

/* ---------- فصول المنتجات ---------- */
.br-ch { padding-block: clamp(36px, 4.5vw, 64px); }
.br-ch__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(18px, 2vw, 28px); }
.br-ch__tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.br-ch__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1.5px solid var(--br-wine);
  border-radius: 999px;
  color: var(--br-wine);
  font: 600 14px/1 var(--br-body);
  text-decoration: none;
  white-space: nowrap;
  transition: background .25s, color .25s, scale .2s;
}
.br-ch__all svg { width: 16px; height: 16px; transition: translate .3s var(--br-ease); }
.br-ch__all:hover { background: var(--br-wine); color: var(--br-gold); }
.br-ch__all:hover svg { translate: -4px 0; }
.br-ch__all:active { scale: .97; }
.br-ch__nav {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--br-cream-2);
  color: var(--br-wine);
  cursor: pointer;
  transition: background .2s, color .2s, opacity .2s, scale .2s;
}
.br-ch__nav svg { width: 20px; height: 20px; }
.br-ch__nav:hover:not(:disabled) { background: var(--br-wine); color: var(--br-gold); }
.br-ch__nav:active:not(:disabled) { scale: .92; }
.br-ch__nav:disabled { opacity: .35; cursor: default; }

.br-ch__track {
  --gap: clamp(16px, 1.8vw, 26px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--gap) * 4) / 4.35);
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.br-ch__track::-webkit-scrollbar { display: none; }

.br-pc { display: flex; flex-direction: column; gap: 10px; min-width: 0; scroll-snap-align: start; animation: br-in .5s var(--br-ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
/* البطاقة كلها تفتح المنتج (كان الضغط على مساحة السعر لا يفعل شيئًا)، وزر السلة فوقها */
.br-pc { position: relative; }
.br-pc__name::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.br-pc__add { z-index: 2; }
.br-pc__media { position: relative; }
.br-pc__img {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--br-cream-2);
  outline: var(--br-mat) solid var(--br-cream-2);
  outline-offset: calc(var(--br-mat) * -1);
  transition: outline-width .45s var(--br-ease), outline-offset .45s var(--br-ease);
}
.br-pc__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--br-ease); }
.br-pc:hover .br-pc__img { outline-width: 4px; outline-offset: -4px; }
.br-pc:hover .br-pc__img img { transform: scale(1.06); }
.br-pc__tag {
  position: absolute;
  inset-block-start: calc(var(--br-mat) + 6px);
  inset-inline-end: calc(var(--br-mat) + 6px);
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--br-gold);
  color: var(--br-wine);
  font: 600 12px/1 var(--br-body);
  pointer-events: none;
}
.br-pc.is-out .br-pc__tag { background: var(--br-cream); color: var(--br-muted); }
.br-pc.is-out .br-pc__img img { opacity: .6; }
.br-pc__add {
  position: absolute;
  inset-block-end: calc(var(--br-mat) + 6px);
  inset-inline-start: calc(var(--br-mat) + 6px);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--br-wine);
  color: var(--br-gold);
  cursor: pointer;
  opacity: 0;
  translate: 0 6px;
  transition: opacity .3s, translate .35s var(--br-ease), background .2s, color .2s, scale .2s;
}
.br-pc__add svg { width: 20px; height: 20px; }
.br-pc:hover .br-pc__add,
.br-pc__add:focus-visible,
.br-pc__add.is-busy,
.br-pc__add.is-done { opacity: 1; translate: 0 0; }
.br-pc__add:active { scale: .92; }
.br-pc__add.is-busy { pointer-events: none; opacity: .7; }
.br-pc__add.is-done { background: var(--br-gold); color: var(--br-wine); }
@media (hover: none) { .br-pc__add { opacity: 1; translate: 0 0; width: 38px; height: 38px; } }
.br-pc__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
  color: var(--br-ink);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  transition: color .2s;
}
.br-pc:hover .br-pc__name { color: var(--br-wine); }
.br-pc__price { font-size: 15px; font-weight: 700; color: var(--br-wine); }
.br-pc__price s { margin-inline-start: 8px; color: var(--br-muted); font-weight: 400; font-size: 13.5px; }
.br-pc.is-skel { animation: none; pointer-events: none; }
.br-pc.is-skel .br-pc__img { animation: br-pulse 1.1s ease-in-out infinite alternate; }
.br-pc.is-skel .br-pc__name,
.br-pc.is-skel .br-pc__price { display: block; min-height: 0; height: 12px; border-radius: 6px; background: var(--br-cream-2); }
.br-pc.is-skel .br-pc__name { width: 85%; }
.br-pc.is-skel .br-pc__price { width: 40%; }

/* فصل داكن (لوحات البرواز) */
.br-ch--dark { background: var(--br-wine); }
.br-ch--dark .br-ch__title { color: var(--br-gold); }
.br-ch--dark .br-ch__all { border-color: var(--br-gold); color: var(--br-gold); }
.br-ch--dark .br-ch__all:hover { background: var(--br-gold); color: var(--br-wine); }
.br-ch--dark .br-ch__nav { background: var(--br-wine-tone); color: var(--br-gold); }
.br-ch--dark .br-ch__nav:hover:not(:disabled) { background: var(--br-gold); color: var(--br-wine); }
.br-ch--dark .br-pc__img { background: var(--br-wine-tone); outline-color: var(--br-wine-tone); }
.br-ch--dark .br-pc__name { color: var(--br-cream); }
.br-ch--dark .br-pc:hover .br-pc__name { color: var(--br-gold); }
.br-ch--dark .br-pc__price { color: var(--br-gold); }
.br-ch--dark .br-pc__price s { color: rgba(252, 247, 240, .55); }
.br-ch--dark .br-pc__add { background: var(--br-gold); color: var(--br-wine); }
.br-ch--dark .br-pc.is-skel .br-pc__name,
.br-ch--dark .br-pc.is-skel .br-pc__price { background: var(--br-wine-tone); }

@media (max-width: 640px) {
  .br-cats__grid {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    margin-inline: -16px;
    padding-inline: 16px;
  }
  .br-cats__grid::-webkit-scrollbar { display: none; }
  .br-cats__grid > li { scroll-snap-align: start; }
  .br-stamp { width: 92px; }
  .br-ch__head { align-items: center; }
  .br-ch__nav { display: none; }
  .br-ch__all { padding: 9px 14px; font-size: 13px; }
  .br-ch__track {
    --gap: 14px;
    grid-auto-columns: calc((100% - var(--gap) * 2) / 2.2);
    margin-inline: -16px;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }
  .br-pc__name { font-size: 13.5px; }
  .br-pc__price { font-size: 14px; }
}

/* حقوق التصميم أسفل الفوتر */
footer.store-footer .br-credit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font: 400 13px/1 var(--br-body);
  color: rgba(252, 247, 240, .55) !important;
}
footer.store-footer .br-credit a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 2px;
  color: var(--br-gold) !important;
}
footer.store-footer .br-ol svg:first-child { width: auto; height: 22px; overflow: visible; }
.br-ol__mark { fill: var(--br-gold); transform-box: fill-box; transform-origin: 50% 50%; transition: fill .35s, rotate .7s cubic-bezier(.34, 1.4, .64, 1); }
.br-ol__word { fill: rgba(252, 247, 240, .82); transition: fill .3s; }
footer.store-footer .br-ol svg:last-child { width: 12px; height: 12px; opacity: .6; transition: translate .35s var(--br-ease), opacity .3s; }
footer.store-footer .br-ol:hover .br-ol__mark { fill: #F73713; rotate: 180deg; } /* taste-skill-ignore: لون شعار Outloud الأصلي */
footer.store-footer .br-ol:hover .br-ol__word { fill: var(--br-cream); }
footer.store-footer .br-ol:hover svg:last-child { translate: 2px -2px; opacity: 1; }

/* ---------- مسار التنقل (breadcrumb): كبسولة صغيرة بفواصل ماسية بدل الشريط ---------- */
nav.breadcrumbs {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 1280px !important;
  margin-inline: auto !important;
  padding: clamp(18px, 2.4vw, 28px) 10px 4px !important;
  background: transparent !important;
}
.s-breadcrumb-wrapper {
  display: inline-flex !important;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 5px !important;
  border-radius: 999px;
  background: var(--br-cream-2);
  font-size: 13.5px !important;
  overflow-x: auto;
  scrollbar-width: none;
}
.s-breadcrumb-wrapper::-webkit-scrollbar { display: none; }
.s-breadcrumb-item { display: inline-flex !important; align-items: center; flex-shrink: 0; gap: 2px; color: var(--br-muted) !important; }
.s-breadcrumb-item a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--br-muted) !important;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.s-breadcrumb-item a:hover { background: var(--br-cream); color: var(--br-wine) !important; }
.s-breadcrumb-item:first-child a::before {
  content: "";
  width: 15px;
  height: 15px;
  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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11 12 4l8 7'/%3E%3Cpath d='M6 9.5V20h12V9.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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11 12 4l8 7'/%3E%3Cpath d='M6 9.5V20h12V9.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.s-breadcrumb-arrow { display: inline-flex !important; align-items: center; justify-content: center; width: 14px; }
.s-breadcrumb-arrow svg { display: none !important; }
.s-breadcrumb-arrow::before { content: ""; width: 5px; height: 5px; background: var(--br-gold-ink); opacity: .7; rotate: 45deg; }
.s-breadcrumb-item:last-child > span {
  display: inline-block;
  max-width: 34ch;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--br-wine);
  color: var(--br-gold) !important;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- زر المفضلة بجانب «أضف إلى السلة» في بطاقات المنتجات ---------- */
.s-product-card-content-footer .s-button-element.s-button-icon {
  flex: 0 0 46px !important;
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: var(--br-cream-2) !important;
  color: var(--br-wine) !important;
}
.s-product-card-content-footer .s-button-element.s-button-icon i { color: currentColor !important; font-size: 18px; }
.s-product-card-content-footer .s-button-element.s-button-icon:hover { background: var(--br-wine) !important; color: var(--br-gold) !important; }

/* ---------- صفحة المنتج: بلا خلفيات بيضاء، كل شيء على ورق كريمي ---------- */
body.product-single h1 {
  font-family: var(--br-display) !important;
  font-weight: 700 !important;
  font-size: clamp(28px, 2.6vw, 40px) !important;
  line-height: 1.25 !important;
  color: var(--br-wine) !important;
}
body.product-single .price-wrapper .total-price,
body.product-single .price-bump__now { color: var(--br-wine) !important; font-size: clamp(22px, 1.8vw, 28px) !important; font-weight: 800 !important; }
body.product-single .before-price { color: var(--br-muted) !important; }

/* صورة المنتج: داخل إطار كريمي بدل الأبيض والحد الرمادي */
body.product-single .swiper.s-slider-container,
body.product-single .swiper.s-slider-container .swiper-slide { background: var(--br-cream-2) !important; border: 0 !important; border-radius: 22px !important; }

/* أزرار المشاركة والمفضلة */
body.product-single .s-button-light-outline {
  background: var(--br-cream-2) !important;
  border-color: transparent !important;
  color: var(--br-wine) !important;
  transition: background .2s, color .2s;
}
body.product-single .s-button-light-outline:hover { background: var(--br-wine) !important; color: var(--br-gold) !important; }

/* تمارا وتابي: لوحات كريمية بدل البطاقات البيضاء */
body.product-single .tamara-product-widget,
body.product-single #tabbyPromoWrapper,
body.product-single #tabbyPromoWrapper > *,
body.product-single [id^="tabby"] [class*="container"] {
  background: var(--br-cream-2) !important;
  border-color: transparent !important;
  border-radius: 18px !important;
  box-shadow: none !important; /* taste-skill-ignore: إزالة ظل الودجت */
}

/* خيارات المنتج والحقول */
body.product-single salla-product-options,
body.product-single .s-product-options-wrapper,
body.product-single salla-conditional-fields { background: transparent !important; }
body.product-single .s-product-options-option-label,
body.product-single salla-product-options label { color: var(--br-ink) !important; font-weight: 700 !important; }
body.product-single .s-form-control {
  background-color: var(--br-cream) !important;
  border: 1.5px solid var(--br-cream-2) !important;
  border-radius: 16px !important;
  color: var(--br-ink) !important;
  transition: border-color .2s, box-shadow .2s;
}
body.product-single .s-form-control:focus { border-color: var(--br-wine) !important; box-shadow: 0 0 0 4px rgba(89, 26, 45, .08) !important; outline: none !important; } /* taste-skill-ignore: حلقة تركيز للحقل */

/* شريط الشراء: كريمي (يبقى له لون على الجوال لأنه يلتصق أسفل الشاشة) */
body.product-single .sticky-product-bar { background: var(--br-cream) !important; border: 0 !important; box-shadow: none !important; } /* taste-skill-ignore: إزالة ظل الثيم */
body.product-single salla-quantity-input {
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 0 !important;
  border-radius: 999px;
  background: var(--br-cream-2);
}
body.product-single salla-quantity-input input { background: transparent !important; border: 0 !important; font-weight: 700; color: var(--br-ink) !important; }
body.product-single salla-quantity-input button { border-radius: 50% !important; }

/* أهدِ من تحب: بطاقة بريدية نبيذية بحافة بريد جوي وشعار خافت */
body.product-single .s-gifting-widget { background: transparent !important; border: 0 !important; }
body.product-single .s-gifting-widget .s-list-tile-item {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  gap: 18px;
  padding: 28px 24px 22px !important;
  border: 0 !important;
  border-radius: 20px !important;
  background: var(--br-wine) !important;
}
body.product-single .s-gifting-widget .s-list-tile-item::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 6px; background: var(--br-airmail); }
body.product-single .s-gifting-widget .s-list-tile-item::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline-end: -18px;
  bottom: -26px;
  width: 190px;
  aspect-ratio: 379 / 234;
  background: var(--br-cream);
  opacity: .06;
  -webkit-mask: var(--br-logo) center / contain no-repeat;
  mask: var(--br-logo) center / contain no-repeat;
  pointer-events: none;
}
body.product-single .s-gifting-widget h3 { font-family: var(--br-display) !important; font-weight: 700 !important; font-size: clamp(22px, 1.8vw, 26px) !important; color: var(--br-gold) !important; }
body.product-single .s-gifting-widget .s-list-tile-item-subtitle,
body.product-single .s-gifting-widget .s-list-tile-item-subtitle * { color: rgba(252, 247, 240, .78) !important; }
body.product-single .s-gifting-widget .s-button-element {
  min-height: 46px;
  padding-inline: 22px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--br-gold) !important;
  color: var(--br-wine) !important;
  font-weight: 700 !important;
  transition: background .25s, transform .2s var(--br-ease);
}
body.product-single .s-gifting-widget .s-button-element:hover { background: var(--br-cream) !important; }
body.product-single .s-gifting-widget .s-button-element:active { transform: scale(.97); }

/* ---------- تقييمات صفحة المنتج: ملخص نبيذي ثابت + رسائل كريمية ---------- */
/* بلا row-gap: شبكة الثيم فيها مئات الصفوف الفارغة وأي فراغ بينها يتضاعف لآلاف البكسلات */
.s-comments-product .s-comments-container { column-gap: clamp(28px, 4vw, 72px) !important; align-items: start; }
.s-comments-product .s-comments-header { margin-bottom: 14px; }
.s-comments-product .s-comments-title { font-family: var(--br-display) !important; font-weight: 700 !important; font-size: clamp(28px, 2.6vw, 40px) !important; color: var(--br-wine) !important; }
.s-comments-product salla-reviews-summary { position: sticky; top: calc(var(--br-bar-h, 88px) + 24px); align-self: start; }
.s-comments-product .s-reviews-summary-header-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 6px;
  padding: 34px 28px 28px !important;
  border: 0 !important;
  border-radius: 22px;
  background: var(--br-wine) !important;
}
.s-comments-product .s-reviews-summary-header-section::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 6px; background: var(--br-airmail); }
.s-comments-product .s-reviews-summary-header-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline-end: -20px;
  bottom: -30px;
  width: 210px;
  aspect-ratio: 379 / 234;
  background: var(--br-cream);
  opacity: .06;
  -webkit-mask: var(--br-logo) center / contain no-repeat;
  mask: var(--br-logo) center / contain no-repeat;
}
.s-comments-product .s-reviews-summary-recommendation-percentage { margin: 0 !important; font: 700 clamp(48px, 4.4vw, 68px)/1 var(--br-display) !important; color: var(--br-gold) !important; }
.s-comments-product .s-reviews-summary-count { margin: 0 !important; color: rgba(252, 247, 240, .82) !important; font-size: 16px !important; font-weight: 600 !important; }
.s-comments-product .s-comments-count-label { color: var(--br-ink) !important; font-weight: 700; }
.s-comments-product .s-comments-filter-label { color: var(--br-muted) !important; }
.s-comments-product .s-comments-sort-input {
  min-height: 40px;
  padding-inline: 16px 34px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background-color: var(--br-cream) !important;
  color: var(--br-ink) !important;
}
.s-comments-product salla-comment-item {
  display: block;
  margin-bottom: 12px !important;
  padding: 18px 20px !important;
  border: 0 !important;
  border-radius: 20px;
  background: var(--br-cream) !important;
  transition: translate .35s var(--br-ease);
}
@media (hover: hover) { .s-comments-product salla-comment-item:hover { translate: 0 -2px; } }
.s-comments-product .s-comments-item-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  background: var(--br-cream-2);
}
.s-comments-product .s-comments-item-avatar[data-initial] img { display: none !important; }
.s-comments-product .s-comments-item-avatar[data-initial]::before { content: attr(data-initial); font: 700 19px/1 var(--br-display); color: var(--br-wine); }
.s-comments-product salla-comment-item:nth-of-type(even) .s-comments-item-avatar { background: var(--br-gold); }
.s-comments-product .s-comments-item-user-info h3 { color: var(--br-ink) !important; font-weight: 700 !important; }
.s-comments-product .s-comments-item-has-order-check-text,
.s-comments-product .s-comments-item-timestamp { color: var(--br-muted) !important; }
.s-comments-product .s-comments-item-has-order-check-icon { background: var(--br-gold-ink) !important; }
.s-comments-product salla-comment-item .flex.flex-row,
.s-comments-product salla-rating-stars,
.s-comments-product .s-rating-stars-wrapper { background: transparent !important; padding: 0 !important; }
.s-comments-product .s-rating-stars-selected { color: var(--br-gold-ink) !important; }
.s-comments-product .s-comments-item-content p { color: var(--br-ink) !important; font-size: 15px; line-height: 1.7; }
@media (max-width: 768px) {
  .s-comments-product salla-reviews-summary { position: static; }
}

/* مسافة قبل الفوتر في كل الصفحات (الرئيسية تنتهي بشريط الآراء فلا تحتاجها) */
main.flex-1:not(:has(.s-block--custom-testimonials)) { padding-bottom: clamp(56px, 7vw, 104px) !important; }

/* ---------- مزايا المتجر: أختام بريدية تُختم عند الظهور ---------- */
.br-perks { padding-block: clamp(48px, 6vw, 96px); }
.br-perks__head { margin-bottom: clamp(26px, 3.4vw, 52px); text-align: center; }
.br-perks__head .br-ch__title { display: inline-block; }
.br-perks__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
}
.br-perk {
  --r: -6deg;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  color: var(--br-ink);
  text-decoration: none;
}
.br-perks__list > li:nth-child(2) .br-perk { --r: 5deg; }
.br-perks__list > li:nth-child(3) .br-perk { --r: -3deg; }
.br-perk__mark {
  position: relative;
  width: clamp(150px, 15vw, 196px);
  aspect-ratio: 1;
  color: var(--br-wine);
  rotate: var(--r);
  transition: rotate .7s cubic-bezier(.34, 1.4, .64, 1), scale .7s cubic-bezier(.34, 1.4, .64, 1);
}
.br-perk__mark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.br-perk__ring { transform-origin: 100px 100px; animation: brSpin 28s linear infinite; animation-play-state: paused; }
.br-perk__ring text { font: 500 13.5px/1 var(--br-display); letter-spacing: .06em; fill: currentColor; }
.br-perk__waves path { stroke-dasharray: 6 0; transition: translate .9s var(--br-ease); }
.br-perk__ico { color: var(--br-gold-ink); }
.br-perk__title { margin: 6px 0 0; font: 700 clamp(22px, 1.9vw, 28px)/1.2 var(--br-display); color: var(--br-wine); }
.br-perk__text { margin: 0; max-width: 30ch; font-size: 15px; line-height: 1.7; color: var(--br-muted); }
.br-perk__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--br-wine);
  color: var(--br-gold);
  font: 600 14px/1 var(--br-body);
  transition: background .25s, color .25s, scale .2s;
}
.br-perk__cta svg { width: 16px; height: 16px; transition: translate .3s var(--br-ease); }
@media (hover: hover) {
  .br-perk:hover .br-perk__mark { rotate: 0deg; scale: 1.06; }
  .br-perk:hover .br-perk__ring { animation-play-state: running; }
  .br-perk:hover .br-perk__waves path { translate: -14px 0; }
  a.br-perk:hover .br-perk__cta { background: var(--br-gold); color: var(--br-wine); }
  a.br-perk:hover .br-perk__cta svg { translate: -4px 0; }
}
a.br-perk:active .br-perk__mark { scale: .97; }
@keyframes brSpin { to { rotate: 360deg; } }

/* الختم ينزل على الورق عند الظهور */
.br-js .br-perks:not(.is-stamped) .br-perk__mark { opacity: 0; }
.br-perks.is-stamped .br-perk__mark { animation: brStamp .75s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--i, 0) * 160ms); }
.br-perks.is-stamped .br-perk__title,
.br-perks.is-stamped .br-perk__text,
.br-perks.is-stamped .br-perk__cta { animation: br-in .6s var(--br-ease) both; animation-delay: calc(var(--i, 0) * 160ms + 220ms); }
@keyframes brStamp {
  0% { opacity: 0; scale: 1.45; rotate: calc(var(--r) - 14deg); }
  55% { opacity: 1; scale: .94; }
  100% { opacity: 1; scale: 1; rotate: var(--r); }
}

@media (max-width: 640px) {
  .br-perks__list { grid-template-columns: 1fr; gap: 22px; }
  .br-perk { flex-direction: row; align-items: center; gap: 18px; text-align: start; }
  .br-perk__mark { width: 112px; flex-shrink: 0; }
  .br-perk__waves { display: none; }
  .br-perk__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
  .br-perk__title { margin: 0; font-size: 22px; }
  .br-perk__text { font-size: 14px; }
  .br-perk__cta { padding: 8px 14px; font-size: 13px; }
}
@media (min-width: 641px) { .br-perk__body { display: contents; } }

/* ---------- الجوال ---------- */
@media (max-width: 640px) {
  .br-strip { font-size: 14px; padding: 12px 0 9px; }
  .s-product-card-content-footer .s-button-element,
  .s-product-card-entry salla-add-product-button .s-button-element { min-height: 42px; font-size: 13.5px !important; }
  .s-product-card-promotion-title { font-size: 11px !important; padding: 4px 9px !important; }
  footer.store-footer .store-footer__bottom { border-radius: 24px; }
}

/* ── السلايدر الرئيسي: البنر يظهر كامل بنسبته الأصلية، والشريحة كلها رابط ── */
.s-block--enhanced-slider .swiper-slide { aspect-ratio: 2048 / 791 !important; background-color: var(--br-wine); }
.s-block--enhanced-slider .swiper-slide::after,
.s-block--enhanced-slider .swiper-slide .overlay-bg::after { display: none !important; }
.s-block--enhanced-slider .home-slider__content { position: static !important; min-height: 0 !important; padding: 0 !important; }
.s-block--enhanced-slider .home-slider__content > div { position: static; }
.s-block--enhanced-slider .home-slider__cta { position: absolute !important; inset: 0; z-index: 2; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: transparent !important; font-size: 0 !important; transform: none !important; box-shadow: none !important; } /* taste-skill-ignore: يلغي ظل زر الثيم */
.s-block--enhanced-slider .home-slider__cta:focus-visible { outline: 3px solid var(--br-gold); outline-offset: -8px; }
.s-block--enhanced-slider .swiper-pagination,
.s-block--enhanced-slider .s-slider-nav,
.s-block--enhanced-slider [class*="swiper-button"] { z-index: 3; }

/* عنوان البنر: نص حي بخط ثمانية فوق باترن معيّنات خفيف (بدل شعار المتجر داخل الصورة) */
.s-block--enhanced-slider .swiper-slide:has(h2) .home-slider__content::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath d='M15 11l4 4-4 4-4-4z' fill='%23FFD7AB' fill-opacity='.16'/%3E%3Cpath d='M0 0l30 30M30 0L0 30' stroke='%23FFD7AB' stroke-opacity='.05'/%3E%3C/svg%3E") center / 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 30% 62% at 50% 50%, #000 35%, transparent 100%); /* taste-skill-ignore: قناع يذوّب الباترن */
          mask-image: radial-gradient(ellipse 30% 62% at 50% 50%, #000 35%, transparent 100%); /* taste-skill-ignore: قناع يذوّب الباترن */
}
.s-block--enhanced-slider .home-slider__content > div { position: relative; z-index: 1; width: min(54vw, 1180px) !important; max-width: none !important; }
.s-block--enhanced-slider .home-slider__content h2 {
  margin: 0 !important;
  font: 700 clamp(26px, 3.6vw, 66px)/1.3 var(--br-display) !important;
  font-feature-settings: "ss01" 1, "swsh" 1 !important; /* لازم important: الـ font المختصر يصفّرها */
  color: var(--br-cream) !important;
  text-wrap: balance;
}
.s-block--enhanced-slider .home-slider__content h2::before {
  content: "من أرشيف الطرب"; display: block; margin-bottom: clamp(6px, .8vw, 12px);
  font: 300 clamp(13px, 1.15vw, 21px)/1 var(--br-display); letter-spacing: .04em; color: var(--br-gold);
}
.s-block--enhanced-slider .home-slider__content h2::after {
  content: ""; display: block; width: 150px; height: 12px; margin: clamp(10px, 1.2vw, 18px) auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='12' viewBox='0 0 150 12'%3E%3Cpath d='M0 6h62M88 6h62' stroke='%23FFD7AB' stroke-opacity='.55'/%3E%3Cpath d='M75 1l5 5-5 5-5-5z' fill='%23FFD7AB'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* الجوال: كرت بنسبة سلة (900×600): الصورة كاملة فوق، والعنوان تحتها على باترن — بلا زحمة */
@media (max-width: 768px) {
  .s-block--enhanced-slider .enhanced-slider { padding: 14px 14px 0; }
  .s-block--enhanced-slider .swiper { padding-bottom: 30px; }
  .s-block--enhanced-slider .swiper-slide { border-radius: 16px; overflow: hidden; }
  .s-block--enhanced-slider .swiper-slide:has(h2) { aspect-ratio: 3 / 2 !important; background-color: var(--br-wine); }
  .s-block--enhanced-slider .swiper-slide:has(h2) > div:first-child { bottom: auto !important; height: auto !important; aspect-ratio: 2048 / 791; }
  .s-block--enhanced-slider .swiper-slide:has(h2) .home-slider__content {
    position: absolute !important; inset: auto 0 0 0 !important; height: 42.2% !important;
    display: flex !important; align-items: center; justify-content: center;
    background: var(--br-wine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath d='M15 11l4 4-4 4-4-4z' fill='%23FFD7AB' fill-opacity='.16'/%3E%3Cpath d='M0 0l30 30M30 0L0 30' stroke='%23FFD7AB' stroke-opacity='.05'/%3E%3C/svg%3E") center / 26px 26px;
  }
  .s-block--enhanced-slider .home-slider__content::before { display: none; }
  .s-block--enhanced-slider .home-slider__content > div { width: 100% !important; padding-inline: 18px; }
  .s-block--enhanced-slider .home-slider__content h2 { font-size: clamp(21px, 6.6vw, 28px) !important; line-height: 1.3 !important; }
  .s-block--enhanced-slider .home-slider__content h2::before { font-size: 12.5px; margin-bottom: 5px; }
  .s-block--enhanced-slider .home-slider__content h2::after { width: 110px; height: 9px; margin-top: 8px; }
  .s-block--enhanced-slider .swiper-slide:has(h2) .home-slider__cta { top: -137.2% !important; }
  .s-block--enhanced-slider .s-slider-block__title,
  .s-block--enhanced-slider .s-slider-nav-arrow { display: none !important; }
  .s-block--enhanced-slider .swiper-pagination { bottom: 6px !important; top: auto !important; }
  .s-block--enhanced-slider .swiper-pagination-bullet { width: 7px; height: 7px; margin: 0 3px !important; background: var(--br-wine) !important; opacity: .22 !important; }
  .s-block--enhanced-slider .swiper-pagination-bullet-active { width: 22px; border-radius: 999px; opacity: 1 !important; }
}

/* رفع صور خيارات المنتج: أثناء ضغط الصورة في المتصفح */
salla-file-upload.br-up-busy { opacity: .55; pointer-events: none; cursor: progress; transition: opacity .2s; }
/* حقول «صورة 2…5»: مخفية لين تتعبّى تلقائيًا من الحقل الأول */
.br-up-slot:not(.br-up-filled) { display: none !important; }
.br-up-order { display: flex !important; flex-direction: column; }
/* قوائم الخيارات (مثل المقاسات): سهم واضح عشان ما تبان كحقل كتابة */
html body salla-product-options select.s-form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23591A2D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-size: 18px 18px !important; background-position: left 14px center !important; padding-left: 42px !important; cursor: pointer; }
html body salla-product-options select.s-form-control:invalid { border-color: rgba(89, 26, 45, .45) !important; }
html body .text-xl.font-bold[data-br-from] { font-size: 0 !important; }
html body .text-xl.font-bold[data-br-from]::before { content: attr(data-br-from); font-size: 18px; }
html body .text-xl.font-bold[data-br-from] .sicon-sar { font-size: 18px !important; }
/* اختيار المقاس: بطاقات + معاينة على الجدار */
.article--main img[data-br-chart="hide"] { display: none !important; }
.br-size-host { position: relative; }
html body salla-product-options select.br-size-select { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; opacity: 0 !important; pointer-events: none; z-index: -1; }
.br-size__scene { position: relative; width: 100%; aspect-ratio: 300 / 250; margin: 4px 0 12px; overflow: hidden; border-radius: 18px; background: #EFE6D8; }
.br-size__floor { position: absolute; inset: auto 0 0 0; height: 7.2%; background: #D9CBB6; }
.br-size__sofa { position: absolute; bottom: 7.2%; left: 16.6667%; width: 66.6667%; }
.br-size__sofa svg { display: block; width: 100%; height: auto; }
.br-size__art { position: absolute; bottom: 47%; left: 50%; overflow: hidden; transform: translateX(-50%); border: 2px solid #1D1012; background: #2B1419; box-shadow: 0 10px 22px rgba(43, 20, 25, .28), 0 2px 4px rgba(43, 20, 25, .2); transition: width .45s var(--br-ease), height .45s var(--br-ease); } /* taste-skill-ignore: ظل اللوحة على الجدار جزء من المعاينة الواقعية */
.br-size__art img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.br-size.is-mock .br-size__art img { position: absolute; top: -11.03%; left: -17.12%; width: 161.55%; height: 122.55%; object-fit: fill; }
.br-size__dim { position: absolute; bottom: calc(47% - 24px); left: 50%; padding: 2px 9px; transform: translateX(-50%); border-radius: 99px; background: rgba(252, 247, 240, .92); color: var(--br-ink); font-size: 11px; white-space: nowrap; }
.br-size__cap { position: absolute; bottom: 1.6%; left: 50%; transform: translateX(-50%); color: #6B5A4E; font-size: 10.5px; white-space: nowrap; }
.br-size__chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.br-size__chip { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 4px 10px; border: 1.5px solid var(--br-cream-2); border-radius: 14px; background: #FFF; color: var(--br-ink); font: inherit; cursor: pointer; transition: border-color .2s, background-color .2s, transform .1s; }
.br-size__chip:active { transform: scale(.98); }
.br-size__box { display: flex; align-items: flex-end; height: 34px; }
.br-size__box i { display: block; border: 1.5px solid var(--br-wine); border-radius: 2px; transition: background-color .2s; }
.br-size__chip b { direction: ltr; font-size: 13.5px; font-weight: 700; }
.br-size__chip small { color: var(--br-muted); font-size: 12px; }
.br-size__chip em { position: absolute; top: -9px; left: 50%; padding: 2px 8px; transform: translateX(-50%); border-radius: 99px; background: var(--br-gold); color: var(--br-wine); font-size: 10px; font-style: normal; font-weight: 600; white-space: nowrap; }
.br-size__chip.is-on { border-color: var(--br-wine); background: #FFFBF5; box-shadow: 0 0 0 3px rgba(89, 26, 45, .08); } /* taste-skill-ignore: حلقة الاختيار */
.br-size__chip.is-on .br-size__box i { background: var(--br-wine); }
@media (min-width: 769px) { .br-size__scene { max-width: 520px; } }
.br-size.is-missing .br-size__chip { border-color: rgba(89, 26, 45, .55); }
.br-size.is-missing::after { content: "اختر المقاس أولًا"; display: block; margin-top: 8px; color: var(--br-wine); font-size: 13px; font-weight: 600; }
.br-up-more { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; min-height: 46px; padding: 10px 14px; border: 1.5px dashed var(--br-wine); border-radius: 12px; background: var(--br-cream); color: var(--br-wine); font-weight: 600; font-size: 14px; cursor: pointer; }
.br-up-more[hidden] { display: none; }
.br-up-more:active { background: #F3EAE0; }
.br-up-more__input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; } /* الطبقة الشفافة نفسها تفتح المعرض — أضمن على الآيفون */
.br-up-slot .br-up-hint { display: none; }
.br-up-hint { margin: 0 0 10px; font-size: 13px; line-height: 1.6; color: var(--br-muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before, body::after { display: none !important; }
  .br-strip__track { animation: none !important; margin-inline: auto; }
  .br-strip__group + .br-strip__group { display: none; }
  .br-js .br-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}