/* =====================================================================
   Be Stylish — bs.css
   متغيّرات الألوان + كلاسات .bs- المخصّصة
   الصِق محتوى هذا الملف أيضاً في: Bricks → Settings → Custom CSS
   (أو حمّله عبر functions.php — وهو ما يفعله الملف المرفق).
   كل القيم مأخوذة من التصميم المعتمد (اتجاه «بوتيك دافئ» البرجندي).
   ===================================================================== */

:root{
  --bs-burgundy:#74233B;        /* أزرار، أسعار، روابط، حالات نشطة */
  --bs-burgundy-dark:#5E1F30;   /* شريط العرض، الفوتر، الهيدر الداكن */
  --bs-wine:#4A1626;            /* هوفر/أشرطة أغمق */
  --bs-gold:#B8895A;            /* eyebrow، الإطار الذهبي الرفيع */
  --bs-gold-light:#E9C58E;      /* ذهبي على الخلفيات الداكنة */
  --bs-ink:#211519;             /* النص الأساسي */
  --bs-text-soft:#7C6B6F;       /* نص ثانوي */
  --bs-text-muted:#9A8B8F;      /* نص خافت */
  --bs-cream:#FBF6F3;           /* أسطح كريمية */
  --bs-blush:#F3E7E3;           /* بلش (شريط العرض/تدرّج البطل) */
  --bs-border:#F0E3DE;          /* حدود فاتحة */
  --bs-strike:#B9A9AD;          /* سعر مشطوب */

  --bs-hero-grad: linear-gradient(110deg,#FBF1ED 0%,#F6E7E1 60%,#F0DAD3 100%);
  --bs-placeholder: repeating-linear-gradient(135deg,#EAD9D2 0 16px,#F1E2DC 16px 32px);
  --bs-card-shadow: 0 14px 34px -12px rgba(90,30,45,.30);
}

/* ===== أزرار CTA البرجندي (كل الشاشات) ===== */
.bs-btn{
  background:var(--bs-burgundy); color:#fff;
  font-family:'Tajawal',sans-serif; font-weight:700;
  border:none; border-radius:999px; padding:14px 30px;
  min-height:48px; cursor:pointer; transition:background .2s ease;
}
.bs-btn:hover{ background:var(--bs-wine); }
.bs-btn--ghost{ background:transparent; color:var(--bs-burgundy); border:1.5px solid var(--bs-burgundy); }

/* ===== بطاقة المنتج — الإطار والصورة (شاشة 2/3/6) ===== */
.bs-card__media{
  position:relative; border-radius:15px; overflow:hidden; aspect-ratio:3/4;
  border:1px solid var(--bs-border); background:var(--bs-placeholder);
}
.bs-card__title{ font-family:'Tajawal',sans-serif; font-weight:500; color:var(--bs-ink); margin-top:8px; }
.bs-price{ color:var(--bs-burgundy); font-weight:700; }
.bs-price__old{ color:var(--bs-strike); text-decoration:line-through; margin-inline-start:7px; }
.bs-badge{
  position:absolute; inset-block-start:10px; inset-inline-end:10px; color:#fff;
  font-size:9.5px; font-weight:700; padding:3px 8px; border-radius:999px;
}
.bs-badge--new{ background:var(--bs-burgundy); }
.bs-badge--sale{ background:var(--bs-ink); }
.bs-wish{
  position:absolute; inset-block-start:10px; inset-inline-start:10px;
  width:30px; height:30px; display:grid; place-items:center;
}

/* ===== SKU — صفحة المنتج فقط ===== */
.bs-sku{ color:var(--bs-text-muted); font-size:11.5px; letter-spacing:.02em; margin-block-start:4px; }

/* ===== رقائق الفلترة (شاشة 3) — تحوّل عناصر Filter إلى Pills ===== */
.bs-chips{ display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; padding:4px 0 12px; }
.bs-chips::-webkit-scrollbar{ display:none; }
.bs-chip{
  flex:none; display:flex; align-items:center; gap:6px; background:#fff;
  color:var(--bs-ink); border:1px solid var(--bs-border); border-radius:999px;
  padding:9px 15px; min-height:44px; font-size:12.5px; font-weight:500; white-space:nowrap;
}
.bs-chip--active{ background:var(--bs-burgundy); color:#fff; border-color:var(--bs-burgundy); font-weight:700; }
.bs-chip--applied{ background:#FBEEE9; color:var(--bs-burgundy); border-color:#E8C9C0; font-weight:700; }

/* ===== Swatches — دوائر ألوان + أزرار مقاس (شاشة 4) ===== */
.bs-swatch-color{ width:34px; height:34px; border-radius:50%; box-shadow:0 0 0 1px var(--bs-border); }
.bs-swatch-color.selected{ box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--bs-burgundy); }
.bs-swatch-size{
  min-width:46px; min-height:44px; display:grid; place-items:center;
  border:1px solid #E6D8D3; border-radius:12px; font-weight:500;
}
.bs-swatch-size.selected{ background:var(--bs-burgundy); color:#fff; border-color:var(--bs-burgundy); font-weight:700; }
.bs-swatch-size.disabled{ color:#CDBDC0; text-decoration:line-through; pointer-events:none; }

/* ===== شريط «أضيفي للسلة» الثابت (شاشة 4) — جوال + آيباد فقط ===== */
.bs-sticky-bar{
  position:fixed; inset-inline:0; inset-block-end:0; z-index:90;
  display:flex; align-items:center; gap:12px; padding:12px 16px 16px; background:#fff;
  border-top:1px solid var(--bs-border); box-shadow:0 -6px 20px -10px rgba(90,30,45,.25);
}
.bs-sticky-bar .bs-btn{ flex:1; border-radius:14px; }
@media (min-width:1025px){ .bs-sticky-bar{ display:none; } }

/* ===== بطاقة قسم أفقية في الـ Drawer (شاشة 5) ===== */
.bs-cat-card{
  display:flex; align-items:center; gap:13px; padding:9px; border-radius:16px;
  border:1px solid #F2E8E4; margin-bottom:10px; min-height:44px;
}
.bs-cat-card__thumb{
  width:52px; height:52px; flex:none; border-radius:14px;
  background:#FBF8F6; border:1px solid #F0E3DE;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.bs-cat-card__thumb img{ object-fit:contain; }
/* البطاقة كلها قابلة للنقر عبر رابط الاسم الممدود */
.bs-cat-card{ position:relative; }
.bs-cat-card .brxe-text-link::after{ content:""; position:absolute; inset:0; }

/* ===== شريط العرض + مساعدات RTL ===== */
.bs-announce{
  background:var(--bs-burgundy-dark); color:#F3E0D8; font-size:13px;
  font-weight:300; text-align:center; padding:11px; letter-spacing:.02em;
}
.bs-flip{ transform:scaleX(-1); }              /* لعكس الأسهم في RTL */
.bs-ltr{ direction:ltr; unicode-bidi:isolate; } /* للمقاطع اللاتينية والأسعار */

/* ===== إضافات التنفيذ (يوليو 2026) ===== */
.bs-price del{ color:var(--bs-strike); font-weight:400; font-size:.85em; margin-inline-start:6px; }
.bs-price ins{ text-decoration:none; }
.bs-card__media img{ width:100%; height:100%; object-fit:cover; }
.bs-tile{ position:relative; border-radius:14px; overflow:hidden; aspect-ratio:4/5; }
.bs-tile img{ width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.bs-tile:hover img{ transform:scale(1.04); }
.bs-tile__name{ position:absolute; inset-inline:0; inset-block-end:0; padding:16px 14px;
  color:#fff !important; background:linear-gradient(180deg,transparent,rgba(33,21,25,.78)); }

/* ===== بلاطات الأقسام بأيقونات fashion flat sketch (يوليو 2026) ===== */
.bs-tile2{
  position:relative; display:flex; flex-direction:column; align-items:center;
  background:#FBF8F6; border:1px solid #F0E3DE; border-radius:16px;
  padding:20px 12px 16px; min-height:172px; text-align:center;
}
.bs-tile2 svg{ flex:none; margin-block:auto; }
.bs-tile2 .bs-tile2__name{ margin-top:12px; line-height:1.3; }
.bs-tile2 .bs-tile2__name::after{ content:""; position:absolute; inset:0; border-radius:16px; }
.bs-tile2__count{ font-family:'Tajawal',sans-serif; font-size:11.5px; color:#9A8B8F; margin-top:3px; }
@media (max-width:478px){
  .bs-tile2{ min-height:140px; padding:14px 8px 12px; }
  .bs-tile2 svg{ transform:scale(.82); }
}
@media (min-width:1025px) and (prefers-reduced-motion: no-preference){
  .bs-tile2{ transition:transform .2s ease, box-shadow .2s ease; }
  .bs-tile2:hover{ transform:translateY(-4px); box-shadow:0 10px 24px -12px rgba(90,30,45,.22); }
}

/* ===== بلاطات الأقسام النهائية v4: صندوق أيقونة + اسم + عدد (يوليو 2026) ===== */
.bs-tile3{ position:relative; text-align:center; }
.bs-tile3__box{
  position:relative; aspect-ratio:4/5; max-width:148px; margin:0 auto 10px;
  background:#FBF8F6; border:1px solid #F0E3DE; border-radius:16px;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.bs-tile3__box img{ object-fit:contain; }
.bs-tile3 .bs-tile3__name{ display:inline-block; line-height:1.3; }
.bs-tile3 .bs-tile3__name::after{ content:""; position:absolute; inset:0; }
.bs-tile3__count{ font-family:'Tajawal',sans-serif; font-size:11.5px; color:#9A8B8F; margin-top:3px; }
.bs-tile3__badge{
  position:absolute; top:10px; left:10px; z-index:1; background:#74233B; color:#fff;
  font-family:'Tajawal',sans-serif; font-size:10.5px; font-weight:700;
  padding:3px 9px; border-radius:999px; line-height:1.4;
}
/* آيباد أفقي/ديسكتوب ضيق: صفّان 4+4 بدل صف الثمانية */
@media (min-width:992px) and (max-width:1279px){
  .bs-tiles-grid{ grid-template-columns:repeat(4, 1fr) !important; }
}
@media (min-width:1025px) and (prefers-reduced-motion: no-preference){
  .bs-tile3__box{ transition:transform .2s ease, box-shadow .2s ease; }
  .bs-tile3:hover .bs-tile3__box{ transform:translateY(-4px); box-shadow:0 10px 24px -12px rgba(90,30,45,.22); }
}

/* ===== رقائق وفلاتر الأرشيف (يوليو 2026) ===== */
.bs-chips{ align-items:center; }
.bs-chip--toggle{ cursor:pointer; gap:7px; }
select.bs-chip, .bs-chip select{ appearance:none; -webkit-appearance:none; border:1px solid var(--bs-border);
  background:#fff; border-radius:999px; padding:9px 15px; min-height:44px;
  font-family:'Tajawal',sans-serif; font-size:12.5px; color:var(--bs-ink); }
.bs-chip--count{ border-style:dashed; color:var(--bs-text-muted); }

/* رقائق منسدلة (اللون/المقاس/السعر) — تفتح درج الفلاتر */
.bs-chip--dd{
  display:inline-flex; align-items:center; gap:7px; flex:none;
  background:#fff; border:1px solid var(--bs-border); border-radius:999px;
  padding:9px 15px; min-height:44px; cursor:pointer;
  font-family:'Tajawal',sans-serif; font-size:12.5px; color:var(--bs-ink);
}
.bs-chip--dd::before{ content:attr(data-label); font-weight:500; }
/* رقاقة اللون: دائرتا لون متداخلتان يمين الرقاقة */
.bs-chip--color{
  padding-inline-start:44px;
  background-image:
    radial-gradient(circle 7px at calc(100% - 16px) 50%, var(--bs-burgundy) 98%, transparent),
    radial-gradient(circle 7px at calc(100% - 27px) 50%, #211519 98%, transparent);
  background-repeat:no-repeat;
}
.bs-active-chips ul{ display:flex; gap:8px; list-style:none; margin:0; padding:0; flex-wrap:nowrap; }
.bs-active-chips li{ flex:none; display:flex; align-items:center; gap:6px; background:#FBEEE9;
  color:var(--bs-burgundy); border:1px solid #E8C9C0; border-radius:999px; padding:9px 15px;
  min-height:44px; font-size:12.5px; font-weight:700; cursor:pointer; white-space:nowrap; }
.bs-filter-list ul{ list-style:none; margin:0 0 8px; padding:0; }
.bs-filter-list li{ display:flex; align-items:center; gap:9px; min-height:44px; font-size:14px; }
.bs-filter-list input[type=checkbox]{ accent-color:var(--bs-burgundy); width:18px; height:18px; flex:none; }
.bs-filter-sizes ul{ display:flex; flex-wrap:wrap; gap:8px; }
.bs-filter-sizes li{ border:1px solid #E6D8D3; border-radius:12px; padding:4px 12px; }
.bs-filter-range{ margin-bottom:10px; }

/* ===== درج فلاتر التصفية (bsflts) — هوية بوتيك دافئ ===== */
#brxe-bsflts .brx-offcanvas-inner{
  width:min(360px, 92vw); background:#fff;
  padding:20px 18px 30px; overflow-y:auto;
  display:flex; flex-direction:column; align-items:stretch; flex-wrap:nowrap;
}
#brxe-bsflts .brxe-heading{
  font-family:'El Messiri',serif; font-size:19px; font-weight:600; color:var(--bs-ink);
}
/* رأس الدرج: العنوان يمين وزر الإغلاق يسار */
#brxe-bsflts .brx-offcanvas-inner > .brxe-block:first-child{
  display:flex; flex-direction:row; align-items:center; justify-content:space-between;
  padding-bottom:14px; border-bottom:1px solid var(--bs-border); margin-bottom:6px;
}
#brxe-bsflts .brxe-toggle{
  width:38px; height:38px; border-radius:50%; background:var(--bs-cream);
  display:grid; place-items:center; color:var(--bs-burgundy); cursor:pointer;
}
/* عناوين المجموعات (اللون/المقاس/السعر) */
#brxe-bsflts .brx-offcanvas-inner .brxe-text-basic{
  font-family:'Tajawal',sans-serif; font-weight:700; font-size:13px;
  color:var(--bs-text-muted); margin-top:16px; margin-bottom:6px; letter-spacing:.02em;
}
#brxe-bsflts .bs-filter-list li{ color:var(--bs-ink); }
#brxe-bsflts .bs-filter-list .brx-filter-count{ color:var(--bs-text-muted); font-size:12px; }
#brxe-bsflts input[type=number], #brxe-bsflts input[type=text]{
  border:1px solid var(--bs-border); border-radius:10px; min-height:44px;
  padding-inline:10px; font-family:'Tajawal',sans-serif;
}
/* نفس تصميم الدرج لفلاتر صفحة المتجر */
#brxe-bsflhp .brx-offcanvas-inner{
  width:min(360px, 92vw); background:#fff;
  padding:20px 18px 30px; overflow-y:auto;
  display:flex; flex-direction:column; align-items:stretch; flex-wrap:nowrap;
}
#brxe-bsflhp .brxe-heading{ font-family:'El Messiri',serif; font-size:19px; font-weight:600; color:var(--bs-ink); }
#brxe-bsflhp .brx-offcanvas-inner > .brxe-block:first-child{
  display:flex; flex-direction:row; align-items:center; justify-content:space-between;
  padding-bottom:14px; border-bottom:1px solid var(--bs-border); margin-bottom:6px;
}
#brxe-bsflhp .brxe-toggle{
  width:38px; height:38px; border-radius:50%; background:var(--bs-cream);
  display:grid; place-items:center; color:var(--bs-burgundy); cursor:pointer;
}
#brxe-bsflhp .brx-offcanvas-inner .brxe-text-basic{
  font-family:'Tajawal',sans-serif; font-weight:700; font-size:13px;
  color:var(--bs-text-muted); margin-top:16px; margin-bottom:6px; letter-spacing:.02em;
}
#brxe-bsflhp input[type=number], #brxe-bsflhp input[type=text]{
  border:1px solid var(--bs-border); border-radius:10px; min-height:44px;
  padding-inline:10px; font-family:'Tajawal',sans-serif;
}

/* إخفاء الخيارات الفارغة (0) من قوائم الفلاتر — الكلاس على label والصف يُخفى بالكامل */
.bs-filter-list li:has(> .brx-option-disabled){ display:none !important; }
.bs-filter-list .brx-option-disabled{ display:none !important; }

/* كل رقاقة تعرض مجموعتها فقط داخل الدرج */
.brxe-offcanvas[data-show="color"] .bs-fgroup-size,
.brxe-offcanvas[data-show="color"] .bs-fgroup-price,
.brxe-offcanvas[data-show="size"] .bs-fgroup-color,
.brxe-offcanvas[data-show="size"] .bs-fgroup-price,
.brxe-offcanvas[data-show="price"] .bs-fgroup-color,
.brxe-offcanvas[data-show="price"] .bs-fgroup-size{ display:none !important; }
.brxe-pagination .page-numbers{ display:flex; gap:8px; justify-content:center; list-style:none; padding:0; }
.brxe-pagination .page-numbers li a, .brxe-pagination .page-numbers li span{
  display:grid; place-items:center; min-width:44px; min-height:44px; border-radius:12px;
  border:1px solid var(--bs-border); color:var(--bs-ink); }
.brxe-pagination .page-numbers li span.current{ background:var(--bs-burgundy); color:#fff; border-color:var(--bs-burgundy); }

/* ===== صفحة المنتج (يوليو 2026) ===== */
.bs-product-price ins{ text-decoration:none; }
.bs-product-price del{ color:var(--bs-strike); font-weight:400; font-size:.75em; margin-inline-start:8px; }
.bs-atc .single_add_to_cart_button{
  background:var(--bs-burgundy); color:#fff; border:none; border-radius:999px;
  min-height:48px; padding:13px 34px; font-family:'Tajawal',sans-serif; font-weight:700;
  font-size:15.5px; cursor:pointer; transition:background .2s ease;
}
.bs-atc .single_add_to_cart_button:hover{ background:var(--bs-wine); }
.bs-atc .quantity input{ min-height:48px; border:1px solid var(--bs-border); border-radius:12px; width:64px; text-align:center; }
.bs-atc table.variations th{ font-family:'Tajawal',sans-serif; font-weight:700; padding-block:8px; }
.bs-sticky-bar .bs-sticky-price{ flex:none; }
.bs-sticky-bar img{ flex:none; }
/* نجوم التقييم ذهبية */
.brxe-product-rating .star-rating span{ color:var(--bs-gold); }
.bs-hero{ background:var(--bs-hero-grad); }
/* Swatches مخصّصة */
.bs-swatches{ display:flex; flex-wrap:wrap; gap:9px; padding:4px 0; }
.bs-swatch-hidden{ display:none !important; }
button.bs-swatch-color{ border:none; cursor:pointer; padding:0; }
button.bs-swatch-size{ background:#fff; cursor:pointer; font-family:'Tajawal',sans-serif; font-size:13px; padding:0 12px; }

/* ===== إصلاح درج الموبايل (يوليو 2026) ===== */
.brx-offcanvas-inner{ flex-wrap: nowrap !important; overflow-y: auto; }

/* ===== تحسينات درج الموبايل ٢ (يوليو 2026) ===== */
.brx-offcanvas-inner .bs-cat-card{ width:100%; }
.brx-offcanvas-inner .bs-cat-card > a:first-child{ flex:none; }
.brx-offcanvas-inner .brxe-search input[type=search]{
  min-height:46px; border:1px solid var(--bs-border); border-radius:12px;
  background:var(--bs-cream); padding-inline:14px; width:100%;
  font-family:'Tajawal',sans-serif;
}
.brx-offcanvas-inner img.bricks-lazy-hidden{ visibility:visible !important; }

/* ===== مطابقة الموك-أب النهائي (يوليو 2026) ===== */
/* صورة البطل: بطاقة بإطار أبيض + حد ذهبي داخلي + ظل */
.bs-hero-img{
  background:#fff; padding:7px; border-radius:18px; border:1px solid #f0e3de;
  box-shadow:0 14px 34px -12px rgba(90,30,45,.3);
  outline:1px solid #d9b98a; outline-offset:-8px;
}
/* شريط الثقة: Pills موبايل → صف بفواصل على الديسكتوب */
@media (min-width:1025px){
  .bs-trust-row{ column-gap:0 !important; }
  .bs-trust-pill{ background:transparent !important; border:none !important;
    border-radius:0 !important; padding:4px 44px !important; }
  .bs-trust-pill + .bs-trust-pill{ border-inline-start:1px solid #ece0db !important; }
  .bs-trust-pill i{ font-size:26px !important; }
  .bs-trust-pill .brxe-text-basic:first-child{ font-size:14px; font-weight:700; }
}
@media (max-width:478px){ .bs-trust-sub{ display:none; } }
/* رقاقة تصفية معبأة برجندي مع نص */
.bs-chip--toggle{ background:var(--bs-burgundy) !important; border-color:var(--bs-burgundy) !important; gap:7px; }
.bs-chip--toggle::after{ content:"تصفية"; color:#fff; font-family:'Tajawal',sans-serif;
  font-size:12.5px; font-weight:700; }
/* عدّاد النتائج نص عادي */
.bs-results-count{ flex:none; align-self:center; color:var(--bs-text-muted);
  font-size:11.5px; white-space:nowrap; padding-inline:4px; }
/* زر إغلاق الدرج: دائرة بيضاء */
.bs-drawer-close{ background:#fff !important; border-radius:50% !important;
  width:34px; height:34px; display:grid !important; place-items:center;
  box-shadow:0 1px 4px rgba(0,0,0,.08); padding:0 !important; }
/* زر ghost */
.bs-btn--ghost:hover{ background:var(--bs-burgundy); color:#fff; }
/* الرقائق عرض تلقائي لتبقى صفاً واحداً */
.bs-trust-row{ justify-content:center; }
.bs-trust-pill{ width:auto !important; flex:0 0 auto !important; }

/* ===== عدّاد السلة + اتجاه القائمة + البحث (يوليو 2026) ===== */
.brxe-woocommerce-mini-cart .cart-icon{ position:relative; display:inline-flex; }
.brxe-woocommerce-mini-cart .cart-count{
  position:absolute; top:-7px; inset-inline-start:-9px;
  background:var(--bs-burgundy); color:#fff; font-size:10px; font-weight:700;
  min-width:16px; height:16px; border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  padding:0 3px; line-height:1;
}
/* القائمة الرئيسية من اليمين لليسار */
#brxe-jvswdc{ direction:rtl; }
#brxe-jvswdc .brx-nav-nested-items{ direction:rtl; }
/* أيقونة البحث الجديدة بالديسكتوب بنفس حجم الأيقونات */
#brxe-enwgxz .toggle-search{ color:#211519; font-size:22px; padding:0; background:none; border:none; cursor:pointer; }

/* ===== هوامش الموبايل والتابلت (يوليو 2026) ===== */
@media (max-width: 991px){
  .brxe-container{ padding-inline: 18px; }
  /* الفوتر داخله حاوية أيضاً */
  .brxe-section > .brxe-container{ padding-inline: 18px; }
}
@media (max-width: 478px){
  .brxe-container{ padding-inline: 16px; }
}
/* لوقو الفوتر بحجم متناسب */
img[src*="logo-light"]{ width:auto; max-height:64px; }

/* ===== فوتر مضغوط للموبايل (يوليو 2026) ===== */
img[src*="logo-light"]{ width:auto; max-height:56px; object-fit:contain; }
@media (max-width: 478px){
  .bs-footer img[src*="logo-light"]{ max-height:44px; margin-bottom:2px; }
  .bs-footer .brxe-text-link{ padding-block:4px; font-size:13px; }
  .bs-footer .brxe-text-basic{ font-size:12.5px; }
  .bs-footer{ font-size:13px; }
}

/* ===== توحيد عناصر WooCommerce على الهوية (يوليو 2026) ===== */
/* iOS يلوّن الأزرار أزرق افتراضياً — تثبيت الألوان صراحةً */
.brxe-search .toggle{ color:#74233B !important; }
button.bs-swatch-size{ color:var(--bs-ink); }

/* رسائل النظام (أضيف للسلة… إلخ): بلش وبرجندي بدل الأخضر */
.woocommerce-message, .woocommerce-info{
  background:#FBEEE9 !important; color:var(--bs-ink) !important;
  border-top-color:var(--bs-burgundy) !important;
  font-family:'Tajawal',sans-serif;
}
.woocommerce-message::before, .woocommerce-info::before{ color:var(--bs-burgundy) !important; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button{
  background:var(--bs-burgundy) !important; color:#fff !important; border-radius:12px !important;
}

/* خيارات اللون والمقاس: محاذاة يمين وصف كامل العرض */
table.variations, table.variations tbody, table.variations tr{ display:block; width:100%; }
table.variations th.label, table.variations td.value{
  display:block; width:100%; text-align:right !important; padding-inline:0;
}
table.variations th.label{ padding-bottom:4px; }
.bs-swatches{ justify-content:flex-start; }
.variations .reset_variations{ color:var(--bs-text-muted); font-size:12.5px; }

/* قسيمة الخصم بصفحة إتمام الطلب */
.woocommerce-form-coupon-toggle .woocommerce-info a{ color:var(--bs-burgundy) !important; font-weight:700; }
form.checkout_coupon{
  border:1px solid var(--bs-border) !important; border-radius:14px !important;
  background:var(--bs-cream) !important; padding:16px !important;
}
form.checkout_coupon input[type=text]{
  border:1px solid var(--bs-border) !important; border-radius:12px !important;
  min-height:48px; padding-inline:14px; font-family:'Tajawal',sans-serif;
}
form.checkout_coupon button{
  background:var(--bs-burgundy) !important; color:#fff !important;
  border-radius:12px !important; min-height:48px; font-family:'Tajawal',sans-serif; font-weight:700;
}

/* زر تأكيد الطلب + صندوق طريقة الدفع */
#place_order{
  background:var(--bs-burgundy) !important; color:#fff !important;
  border-radius:14px !important; min-height:52px; width:100%;
  font-family:'Tajawal',sans-serif; font-weight:700; font-size:16px;
}
#place_order:hover{ background:var(--bs-wine) !important; }
#payment .payment_box{ background:#FBEEE9 !important; color:var(--bs-ink) !important; border-radius:12px; }
#payment .payment_box::before{ border-bottom-color:#FBEEE9 !important; }

/* حلقة تركيز موحّدة بدل الأزرق الافتراضي */
input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2px solid #D9A0AE; outline-offset:1px;
}

/* ===== نافذة البحث المنبثقة — هوية بوتيك دافئ (يوليو 2026) ===== */
.brxe-search .bricks-search-overlay{
  background:linear-gradient(180deg,#FBF1ED 0%,#F6E7E1 100%) !important;
}
.brxe-search .bricks-search-inner{ width:min(560px, 88vw); margin-inline:auto; }
.brxe-search .bricks-search-overlay .title{
  font-family:'El Messiri',serif !important; font-size:24px !important;
  font-weight:600; color:#211519 !important; text-align:center; margin-bottom:18px;
}
.brxe-search .bricks-search-form input[type=search]{
  font-family:'Tajawal',sans-serif !important; font-size:17px !important; color:var(--bs-ink);
  background:#fff; border:1px solid var(--bs-border); border-radius:14px;
  min-height:52px; width:100%; padding-inline:18px; direction:rtl;
  box-shadow:0 10px 26px -14px rgba(90,30,45,.25);
}
.brxe-search .bricks-search-form input[type=search]::placeholder{ color:var(--bs-text-muted); }
.brxe-search .bricks-search-overlay .close{
  font-size:30px !important; color:#74233B !important;
  width:44px; height:44px; display:flex; align-items:center; justify-content:center;
  background:#fff; border-radius:50%; box-shadow:0 2px 8px rgba(0,0,0,.08);
  inset-inline-end:18px; top:18px;
}

/* ===== مبدّل صور البطل التلقائي (يوليو 2026) — 5 صور بتلاشٍ ناعم ===== */
.bs-hero-rot{ position:relative; overflow:hidden; }
.bs-hero-rot > img{
  position:absolute; inset:7px; width:calc(100% - 14px); height:calc(100% - 14px);
  object-fit:cover; border-radius:12px;
}
.bs-hero-rot > img:not(:first-child){ opacity:0; animation:bsHeroCycle 25s infinite; }
.bs-hero-rot > img:nth-child(2){ animation-delay:5s; }
.bs-hero-rot > img:nth-child(3){ animation-delay:10s; }
.bs-hero-rot > img:nth-child(4){ animation-delay:15s; }
.bs-hero-rot > img:nth-child(5){ animation-delay:20s; }
@keyframes bsHeroCycle{
  0%{opacity:0} 4%{opacity:1} 20%{opacity:1} 26%{opacity:0} 100%{opacity:0}
}
@media (prefers-reduced-motion: reduce){
  .bs-hero-rot > img:not(:first-child){ display:none; }
}

/* ===== روح وحركة (يوليو 2026) ===== */
@media (prefers-reduced-motion: no-preference){
  .bs-hero > .brxe-container{ animation: bsFadeUp .9s cubic-bezier(.22,.8,.36,1) both; }
  .bs-hero-img{ animation: bsFloat 7s ease-in-out 1.4s infinite; will-change: transform; }
  .bs-card{ transition: transform .25s ease; }
  .bs-btn{ transition: background .2s ease, transform .15s ease; }
  .bs-btn:active{ transform: scale(.97); }
  .bs-cat-card{ transition: transform .2s ease, box-shadow .2s ease; }
}
@media (min-width:1025px) and (prefers-reduced-motion: no-preference){
  .bs-card:hover{ transform: translateY(-5px); }
  .bs-cat-card:hover{ transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(90,30,45,.25); }
}
@keyframes bsFadeUp{ from{ opacity:0; transform:translateY(20px);} to{ opacity:1; transform:none;} }
@keyframes bsFloat{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-8px);} }
