/* ========== Design Tokens ========== */
:root{
  /* خلفية عامة: خشب داكن + جدار دافئ */
  --bg-body: #463b32;
  --bg-shell: radial-gradient(circle at 10% 0%, #3b2518 0, #463b32 50%, #120b08 100%);
  --bg-header: rgba(16,10,6,0.96);
  --bg-header-blur: blur(16px);

  /* بطاقات تشبه ورق كريمي دافئ فوق الخشب */
  --bg-card: #fff7e6;
  --bg-card-soft: #fce7c3;

  /* ألوان العسل والديكور */
  --accent: #f5b022;         /* عسل ذهبي */
  --accent-strong: #c77715;  /* عنبر داكن */
  --accent-soft: #fef3c7;    /* كريمي فاتح */
  --accent-soft2: #fffbeb;   /* ورق دافئ فاتح */
  --accent-pill: #3b2415;    /* نص غامق للأزرار */

  --border-subtle: #facc15;
  --border-soft: #fed7aa;

  --text-main: #26150e;
  --text-muted: #856854;
  --text-soft: #b08a6b;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;

  /* ظلال أفتح وأكثر دفئاً (بدون سواد قوي) */
  --shadow-soft: 0 12px 24px rgba(82,52,26,0.45);
  --shadow-card: 0 10px 22px rgba(82,52,26,0.5);
  --shadow-hero: 0 14px 28px rgba(82,52,26,0.55);

  --transition-fast: 160ms ease-out;

  /* صورة إطار الخشب للكروت فقط */
  --wood-board2: url("wood-board1.png");

  /* ====== Header tokens (نُقلت من site_header.php) ====== */
  --header-border: rgba(80, 47, 16, 0.85);
  --header-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);

  --accent-deep: #a16207;

  --nav-link: #3f2a17;
  --nav-link-active: #1b120d;
  --nav-link-hover-bg: rgba(250, 204, 21, 0.20);

  --pill-bg: rgba(255, 251, 235, 0.96);
  --pill-border: rgba(248, 191, 32, 0.65);
}

/* ========== Reset ========== */
*,
*::before,
*::after{
  box-sizing:border-box;
}

/* جعل الصفحة بطول الشاشة */
html,
body{
  height:100%;
}

/* خلفية الصفحة الآن بلون بني غامق فقط */
html{
  min-height:100%;
  background-color:#463b32;
}

body{
  margin:0;
  min-height:100vh;
  /* خلفية موحّدة بدون أي ظلال أو جريدينت */
  background: var(--bg-body);
  color:var(--text-main);
  -webkit-font-smoothing:antialiased;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;

  /* Flex عمودي حتى يبقى الفوتر في الأسفل */
  display:flex;
  flex-direction:column;
}

a{
  text-decoration:none;
  color:inherit;
}
img{
  max-width:100%;
  display:block;
}

/* دعم body.store-body نفس الثيم */
body.store-body{
  margin:0;
  min-height:100vh;
  background:transparent;
  color:var(--text-main);
  -webkit-font-smoothing:antialiased;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

/* ========== Page Shell ========== */
.page-shell{
  display:flex;
  flex-direction:column;
  min-height:100vh;
}

/* ========== Header ========== */
/* تحديث الهيدر: نقل CSS من site_header.php لمنع الوميض/تكبير الهيدر عند التحديث (FOUC) */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background:
    linear-gradient(
      135deg,
      #4b260f 0%,
      #7a4616 18%,
      #a86617 40%,
      #c97c17 58%,
      #f5b022 78%,
      #facc15 90%,
      #fef3c7 100%
    );
  border-bottom: 1px solid var(--header-border);
  box-shadow: var(--header-shadow);
  isolation: isolate;
}

/* ↓ هذا السطر يلغي الظل في صفحات المتجر (كما كان عندك) */
.store-body .site-header{
  box-shadow:none;
}

/* توهج ذهبي خفيف داخل الهيدر */
.site-header .header-bg-layer{
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(circle at 15% 0%, rgba(254, 243, 199, 0.85) 0, transparent 55%),
    radial-gradient(circle at 80% 120%, rgba(248, 181, 59, 0.75) 0, transparent 62%);
  z-index: -1;
}

.header-inner{
  max-width:1180px;
  margin:0 auto;
  padding: 0.75rem 1.5rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 2.5rem;
}

.brand{
  display:flex;
  align-items:center;
  gap: 1rem;
  min-width: 0;
  flex-shrink: 0;
}

/* (قديم) دائرة كأنها شعار ذهبي في منتصف لوحة خشبية — تركناه للتوافق إن كان مستخدماً بصفحات أخرى */
.brand-logo{
  width:46px;
  height:46px;
  border-radius:999px;
  background:
    radial-gradient(circle at 30% 0%,#fff7d6 0,#fde68a 35%,#f59e0b 70%,#7c2d12 100%);
  box-shadow:
    0 8px 20px rgba(0,0,0,0.6),
    0 0 0 3px rgba(15,10,5,0.9);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.2rem;
  font-weight:700;
  color:#3b200d;
}

/* (جديد) حاوية اللوجو بدون دائرة */
.brand-logo-wrap{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

/* (جديد) اللوجو نفسه */
.brand-logo-img{
  height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  image-rendering: auto;
}

.brand-text{
  display:flex;
  flex-direction:column;
  gap: 0.15rem;
}

.brand-title{
  font-family:"Georgia","Times New Roman",serif;
  font-size: 1.15rem;
  font-weight:700;
  color: var(--text-main);
  letter-spacing:0.06em;
  text-transform:uppercase;
}

.brand-sub{
  font-size: 0.82rem;
  color: #4b3424;
  line-height: 1.4;
  max-width: 260px;
  white-space: normal;
}

/* يمين الهيدر */
.header-right{
  display:flex;
  align-items:center;
  gap: 0.9rem;
  min-width: 0;
  justify-content: flex-end;
  flex: 1;
  position: relative; /* مهم للقائمة المنزلقة بالموبايل */
}

/* زر الهامبرغر (يُخفى على الديسكتوب) */
.menu-toggle{
  display: none;
  width: 38px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(248, 191, 32, 0.9);
  background: rgba(255, 251, 235, 0.96);
  padding: 0 8px;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.menu-line{
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #78350f;
}

/* Nav (الديسكتوب) */
.nav-links{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.5rem 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 251, 235, 0.88);
  border: 1px solid rgba(252, 211, 77, 0.85);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}

.nav-link{
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--nav-link);
  text-decoration: none;
  transition: all 0.18s ease-out;
  white-space: nowrap;
  border: 1px solid transparent; /* لتوافق القديم */
  text-transform: none;          /* لا نجبر uppercase هنا */
  letter-spacing: normal;
}

.nav-link:hover{
  background: var(--nav-link-hover-bg);
  color: var(--nav-link-active);
  transform:none;
  border-color: transparent;
}

.nav-link-active{
  background: var(--accent-soft);
  color: var(--nav-link-active);
  box-shadow: 0 0 0 1px rgba(217, 119, 6, 0.65);
  border-color: transparent;
}

/* حاوية مبدّل اللغة داخل الناف */
.nav-lang-wrapper{
  padding-inline-start: 0.35rem;
  margin-inline-start: 0.35rem;
  border-inline-start: 1px solid rgba(248, 191, 32, 0.6);
  display: flex;
  align-items: center;
}

/* Cart pill (الجديد) */
.cart-pill{
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  transition:
    transform 0.13s ease-out,
    box-shadow 0.13s ease-out,
    border-color 0.13s ease-out,
    background 0.13s ease-out;
  color: inherit; /* عكس القديم */
  font-size: inherit;
}

/* دعم الشكل القديم span.count (يبقى للتوافق إن وُجد) */
.cart-pill span.count{
  min-width:19px;
  height:19px;
  border-radius:var(--radius-pill);
  background:var(--accent);
  color:#3b2415;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:650;
  font-size:0.72rem;
}

.cart-pill:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  border-color: rgba(250, 204, 21, 0.95);
  background: rgba(255, 251, 235, 1);
}

.cart-icon-wrap{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(248, 191, 32, 0.8);
  background:
    radial-gradient(circle at 25% 0%, #fffbeb, #fde68a 55%, #fbbf24 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.cart-info{
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cart-label{
  font-size: 0.78rem;
  font-weight: 500;
  color: #4b3424;
}

.cart-count{
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-deep);
}

/* Language switch (الجديد داخل الهيدر) */
.lang-switch{
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 251, 235, 0.9);
  border: 1px solid rgba(252, 211, 77, 0.9);
  font-size: 0.76rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

/* دعم الروابط القديمة .lang-switch a */
.lang-switch a{
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--nav-link);
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.15s ease-out;
}

.lang-switch a:hover{
  background: rgba(254, 243, 199, 0.9);
  color: var(--nav-link-active);
  border-color: transparent;
}

.lang-switch a.active{
  background: rgba(248, 191, 32, 0.22);
  color: var(--nav-link-active);
  box-shadow: 0 0 0 1px rgba(248, 191, 32, 0.7);
  border-color: transparent;
}

/* (جديد) أسماء أصناف اللغة من PHP */
.lang-btn{
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--nav-link) !important;
  font-weight: 500;
  transition: all 0.15s ease-out;
}

.lang-btn:hover{
  background: rgba(254, 243, 199, 0.9);
  color: var(--nav-link-active) !important;
}

.lang-btn.active{
  background: rgba(248, 191, 32, 0.22);
  color: var(--nav-link-active) !important;
  box-shadow: 0 0 0 1px rgba(248, 191, 32, 0.7);
}

.lang-separator{
  opacity: 0.7;
  color: var(--nav-link) !important;
}

/* Responsive header */
@media(max-width:960px){
  .header-inner{
    gap: 1.5rem;
  }
  .brand-sub{
    max-width: 210px;
  }
}

/* تخطيط جديد للموبايل: هيدر نحيف + قائمة هامبرغر منزلقة */
@media (max-width: 768px){
  .header-inner{
    padding: 0.5rem 0.9rem;
    gap: 0.75rem;
  }

  .brand{
    flex: 1;
    justify-content: flex-start;
  }

  .brand-text{
    max-width: 200px;
  }

  .brand-title{
    font-size: 1.0rem;
  }

  .brand-sub{
    font-size: 0.76rem;
  }

  .header-right{
    flex: 0 0 auto;
    gap: 0.5rem;
  }

  .cart-pill{
    padding: 0.25rem 0.6rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  }

  .cart-icon-wrap{
    width: 26px;
    height: 26px;
    font-size: 1rem;
  }

  .cart-label{
    font-size: 0.7rem;
  }

  .cart-count{
    font-size: 0.78rem;
  }

  /* إظهار زر القائمة في الموبايل */
  .menu-toggle{
    display: inline-flex;
  }

  /* القائمة تتحوّل إلى لوحة منزلقة تحت الهيدر */
  .nav-links{
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.5rem);
    margin-inline: 0.75rem;
    padding: 0.6rem 0.7rem 0.7rem;
    border-radius: 18px 18px 24px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    background: rgba(255, 251, 235, 0.97);
    border: 1px solid rgba(248, 191, 32, 0.9);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    transform-origin: top;
    transform: translateY(-8px) scaleY(0.9);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
      opacity 0.18s ease-out,
      transform 0.18s ease-out,
      visibility 0.18s ease-out;
    z-index: 40;
  }

  .nav-link{
    padding: 0.48rem 0.8rem;
    font-size: 0.88rem;
    /* سيتم تحديد justify-content حسب لغة الصفحة عبر data-lang */
  }

  /* توجيه عناصر القائمة حسب اللغة بدون PHP داخل CSS */
  .site-header[data-lang="ar"] .nav-link{
    justify-content: flex-end;
  }
  .site-header[data-lang="en"] .nav-link{
    justify-content: flex-start;
  }

  .nav-lang-wrapper{
    margin-top: 0.35rem;
    padding-top: 0.4rem;
    border-top: 1px dashed rgba(248, 191, 32, 0.7);
    border-inline-start: none;
    padding-inline-start: 0;
    margin-inline-start: 0;
    justify-content: center;
  }

  .lang-switch{
    box-shadow: none;
    width: fit-content;
  }

  /* عند فتح القائمة من زر الهامبرغر */
  .site-header.menu-open .nav-links{
    opacity: 1;
    transform: translateY(0) scaleY(1);
    pointer-events: auto;
    visibility: visible;
  }

  /* دوران بسيط لخطوط الهامبرغر عند الفتح */
  .site-header.menu-open .menu-toggle .menu-line:nth-child(1){
    transform: translateY(2px) rotate(8deg);
  }
  .site-header.menu-open .menu-toggle .menu-line:nth-child(3){
    transform: translateY(-2px) rotate(-8deg);
  }
}

@media (max-width: 480px){
  .brand-logo-img{
    height: 54px;
    max-width: 150px;
  }

  .brand-text{
    max-width: 170px;
  }

  .header-inner{
    padding-inline: 0.65rem;
  }

  .nav-links{
    margin-inline: 0.55rem;
  }

  .cart-pill{
    padding-inline: 0.5rem;
  }
}

/* ========== Main Layout ========== */
.main{
  max-width:1180px;
  margin:18px auto 26px;
  padding:0 18px 22px;
  flex:1;
  display:flex;
  flex-direction:column;
  gap:24px;
  position:relative;
}

/* إلغاء أي ظل خلف أعلى المحتوى في كل الصفحات */
.main::before{
  content:none;
}

/* ========== Top 10 Slider (Hero) ========== */
/* جعل الـ Top 10 كلوحة كريمية بدون إطار أسود حولها */
.top10{
  position:relative;
  border-radius:26px;
  padding:20px 22px 22px;
  border:1px solid rgba(250,204,21,0.6);
  background:radial-gradient(circle at 8% 0%,#fff7e6 0,#fce7c3 45%,#fffbeb 100%);
  box-shadow:var(--shadow-hero); /* ظل بني دافئ */
  display:flex;
  flex-direction:column;
  gap:14px;
  margin:0;
  overflow:hidden;
}

.top10-img{
  position:relative;
  border-radius:20px;
  overflow:hidden;
  padding:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 50% 40%,
      #fff9ec 0%,
      #fce7c3 45%,
      #e6b97a 80%,
      #c6863a 100%);
  box-shadow:
    inset 0 0 0 1px rgba(148,81,25,0.35),
    inset 0 14px 24px rgba(0,0,0,0.16),
    inset 0 -10px 20px rgba(0,0,0,0.14),
    0 10px 22px rgba(148,81,25,0.45);
}

.top10-img::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:radial-gradient(circle at 50% 50%,
    transparent 55%,
    rgba(0,0,0,0.18) 100%);
  pointer-events:none;
}

.top10-img img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  position:relative;
  z-index:1;
}


/* Slide content */
.top10-slide{
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  gap:20px;
  align-items:center;
}
@media(max-width:800px){
  .top10-slide{
    grid-template-columns:1fr;
  }
}
.top10-img{
  border-radius:20px;
  overflow:hidden;
  background:#fef3c7;
  box-shadow:0 10px 22px rgba(148,81,25,0.45);
}
.top10-info{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.top10-info-title{
  font-size:1.05rem;
  font-weight:700;
  color:#3b2415;
  font-family:"Georgia","Times New Roman",serif;
}
.top10-info-text{
  font-size:0.86rem;
  color:#6b4a35;
  margin:0;
}
.top10-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:4px;
  font-size:0.78rem;
}
.top10-meta-badge{
  padding:4px 9px;
  border-radius:var(--radius-pill);
  background:#fffbeb;
  border:1px solid rgba(228,180,89,0.8);
  color:#7b3f10;
}
.top10-cta-row{
  margin-top:8px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}
.top10-price{
  font-size:0.92rem;
  font-weight:700;
  color:#92400e;
}
.top10-oldprice{
  font-size:0.78rem;
  color:#9a6b21;
  text-decoration:line-through;
  margin-left:4px;
}
.top10-discount-pill{
  padding:4px 9px;
  border-radius:var(--radius-pill);
  background:#f97316;
  color:#fff7ed;
  font-size:0.75rem;
}

/* ========== Sections (Categories + All Products) ========== */
/* بدون بانل زجاجي وبدون ظل خلف المجموعات */
.section{
  position:relative;
  margin:10px 0 0;
  background:transparent;
  border:none;
  box-shadow:none;
  padding:32px 4px 10px;
}

/* لا نستخدم لوح خشب أو خلفية إضافية */
.section::before{
  content:none;
}

/* بطاقة كريمية صغيرة فيها عنوان القسم */
.section-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:7px 14px;
  margin:0 4px 10px;
  border-radius:999px;
  border:1px solid rgba(250,204,21,0.85);
  background:linear-gradient(135deg,#fff7e6,#fce7c3);
  box-shadow:0 6px 14px rgba(82,52,26,0.45);
}
.section-title{
  font-size:0.96rem;
  font-weight:650;
  color:#3b2415;
  text-transform:uppercase;
  letter-spacing:0.08em;
}
.section-sub{
  font-size:0.78rem;
  color:#8b5f35;
}
.section-actions{
  display:flex;
  gap:6px;
}

/* Products grid */
.products-row{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 6px;
  padding: 6px 4px 4px;
  position: relative;
  width: 100%;
}

/* من 1200px وتحت: 3 منتجات في الصف */
@media (max-width: 1200px){
  .products-row{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* من 900px وتحت: 2 منتج في الصف */
@media (max-width: 900px){
  .products-row{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* موبايل صغير جداً: منتج واحد */
@media (max-width: 380px){
  .products-row{
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
    padding: 6px 2px 4px;
  }
}

/* ========== Product Card ========== */
.product-card{
  position:relative;
  border-radius:22px;
  border:7px solid transparent;
  background-image:
    linear-gradient(145deg, rgba(23,14,9,0.98), rgba(16,9,5,0.98)),
    var(--wood-board2);
  background-size:
    100% 100%,
    auto 150%;
  background-repeat:no-repeat,no-repeat;
  background-position:center,center;
  background-clip:padding-box,border-box;
  box-shadow:
    0 18px 36px rgba(0,0,0,0.95),
    0 0 0 1px rgba(0,0,0,0.7);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  isolation:isolate;
  transform:translateY(-6px);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    filter var(--transition-fast);
}

.product-card::before,
.product-card::after{
  content:none;
}

.product-card:hover{
  transform:translateY(-10px) scale(1.01);
  box-shadow:
    0 24px 52px rgba(0,0,0,0.98),
    0 0 0 1px rgba(250,204,21,0.8);
  border-color:rgba(253,224,171,0.95);
  filter:brightness(1.05);
}

/* صورة المنتج – بيج مع إحساس علبة حول البرطمان */
.product-card-img{
  position:relative;
  overflow:hidden;
  border-radius:14px 14px 10px 10px;
  padding:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:190px;

  /* وسط فاتح + أطراف أغمق */
  background:
    radial-gradient(circle at 50% 40%,
      #fff9ec 0%,
      #fce7c3 45%,
      #e6b97a 80%,
      #c6863a 100%);

  /* ظل داخلي خفيف ليشبه إطار العلبة */
  box-shadow:
    inset 0 0 0 1px rgba(148,81,25,0.35),
    inset 0 14px 24px rgba(0,0,0,0.16),
    inset 0 -10px 20px rgba(0,0,0,0.14);
}

/* طبقة لتغميق الأطراف أكثر (فينييت) */
.product-card-img::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:
    radial-gradient(circle at 50% 50%,
      transparent 55%,
      rgba(0,0,0,0.18) 100%);
  pointer-events:none;
}

/* طبقة إضاءة من الأعلى على العلبة */
.product-card-img::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:radial-gradient(circle at top,
    rgba(255,255,255,0.32),
    transparent 60%);
  pointer-events:none;
}

.product-card-img img{
  width:100%;
  height:auto;
  max-height:240px;
  object-fit:contain;
  display:block;
  position:relative;
  z-index:1; /* فوق طبقات الإضاءة والظل */
}


/* Card body */
.product-card-body{
  margin:7px 7px 10px;
  padding:9px 10px 11px;
  border-radius:16px;
  background:rgba(8,4,2,0.82);
  backdrop-filter:blur(5px);
  display:flex;
  flex-direction:column;
  gap:6px;
}
.product-name{
  font-size:0.86rem;
  font-weight:600;
  min-height:34px;
  color:#fef9c3;
}
.product-price-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:6px;
  font-size:0.78rem;
  color:#fde68a;
}
.price-pill{
  padding:4px 9px;
  border-radius:var(--radius-pill);
  background:#facc15;
  color:#422006;
  font-weight:650;
}
.old-price{
  text-decoration:line-through;
  color:#fed7aa;
  font-size:0.75rem;
}
.discount-badge{
  padding:3px 7px;
  border-radius:999px;
  background:#f97316;
  color:#fff7ed;
  font-size:0.73rem;
}
.card-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:6px;
  margin-top:5px;
}

/* أزرار داخل الكرت الخشبي */
.btn-sm{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:var(--radius-pill);
  border:1px solid transparent;
  font-size:0.75rem;
  cursor:pointer;
  white-space:nowrap;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}
.btn-primary{
  background:var(--accent-strong);
  color:#fefce8;
  box-shadow:0 10px 22px rgba(0,0,0,0.8);
}
.btn-primary:hover{
  background:#9a4f0a;
  box-shadow:0 14px 30px rgba(0,0,0,0.95);
  transform:translateY(-1px);
}
.btn-outline{
  background:rgba(0,0,0,0.25);
  border-color:rgba(254,249,195,0.3);
  color:#fef9c3;
}
.btn-outline:hover{
  border-color:var(--accent);
  background:rgba(255,251,235,0.12);
}
.btn-heart{
  border-radius:999px;
  border:1px solid rgba(254,215,170,0.9);
  width:26px;
  height:26px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0.9rem;
  background:rgba(0,0,0,0.3);
  color:#fed7aa;
}
.btn-heart:hover{
  border-color:#fb7185;
  background:#7f1d1d;
  color:#fee2e2;
}

/* ========== Table / forms (global) ========== */
.table{
  width:100%;
  border-collapse:collapse;
  font-size:0.8rem;
}
.table th,
.table td{
  border-bottom:1px solid #facc15;
  padding:6px 8px;
  text-align:start;
}
.table th{
  background:#fffbeb;
  color:#7b341e;
  font-weight:600;
}
.badge{
  display:inline-flex;
  align-items:center;
  padding:2px 6px;
  border-radius:999px;
  font-size:0.7rem;
}
.badge-green{background:#ecfdf3;color:#166534;}
.badge-gray{background:#f3f4f6;color:#4b5563;}
.badge-orange{background:#fff7ed;color:#c2410c;}

/* ===== فورمات عامة ===== */
.field{
  margin-bottom:8px;
  font-size:0.8rem;
}
.field label{
  display:block;
  margin-bottom:3px;
  color:#6b4a35;
}
input[type=text],
input[type=email],
input[type=password],
input[type=number],
textarea,
select{
  width:100%;
  border-radius:10px;
  border:1px solid #e5e7eb;
  padding:6px 8px;
  font-size:0.82rem;
  box-sizing:border-box;
  background:#fffbeb;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}
input:focus,
textarea:focus,
select:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 1px rgba(250,204,21,0.3);
  background:#fef3c7;
}
textarea{
  min-height:90px;
  resize:vertical;
}

/* فصل الفقرات داخل main */
.main p{
  margin:0 0 0.7rem;
  line-height:1.6;
}
.main p + p{
  margin-top:0.4rem;
}

/* ========== Footer (global) ========== */
.footer{
  border-top:1px solid rgba(0,0,0,0.8);
  background:linear-gradient(to top,#080503,#1a120d);
  backdrop-filter:blur(6px);
  margin-top:22px;
  flex-shrink:0;
}
.footer-inner{
  max-width:1180px;
  margin:0 auto;
  padding:16px 18px 18px;
  font-size:0.8rem;
  color:#fef9c3;
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1.2fr 1.2fr;
  gap:20px;
  align-items:flex-start;
}
@media (max-width:900px){
  .footer-grid{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width:640px){
  .footer-grid{
    grid-template-columns:1fr;
  }
}

.footer-title{
  font-size:0.9rem;
  font-weight:650;
  color:#fef3c7;
  margin-bottom:6px;
}
.footer-desc{
  margin:4px 0 6px;
  line-height:1.6;
  color:#fde68a;
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:0.78rem;
}
.footer-links a{
  color:#fef9c3;
  text-decoration:none;
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:2px 0;
}
.footer-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:1px;
  background:linear-gradient(90deg,#fbbf24,#f97316);
  transition:width 160ms ease-out;
}
.footer-links a:hover{
  color:#fffbeb;
}
.footer-links a:hover::after{
  width:100%;
}

.footer-bottom{
  margin-top:10px;
  font-size:0.74rem;
  color:#facc15;
  border-top:1px solid rgba(39,22,13,0.9);
  padding-top:6px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

/* ========================================================= */
/*          أقسام إضافية: Contact / Checkout / Cart / About */
/* ========================================================= */

.content{
  max-width:1100px;
  margin:0 auto;
  padding:16px;
  flex:1;
}

/* Hero في صفحات مثل contact */
.hero{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1.1fr);
  gap:14px;
  margin-bottom:14px;
}
@media(max-width:900px){
  .hero{
    grid-template-columns:1fr;
  }
}
.hero-card{
  border-radius:20px;
  padding:14px 14px 16px;
  border:1px solid rgba(250,204,21,0.8);
  box-shadow:0 18px 34px rgba(82,52,26,0.6);
  background:radial-gradient(circle at 0% 0%,#fff7e6,#fce7c3);
}
.hero-title{
  font-size:1.1rem;
  font-weight:600;
  margin-bottom:6px;
  color:#3b2415;
}
.hero-sub{
  font-size:0.85rem;
  color:#6b4a35;
  margin-bottom:10px;
}
.contact-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  font-size:0.8rem;
}
@media(max-width:700px){
  .contact-grid{
    grid-template-columns:1fr;
  }
}
.contact-item{
  border-radius:14px;
  background:#fffbeb;
  border:1px solid rgba(250,204,21,0.7);
  padding:8px 10px;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.contact-label{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:0.78rem;
  color:#856854;
}
.contact-icon{
  width:22px;
  height:22px;
  border-radius:999px;
  background:#fef3c7;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0.9rem;
  color:#b45309;
}
.contact-value{
  font-size:0.8rem;
  color:#3b2415;
}

.page-title{
  font-size:1rem;
  font-weight:600;
  margin-bottom:4px;
  color:#3b2415;
}
.page-sub{
  font-size:0.8rem;
  color:#856854;
  margin-bottom:10px;
}

/* كارد عام */
.card{
  border-radius:18px;
  background:#fffbeb;
  border:1px solid rgba(250,204,21,0.8);
  box-shadow:0 10px 22px rgba(82,52,26,0.5);
  padding:12px 14px 14px;
}

/* رسائل الخطأ والنجاح */
.error-msg{
  font-size:0.75rem;
  color:#b91c1c;
  margin-top:2px;
}
.flash-ok{
  border-radius:12px;
  padding:7px 10px;
  font-size:0.8rem;
  background:#ecfdf3;
  border:1px solid #bbf7d0;
  color:#166534;
  margin-bottom:10px;
}
.flash-error{
  border-radius:12px;
  padding:7px 10px;
  font-size:0.8rem;
  background:#fef2f2;
  border:1px solid #fecaca;
  color:#b91c1c;
  margin-bottom:10px;
}

/* أزرار عامة */
.btn-main{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 14px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,0.55);
  font-size:0.82rem;
  cursor:pointer;
  background:linear-gradient(135deg,#fbbf24,#f97316);
  color:#3b2415;
  box-shadow:0 8px 20px rgba(0,0,0,0.7);
}

/* ===== Checkout layout & cards ===== */
.checkout-layout{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  gap:18px;
  align-items:flex-start;
}
@media (max-width:900px){
  .checkout-layout{
    grid-template-columns:1fr;
  }
}
.checkout-card{
  border-radius:16px;
  background:#fffbeb;
  border:1px solid #facc15;
  box-shadow:0 16px 28px rgba(82,52,26,0.6);
  padding:12px 14px 14px;
}
.checkout-errors{
  border-radius:12px;
  padding:7px 10px;
  font-size:0.8rem;
  background:#fef2f2;
  border:1px solid #fecaca;
  color:#b91c1c;
  margin-bottom:8px;
}
.field-error{
  margin-top:3px;
  font-size:0.74rem;
  color:#b91c1c;
}
.checkout-summary-title{
  font-size:0.9rem;
  font-weight:600;
  margin-bottom:6px;
  color:#3b2415;
}
.checkout-summary-list{
  list-style:none;
  padding:0;
  margin:0;
  font-size:0.8rem;
  color:#6b4a35;
}
.checkout-summary-item{
  display:flex;
  justify-content:space-between;
  margin-bottom:4px;
}
.checkout-summary-total{
  border-top:1px solid #facc15;
  margin-top:6px;
  padding-top:6px;
  font-size:0.9rem;
  font-weight:600;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.checkout-total-value{
  color:#16a34a;
}
.checkout-note-small{
  font-size:0.74rem;
  color:#856854;
  margin-top:4px;
}
.checkout-actions{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
  align-items:center;
}

/* حقول العنوان بشكل Grid احترافي */
.address-row-2{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(0,0.8fr);
  gap:8px;
  margin-top:4px;
}
.address-row-3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:6px;
}
@media (max-width:600px){
  .address-row-2,
  .address-row-3{
    grid-template-columns:1fr;
  }
}
.address-row-2 input,
.address-row-3 input{
  font-size:0.8rem;
}

/* ===== Cart page layout & cards ===== */
.cart-layout{
  display:grid;
  grid-template-columns:minmax(0,2.2fr) minmax(260px,0.9fr);
  gap:18px;
  align-items:flex-start;
}
@media (max-width:900px){
  .cart-layout{
    grid-template-columns:1fr;
  }
}
.cart-items{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.cart-item-card{
  display:grid;
  grid-template-columns:90px minmax(0,1fr) auto;
  gap:12px;
  padding:10px 12px;
  border-radius:14px;
  background:#fffbeb;
  border:1px solid #facc15;
  box-shadow:0 10px 24px rgba(82,52,26,0.55);
  align-items:center;
}
@media (max-width:650px){
  .cart-item-card{
    grid-template-columns:70px minmax(0,1fr);
    grid-template-rows:auto auto;
  }
  .cart-item-actions{
    grid-column:1 / -1;
    justify-content:space-between;
  }
}
.cart-item-thumb{
  width:100%;
  aspect-ratio:1/1;
  border-radius:12px;
  overflow:hidden;
  background:#fef3c7;
  border:1px solid #fed7aa;
}
.cart-item-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.cart-item-main{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:0.82rem;
}
.cart-item-name{
  font-size:0.9rem;
  font-weight:600;
  color:#3b2415;
}
.cart-item-meta{
  font-size:0.76rem;
  color:#856854;
  line-height:1.5;
}
.cart-item-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:4px;
  align-items:center;
}
.cart-tag{
  border-radius:999px;
  padding:2px 7px;
  font-size:0.7rem;
  background:#fef3c7;
  color:#7b3f10;
}
.cart-item-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
  font-size:0.8rem;
}
.cart-price-line{
  text-align:end;
}
.cart-price-unit{
  font-weight:600;
  color:#3b2415;
  display:block;
}
.cart-price-unit span{
  font-size:0.78rem;
  color:#856854;
  font-weight:400;
}
.cart-price-original{
  font-size:0.75rem;
  color:#9ca3af;
}
.cart-price-original s{
  color:#9ca3af;
}
.cart-price-total{
  font-size:0.82rem;
  font-weight:600;
  color:#16a34a;
}
.cart-qty-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:2px 9px;
  border-radius:999px;
  background:#fef3c7;
  color:#92400e;
  font-size:0.75rem;
  font-weight:600;
  border:1px solid #facc15;
  min-width:32px;
  text-align:center;
}

/* Quantity controls */
.cart-qty-form{
  display:inline-flex;
  align-items:center;
  gap:4px;
  background:#fffbeb;
  border-radius:999px;
  padding:2px 4px;
  border:1px solid #fed7aa;
}
.qty-btn{
  border:0;
  width:22px;
  height:22px;
  border-radius:999px;
  background:#fef3c7;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0.8rem;
  cursor:pointer;
  color:#856854;
  transition:background 150ms ease-out, box-shadow 150ms ease-out, color 150ms ease-out; /* إصلاح syntax */
}
.qty-btn:hover{
  background:#fde68a;
  color:#7b3f10;
  box-shadow:0 4px 10px rgba(0,0,0,0.6);
}

/* Cart summary */
.cart-summary-card{
  border-radius:16px;
  background:#fffbeb;
  border:1px solid #facc15;
  box-shadow:0 14px 26px rgba(82,52,26,0.6);
  padding:12px 14px 14px;
  font-size:0.84rem;
}
.cart-summary-title{
  font-size:0.92rem;
  font-weight:650;
  color:#3b2415;
  margin-bottom:8px;
}
.cart-summary-row{
  display:flex;
  justify-content:space-between;
  margin-bottom:4px;
  color:#6b4a35;
}
.cart-summary-row-discount span:last-child{
  color:#b91c1c;
}
.cart-summary-total{
  border-top:1px solid #facc15;
  margin-top:8px;
  padding-top:8px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-weight:650;
  color:#3b2415;
}
.cart-summary-total-amount{
  font-size:0.96rem;
  color:#16a34a;
}
.cart-summary-actions{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  justify-content:flex-end;
}
.cart-empty-text{
  font-size:0.82rem;
  color:#856854;
}

/* ===== صفحة About ===== */
.about-main-shell{
  max-width:1100px;
  margin:0 auto;
  padding:16px;
}
.about-hero{
  border-radius:22px;
  padding:16px 16px 18px;
  border:1px solid rgba(250,204,21,0.8);
  box-shadow:0 18px 34px rgba(82,52,26,0.6);
  background:radial-gradient(circle at 0% 0%,#fff7e6,#fce7c3);
  margin-bottom:16px;
}
.about-hero-title{
  font-size:1.2rem;
  font-weight:700;
  margin-bottom:6px;
  color:#3b2415;
}
.about-hero-sub{
  font-size:0.85rem;
  color:#6b4a35;
  margin-bottom:10px;
  max-width:640px;
}
.about-hero-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:6px;
}
.about-tag{
  padding:3px 9px;
  border-radius:999px;
  border:1px solid rgba(250,204,21,0.75);
  background:#fffbeb;
  font-size:0.75rem;
  color:#856854;
}
.about-layout{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1.1fr);
  gap:14px;
}
@media(max-width:900px){
  .about-layout{
    grid-template-columns:1fr;
  }
}
.about-card{
  border-radius:18px;
  background:#fffbeb;
  border:1px solid rgba(250,204,21,0.8);
  box-shadow:0 10px 22px rgba(82,52,26,0.5);
  padding:12px 14px 14px;
}
.about-card-title{
  font-size:0.95rem;
  font-weight:600;
  margin-bottom:6px;
  color:#3b2415;
}
.about-card-text{
  font-size:0.8rem;
  color:#6b4a35;
  line-height:1.5;
}
.about-list{
  margin:6px 0 0;
  padding:0;
  list-style:none;
  font-size:0.8rem;
  color:#6b4a35;
}
.about-list li{
  display:flex;
  gap:6px;
  margin-bottom:4px;
}
.about-list li span.bullet{
  margin-top:2px;
  font-size:0.9rem;
}
.about-pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:8px;
  font-size:0.78rem;
}
.about-pill{
  padding:3px 8px;
  border-radius:999px;
  background:#fef3c7;
  border:1px solid rgba(250,204,21,0.75);
  color:#856854;
}
.about-timeline{
  margin-top:8px;
  font-size:0.79rem;
  color:#6b4a35;
}
.about-timeline-item{
  display:flex;
  gap:8px;
  margin-bottom:4px;
  align-items:flex-start;
}
.about-timeline-year{
  font-weight:600;
  color:#3b2415;
  min-width:50px;
}
.about-timeline-text{
  flex:1;
}
.about-highlight{
  border-radius:16px;
  background:#fefce8;
  border:1px dashed #facc15;
  padding:8px 10px;
  font-size:0.78rem;
  color:#854d0e;
  margin-top:10px;
}

.product-price-stack{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.price-main-line{
  font-size:0.9rem;
}

.price-old-line{
  font-size:0.75rem;
}

.old-price{
  text-decoration:line-through;
  color:#9ca3af;
}

html[dir="rtl"] .product-price-stack{
  align-items:flex-end;
}
html[dir="ltr"] .product-price-stack{
  align-items:flex-start;
}

/* ===== كود الإعلان والتنبيهات ===== */

.flash-msg {
  margin: 10px auto;
  max-width: 1180px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #ecfdf3;
  border: 1px solid #16a34a;
  color: #166534;
  font-size: 0.8rem;
}

/* توحيد مقاس صورة الـ Top10 (سلايدر + إعلان) افتراضياً */
.top10-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.top10-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== تصميم مخصص لمستطيل الإعلان ===== */
#announcement {
  position: relative;
  overflow: hidden;
  padding-top: 4px !important;
  padding-bottom: 6px !important;
  background:
    radial-gradient(circle at 0% 0%, #f97316 0%, #facc15 30%, #fdf6e3 55%, #fffbeb 100%);
  box-shadow: var(--shadow-hero);
  border-radius: 18px;
}
#announcement .top10-slide {
  align-items: center;
  column-gap: 16px;
}
#announcement .top10-img {
  aspect-ratio: auto;
  height: 120px;
  min-height: 120px;
  max-height: 120px;
  flex: 0 0 auto;
}
#announcement .top10-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#announcement .announcement-visual {
  border-radius: 14px;
  background: radial-gradient(circle at 30% 0%, #fef3c7, #f97316 60%, #fb923c 100%);
  box-shadow: 0 10px 32px rgba(248,113,22,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
}
.ann-icon-burst {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ann-icon-burst::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    rgba(255,255,255,0.3),
    rgba(249,250,251,0.05),
    rgba(254,243,199,0.7),
    rgba(249,250,251,0.05),
    rgba(255,255,255,0.35)
  );
  opacity: 0.9;
  animation: annBurstRotate 9s linear infinite;
}
.ann-icon-main {
  position: relative;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 0%, #ffffff, #fee2e2 40%, #fed7aa 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 36px rgba(15,23,42,0.45);
  animation: annFloat 3.3s ease-in-out infinite;
}
.ann-icon-emoji {
  font-size: 1.4rem;
  margin-bottom: 2px;
}
.ann-icon-text {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7c2d12;
}
@keyframes annBurstRotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes annFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}
#announcement .announcement-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(254,215,170,0.9);
  font-size: 0.75rem;
  color: #92400e;
}
.announcement-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(248,113,22,0.55);
  animation: annDotPulse 1.8s ease-out infinite; /* إصلاح syntax */
}
@keyframes annDotPulse {
  0%   { transform: scale(0.7); opacity: 0.6; }
  40%  { transform: scale(1);   opacity: 1;   }
  100% { transform: scale(1.5); opacity: 0;   }
}
.announcement-subline {
  font-size: 0.74rem;
  color: #7c2d12;
  opacity: 0.9;
}
.home-ann-cursor {
  display:inline-block;
  width:1px;
  background:#0f172a;
  margin-left:2px;
  animation:homeAnnBlink 1s steps(1,end) infinite;
  vertical-align:text-bottom;
}
@keyframes homeAnnBlink {
  0%,50% {opacity:1;}
  51%,100% {opacity:0;}
}
#home-ann-typed {
  display:inline-block;
  max-width: 28em;
  max-height:3.4em;
  overflow:hidden;
  overflow-wrap: break-word;
  white-space: normal;
}
@media (max-width: 800px) {
  #announcement .top10-slide {
    grid-template-columns: 1fr;
  }
  #announcement .announcement-visual {
    order: -1;
    margin-bottom: 6px;
  }
  #announcement .top10-img {
    height: 120px;
    min-height: 120px;
    max-height: 120px;
  }
}

/* تأكيد إضافي لإلغاء الخلفية خلف عناوين الأقسام */
.section::before{
  content: none !important;
}
