 :root {
   --dark-navy: #0A1E2C;
   --white: #fff;
   --red: #D32F2F;
   --input-border: #ccc;
   --purple: #c26dc4;
      --gold:#CEB99A;
      --gold-light: #ceb99a;
       --dark:       #0B1F3B;
      --body-bg: #fafafa;
      --green-light:#e6f4f7;
      --blue-light: #f5f8fa;
      --gray-light:       #f5f8fa;
      /* --kbz-text:       #334050; */
 }

 /* عام */
 html{
   direction: ltr;
   text-align: left;
 }

 body,
 h1,
 h2,
 h3,
 h4,
 h5,
 h6,
 p {
  font-family: 'Readex Pro','Tajawal', sans-serif;
    font-weight: 300;
 }
 a {
  text-decoration: none;
}
a.underlined{
  text-decoration: underline;
}
.default-text{
   font-size: 12px;
}
 /* إذا تريد تحميل CSS مُختلف لكل لغة */

 body {
   background: var(--body-bg);
   color: #333;
 }
[data-bs-toggle="offcanvas"] {
  transform: rotatey(180deg);
}
 .bg-dark-navy {
   background: var(--dark-navy) !important;
 }

 .text-white {
   color: var(--white) !important;
 }

 .btn-nav-cta {
   background: var(--red);
   color: var(--white);
 }

 .btn-nav-cta:hover {
   background: #B71B2D;
 }

 .search-bar {
  display: inline-flex;
  align-items: center;
  flex-direction: row-reverse;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;

  /* اختياري: تحدد أقصى عرض */
    width: 551px;
  /* يجعل العنصر يحافظ على عرضه الخاص به ويُمحور */
  margin: 0 auto;
}

 .search-bar .search-icon {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 40px;
   height: 40px;
   background: var(--gold);
   flex-shrink: 0;
   border: none;
   /* إزالة أي حدود افتراضية للزر */
 }



 .search-bar .search-input {
  flex: 1 1 auto;
  height: 100%;
  border: none;
  /* نقل الفاصل إلى الجهة الصحيحة بعد قلب الاتجاه */
  border-left: 1px solid #e9e3d7;
  padding: 0 16px;
  font-size: 14px;
  color: #152838;
  background: transparent;
  outline: none;
 }

 .search-bar .search-input::placeholder {
   color: #152838;
   opacity: .6;
 }



 /* Breadcrumb */
 .breadcrumb a {
   text-decoration: none;
 }

 .breadcrumb-item  a {
  padding: 0 0.5rem;
  color: black;
  font-size: 14px;

}
.breadcrumb-item + .breadcrumb-item::before {
  content: '>';
  padding: 0 0.5rem;
  color: black;
  font-weight: bold;
   font-size: 14px;
}
 /* Sidebar filters */
 .filter-sidebar h6 {
   font-size: .9rem;
 }

 .filter-sidebar .form-check-label,
 .filter-sidebar select {
   font-size: .85rem;
 }
/* شريط القائمة الفرعية */
.sub-menu-navbar {

  background-color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 0;
}

.sub-menu-list {
  display: flex;
  column-gap: 1rem; /* مسافة أفقية بين العناصر */
  list-style: none;
  padding-right: 0;
  margin-bottom: 0;
  align-items: center;
  flex-wrap: nowrap;
}

.sub-menu-list .nav-link {
  color: #333;
  padding: 0.5rem 0;
  border-right: 1px solid #ddd;
  transition: color 0.3s ease;
  cursor: pointer;
  font-family:'Readex Pro', 'Tajawal', sans-serif;
  font-weight: 400;
  font-size: 12px;
}

.sub-menu-list .nav-link:first-child {
  border-right: none;
}

.sub-menu-list .nav-link:hover,
.sub-menu-list .nav-link.active {
  color: #c81e26;
  text-decoration: none;
}
/* زر بطاقة الهديّة */
.ticket-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 32px;
  margin: 0.5rem;            /* مارجن حول الزر */
  padding: 0 0.5rem;         /* صفر عمودي وشوي أفقي */
  background: none;
  border: none;
  cursor: pointer;
  user-select: none;
}

/* الـ SVG الخلفي */
.ticket-button svg {
  position: absolute;
  top: 0; right: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

/* أيقونة الهدية تظهر قبل النص */
.gift-icon {
  position: relative;        /* نرفعها فوق الـ SVG */
  z-index: 1;
  margin:3px; /* مسافة بين الأيقون والنص */
  width: 16px;
  height: 16px;
  right: auto;                /* نلغي الـ absolute القديم */
  pointer-events: none;
}

/* نص البطاقة */
.ticket-text {
  position: relative;
  z-index: 1;
  left: auto;               /* نلغي الـ absolute القديم */
  font-size: 10px;
  font-weight: 300;
  color: #fff;
  white-space: nowrap;
}

/* .sub-menu-navbar .container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


.sub-menu-navbar .container::-webkit-scrollbar {
  display: none;
}


.sub-menu-list, .sub-menu-right {
  flex-wrap: nowrap;
  white-space: nowrap;
} */
/* ======= Mega‑Menu Overrides ======= */
.mt-after-navbar {
  margin-top: 80px;
}

/* ======= Mega‑Menu Overrides ======= */
.mega-nav {
  position: relative;
  margin-top: 80px;
  z-index: 1000;
}

.fixed-mega-menu {
  position: absolute;
  top: 100%;
  left: 38%;
  transform: translateX(-50%);
  width: 900px; max-width: 100%;
  background: #fff;
  padding: 2rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 100;
  display: none;
}
@media (min-width: 1200px) {
  .mx-custom {
    margin-left: 80px !important;   /* عدل الرقم حسب رغبتك */
    margin-right: 80px !important;
  }
}
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 90;
  display: none;
  pointer-events: none;
}

@keyframes slideDown {
  from { transform: translateX(-50%) translateY(-20px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0);    opacity: 1; }
}

.fixed-mega-menu .sections { flex-grow:1; }
.fixed-mega-menu .menu-heading {
  font-size:10px; font-weight:700; margin-bottom:.75rem;
}
.fixed-mega-menu .menu-list li { margin-bottom:.5rem;  font-size:12px;}
.fixed-mega-menu .menu-list a {
  color:#333; text-decoration:none; transition:color .2s;
}
.fixed-mega-menu .menu-list a:hover { color:#c82d48; }

/* تنسيق عمود البرومو */
.fixed-mega-menu .promo-col {
  flex-shrink:0; max-width:250px; text-align:center;
}
.fixed-mega-menu .promo-heading {
  font-weight:600; font-size:14px; margin-bottom:.75rem;
}
.fixed-mega-menu .promo-img {
  width:219px; height:162px; object-fit:contain;
  border-radius:.25rem; margin:0 auto;
}

.dropdown-toggle::after { display:none!important; content:none!important; }
.mega-nav .nav-item.dropdown > .nav-link {
  position: relative;
}

.mega-nav .nav-item.dropdown:hover > .nav-link,
.mega-nav .nav-item.dropdown.active-dropdown > .nav-link {
  color: inherit; /* أو لون مختلف إذا أردت */
}
.mega-nav .nav-item.dropdown:hover > .nav-link::after,
.mega-nav .nav-item.dropdown.active-dropdown > .nav-link::after {
  content: '';
  position: absolute;
  height: 3px;
  background: var(--gold);
  left: 10%;
  right: 10%;
  bottom: -2px;
  border-radius: 2px;
}

/* sidebar */

 #sideMenu {
  --bs-offcanvas-width: 300px;
  height: 100vh;
}

#sideMenu .offcanvas-body {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

#sideMenu .content-wrapper {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: .75rem 1rem;
}



  /* خطوط عامة */
  #sideMenu,
  #sideMenu a,
  #sideMenu h6,
  #sideMenu p {
    font-family:'Readex Pro', 'Tajawal', sans-serif;
  }

  /* عناوين الأقسام */
  #sideMenu h6 {
    font-size: .75rem;
    font-weight: 600;
    color: #6c757d;
    letter-spacing: .5px;
    margin-bottom: .25rem;
  }

  /* روابط القائمة */
  #sideMenu ul li a {
    display: block;
    padding: .25rem 0;
    font-size: .875rem;
    color: #333;
    text-decoration: none;
  }
  #sideMenu ul li a:hover {
    color: #c81e26;
  }

  /* الفوتر يلتصق بالأسفل وبدون padding أفقي */
  .offcanvas-footer {
    background-color: #0d1b2a;
    padding: 1rem 0;
    color: #fff;
    text-align: center;
      flex: 0 0 auto;

  }
  .offcanvas-footer p {
    font-size: .75rem;
    margin: 0 0 .5rem;
  }
  .offcanvas-footer .contact-link {
    display: inline-flex;
    align-items: center;
    font-size: .875rem;
    color: #fff;
    text-decoration: none;
    margin-bottom: .75rem;
  }
  .offcanvas-footer .contact-link i {
    font-size: 1.25rem;
    margin-inline-end: .5rem;
  }
  .offcanvas-footer .contact-link:hover {
    color: #c81e26;
  }
  .offcanvas-footer .social-icons a {
    color: #fff;
    font-size: 1.25rem;
    margin: 0 .5rem;
  }
  .offcanvas-footer .social-icons a:hover {
    color: #c81e26;
  }
  .offcanvas-footer .lang-switch {
    font-size: .75rem;
    margin-top: .75rem;
  }
  .offcanvas-footer .lang-switch img {
    height: 14px;
    vertical-align: middle;
    margin-inline-start: .25rem;
  }

 /* ===== Product Card Base ===== */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  transition: transform .3s, box-shadow .3s;
  height: 100%;
}

/* حركة خفيفة عند المرور */
.product-card .btn-cart {
  opacity: 0;
  transition: all .3s ease-in-out;
}

/* حركة خفيفة عند المرور */
.product-card:hover .btn-cart {
  opacity: 1;
}

.product-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* ===== 1) صندوق الصورة ===== */
/* يمكنك استخدام aspect-ratio إذا مدعوم، أو تحدد height صريحاً */
.card-img-wrapper {
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: #f5f5f5;

  /* هذه هي الزوايا */

}
.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== 2) جسم البطاقة ===== */
.card-body {
  padding: 10px 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: start;
}
.cat-product-card .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

/* عنوان المنتج */
.card-body .title {
  font-size: 13px;
  font-weight: 500;
  color: #222;
  margin-bottom: 4px;
  line-height: 1.2;
}

/* عدد المنتجات أو الأقسام */
.card-body .savings ,.card-body .savings-label {
  font-size: 12px;
  color: #777;
}

/* إزالة أي تزيين للرابط بالكامل */
a.text-decoration-none:hover .card-body .title {
  text-decoration: none;
}

 /* خصم */
.badge-discount {

  top: 16px;
  width: 38px;
  height: 38px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  line-height: 1;
  text-align: center;
}

/* الوضع الافتراضي: يمين */
.badge-discount.right {
  position: absolute;
  left: 16px;
}

/* وضع اليسار */
.badge-discount.left {

  right: 16px;
}


 .badge-discount span {
   font-size: 13px;
   font-weight: bold;
 }

 /* قلب المفضلة */
 .btn-fav {
   position: absolute;
   top: 16px;
   right: 16px;
   width: 32px;
   height: 32px;
   background: #fff;
   border: 2px solid #e1f0f8;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   transition: background .2s;
 }

 .btn-fav:hover {
   background: #f1f8fc;
 }

 .btn-fav svg {
   width: 18px;
   height: 18px;
   stroke: var(--text-dark);
   fill: none;
 }


 /* ازر السلة في السلة في بطاقة المنتج*/
 .btn-cart {
  position: absolute;
  top: 50px;
  right: 16px;
  width: 37px;
  height: 37px;
  background-color: var(--dark);
  border: 2px solid var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}

.btn-cart > img{

 background-color: var(--dark);
 border: 2px solid var(--dark);
}

.btn-cart:hover {
  background: var(--dark);
}

.btn-cart png {
  width: 18px;
  height: 18px;
  stroke: var(--text-dark);
  fill: none;
}
 /* صورة */
 .product-card > img {
   width: 100%;
   height: 150px;
  object-fit: cover;
   background: #fff;
 }


 .card-body {
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 10px;            /* مسافة مناسبة بين العناصر */
  margin-bottom: 10px;
  flex-wrap: nowrap;    /* منع التفاف العناصر */
  overflow: hidden;     /* إخفاء النص الزائد */

}

.btn-new {
  white-space: nowrap;
  padding: 6px 6px;      /* حجم زر مناسب وواضح */
  font-size: 8px;        /* تكبير الخط قليلاً */
  border-radius: 5px;     /* انحناءات أكبر */
  background: var(--purple);
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box; /* لضمان padding داخل العرض */
}

 .btn-new:hover {
   background: #a858a9;
 }

.bestseller {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-size: 8px;         /* تكبير الخط قليلاً */

}





 .bestseller i {
   font-size: 10px;
   margin: 1px;
 }

  /* brand */

.brand-logo {
  cursor: pointer;
  transition: transform 0.3s ease;
  width: 7.5vw;
}

.brand-logo:hover {
  transform: scale(1.1);
}

/* الوضع الافتراضي للشاشات الصغيرة (موبايل) */
.scroll-horizontal {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 0.5rem;

    /* إخفاء شريط التمرير */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.scroll-horizontal::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.scroll-item {
    flex: 0 0 auto;
}

/* من أول تابلت وفوق: استخدم تخطيط شبكي عادي وأوقف السحب */
@media (min-width: 768px) {
    .scroll-horizontal {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        overflow: visible;
        gap: 1rem;
    }

    .scroll-item {
        flex: none;
        width: 100%;
    }
}
/* للحجم الطبيعي (ديسكتوب) */
/* .banner-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
} */
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 6px;
  background-color: #E0D6BF;
  opacity: 1;
  border: none;
}

.carousel-indicators .active {
  background-color: #1B254B;
}

.carousel-indicators [data-bs-target]:hover {
  background-color: #1B254B;
  cursor: pointer;
}
/* لشاشات الموبايل */


 /* العنوان */
 .title {
  font-size: 12px;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 3px;
  font-weight: 500;

  /* min-height: 2.8em;
  max-height: 2.8em;   */
  overflow: hidden;
  word-break: break-word;
}
.section-title {
    display: flex;
    align-items: center;
}

.title-line {
    content: "";
    display: inline-block;
    width: 20px;
    height: 3px;
    background-color: var(--gold);
    border-radius: 5px;
}



 /* التوفير */
 .savings-label,.savings {
   font-size: 13px;
   color: var(--dark);
   margin-bottom: 4px;
 }

 /* السعر */
 .price-row {
   display: flex;
    justify-content: flex-start;
   align-items: baseline;
   gap: 12px;
   margin-bottom: 12px;
   color: var(--dark);
 }

 .price-row .current {
   font-size: 16px;
   color: var(--red);
   display: flex;
   align-items: baseline;
   gap: 4px;
 }

 .current .amount sup {
     font-size: 12px !important;
  vertical-align: super;
  line-height: 1;
   font-weight: 300;
  position: relative;
  top: -0.2em; /* يمكنك ضبطها حسب الحاجة */
 }

 .price-row .old-price {
   font-size: 12px;
   color: var(--text-muted);
   text-decoration: line-through;
   display: flex;
   align-items: baseline;
   gap: 4px;

 }

 /* Purchase panel */
    .card-purchase {
      background: #fff;
      border-radius: .5rem;
      border: 2px solid var(--gray-light);
      padding: 1.5rem;
      position: relative;
    }



    /* Details panel */
    .card-details {
      background: #fff;
      border-radius: .5rem;
      padding: 1.5rem;
      position: relative;
    }
   .card-details hr {
  height: 2px;
  background-color: #ccc;
  border: none;
  margin: 1rem 0;
}
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.product-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #6c757d;
}
.rating-stars i {
  font-size: 12px;
  margin-right: 1px;
}

.rating-stars .fa-solid {
  color: #000;
}

.rating-stars .fa-regular {
  color: #ccc;
}

.product-info .rating-count {
  color: #000;
  font-weight: 500;
  font-size: 10px;
}

.product-info .divider {
  width: 1px;
  height: 12px;
  background-color: #ccc;
  opacity: 0.5;
  margin: 0 6px;
}


.text-dark{
  color: var(--dark) !important;
}

    .text-gold{
      color: var(--gold) !important;
    }
    .features .feature-box {
      background: var(--blue-light);
      border-radius: .375rem;
      padding: .75rem;
      text-align: center;
      font-size: 12px;
    }

    .specs-table {
      background: #fff;
      border-radius: 1px;
      border: 1px solid #e9ecef;
      overflow: hidden;
      margin-block-end: 1rem;

    }
    .specs-table td {
      background: var(--green-light);
      width: 40%;
    }
    .specs-table td, .specs-table th {
      padding: .75rem;
      border-bottom: 1px solid #e9ecef;
      font-size: .875rem;
       font-weight: 500;

    }
     .specs-table td{
       border-bottom: 1px solid white;


    }

    /* Gallery */
    .gallery-main {
      position: relative;
    }



    .gallery-thumbs img {
      width: 80px; height: 60px;
      object-fit: cover;
      border-radius: .25rem;
      cursor: pointer;
    }
    .gallery-thumbs img.thumb {
  border: 2px solid transparent;
  cursor: pointer;
}
    .gallery-thumbs img.thumb.active {
  border-color: #000; /* أو أي لون تفضله */
}
    .gallery-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255,255,255,0.8);
      border: none;
      width: 2.5rem; height: 2.5rem;
      display: flex;
      align-items: center; justify-content: center;
      border-radius: 50%;
    }
    .gallery-main .gallery-nav.prev {
  right: 1rem;
}

.gallery-main .gallery-nav.next {
  left: 1rem;
}

.gallery-main .gallery-nav i {
  font-size: 1rem;
  color: var(--color-primary, #0A2444);
}
.gallery-thumbs-wrapper {
  position: relative;
  overflow: hidden;
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.thumb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}
.thumb-nav.prev { right: 0.25rem; }
.thumb-nav.next { left: 0.25rem; }
.thumb-nav i {
  font-size: 0.9rem;
  color: var(--color-primary, #0A2444);
}
.variant-description-bar {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(102, 102, 102, 0.85); /* رمادي (#666) بشفافية 85% */
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    padding: 6px 12px;
    line-height: 1.4;
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    z-index: 2;
}

    /* Layout */
    .product-top .col-lg-3 { margin-bottom: 1.5rem; }
    @media(min-width:992px) {
      .product-top { display: flex; gap: 1rem; }
      .product-top .col-lg-3,
      .product-top .col-lg-5,
      .product-top .col-lg-4 { flex: 1 0 auto; }
    }
 /* Footer */
 .bg-gray-light {
  background-color: #f2f7fa;




}
.bg-dark-navy
 {
  background-color: var(--dark-navy);
}


 /* Common widget styling */
 .widget {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   padding: 4px 8px;
   font-family:'Readex Pro', 'Tajawal', sans-serif;
   color: #ffffff;
   white-space: nowrap;
   /* منع التفاف النص */
   overflow: hidden;
   text-overflow: ellipsis;
   /* إظهار "..." إذا طال النص */
 }


 .widget__body {
   text-align: left;
   line-height: 1.2;
 }

 .widget__label {
   display: block;
   font-size: 12px;
   font-weight: 500;
 }

 .widget__icon-image {
   flex-shrink: 0;
   /* width: 28px; */
   /* عرض الأيقونة */
   /* height: 28px; */
   /* ارتفاع الأيقونة */
   object-fit: contain;
 }

 .widget__value {
   display: block;
   font-size: 12px;
   font-weight: 400;
   color: white;
 }

 .widget__badger{
    padding: 5px;
    background-color: #ceb99a;
    position: absolute;
    border-radius: 20px;
    /* height: 20px; */
    line-height: 0.8rem;
    color: white;
    height: 20px;
    width: 20px;
    text-align: center;
    top: -8px;
    left: 10px;
 }

 /* Specific widget tweaks */


 .widget__label {
   color: var(--gold);
 }



 /* lang */
 .lang-switcher {
   display: inline-flex;
   align-items: center;
   gap: 4px;
   /* المسافة بين العناصر */
   color: #ffffff;
   /* لون النص */
   font-family:'Readex Pro', 'Tajawal', sans-serif;
   font-size: 16px;
   /* حجم النص */
   text-decoration: none;
   cursor: pointer;
 }

 .lang-switcher__code {
   font-weight: 500;
 }

 .lang-switcher__sep {
   opacity: 0.6;
   /* لتفتيح قليلًا */
 }

 .lang-switcher__flag {
   width: 24px;
   /* عرض العلم */
   height: auto;
   display: block;
 }

 /* إذا أردت تفاعل عند المرور بالماوس */
 .lang-switcher:hover {
   opacity: 0.8;
 }


 /* services*/

 .service-box {
   color: white;
   transition: all 0.3s ease-in-out;
 }



 .service-box h6 {
   font-size: 12px;
   margin-bottom: 5px;
   color: var(--gold);
   font-weight: 400;
 }

 .service-box p {
   font-size: 8px;
   margin: 0;
 }

 /* .service-box img {
   filter: brightness(0) invert(1);
 } */



 /* .service-box:hover {
   transform: translateY(-3px);
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
 } */
/* more button */

 .button-container {
  display: flex;
  justify-content: center;  /* توسيط أفقي */
  margin: 20px 0;           /* مسافة فوق وتحت */
}

.btn-kbz {
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(31, 48, 72, 0.3);
  transition: background-color 0.3s ease;
}

.btn-kbz-primary {
  background-color: var(--dark);
}
.btn-kbz-primary:hover {
  background-color: #152135;
}
 .btn-kbz-outline-primary{
     color: var(--dark);
     border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
     border-color: var(--dark);
 }

 .btn-kbz-secondary {
     background-color: var(--gold);
 }
 .btn-kbz-secondary:hover {
     background-color: #b38b00; /* نسخة أغمق من --gold */
 }
.btn-kbz2[disabled] {
  background-color: #c8d0d8;
  color: #fff;
}

.btn-kbz2[disabled]:hover {
  background-color: #c8d0d8;
  color: var(--dark);
}
 .btn-kbz-primary:disabled {
     color: #FFFFFFFF;
     pointer-events: none;
     background-color: #212529;
     border-color: #212529;
     opacity: 0.65;
 }

.ad-img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* pagination */
/* تجبر الـ pagination على العرض من اليمين لليسار */
.pagination {
  display: flex;
  justify-content: center;    /* تمركز أفقياً */
  direction: ltr;              /* مهما كان اتجاه الصفحة، نبقي اتجاه الأرقام LTR */
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

/* عزل أزرار الصفحات عن بعضها بمسافة صغيرة */
.pagination .page-item {
  margin: 0 0.2rem;
}

/* شكل رابط الصفحة */
.pagination .page-link {
  border: none;                /* إزالة الإطار الافتراضي */
  background-color: transparent;
  color: black;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: background-color .2s, color .2s;
}

/* الحالة النشطة */
.pagination .page-item.active .page-link {
  background-color: #132841;
  color: #ffffff;
}

/* الحالة المعطّلة */
.pagination .page-item.disabled .page-link {
  color: #cccccc;
  pointer-events: none;
}

/* هُوفر على روابط الصفحات */
.pagination .page-link:hover {
  background-color: #f0f5f9;
  text-decoration: none;
}



/* يمكنك إذا أحببت قلب ترتيب العناصر (مثلاً للـ RTL) */
.pagination {
  direction: ltr;
  /* flex-direction: row-reverse; */
}
.arabic-wrap {
  white-space: normal !important;
  word-break: break-all !important;
  overflow-wrap: break-word !important;
}
/* .fa-heart{
    color: black;
} */


 .btn-kbz-gold {
     background-color: var(--gold);
 }




.offer-bg {
  /* background-color: #f7f9fc; */
  background-image: url('/frontend/img/decor-pattern.png');


  background-repeat: no-repeat;
  background-position: center;
  background-size: 150px 150px;
  min-height: 120px;
  border-radius: 8px;    /* إذا كنت تريد حواف منحنية هنا بدل إعادة كتابتها في HTML */
  padding: 1rem;         /* حشوة داخلية تراعي المساحة حول النص */
  display: flex;
  align-items: center;
  justify-content: center;
}
.countdown-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem; /* مسافة أفقية بين المربعات */
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.countdown-label {
  font-weight: 600;
  font-size:12px;
  white-space: nowrap;
}

.countdown-box {
  background-color: var(--dark); /* نفس لون مربع الخلفية (navy-800 تقريباً) */
  color: white;
  border-radius: 0.5rem;
  width: 3.5rem;
  padding: 0.5rem 0; /* للحفاظ على تناسب رقمي ـاً عموديّاً */
  text-align: center;
}

.countdown-value {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.countdown-unit {
   font-size:12px;
  line-height: 1;
  margin-top: 0.25rem;
}
.bg-active-item {
    background-color: #e6f4f7 !important;
}
.navbar-toggler{
  border: none!important;
  padding: 0px;
}
.navbar-toggler:focus,.navbar-toggler:active{
  border: none!important;
}
.navbar-toggler img{
  height: 18px;
  filter: brightness(0) invert(1) opacity(1);
}
.navbar-brand{
  margin-right: 0px;
}
@media(max-width: 991.98px) {
  .iconat .widget__body{
      display: none;
  }
  .widget__icon-image{
      height: 30px!important;
      width: 30px!important;
  }
}
/* Overlay for dimming the screen */
.dim-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1000;
  /* Higher than navbar but lower than dropdown */
  display: none;
}

/* Custom dropdown styles */
.naver-dropdown {
  position: absolute;
  top: 40px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  z-index: 1050;
  /* Above the overlay */
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  padding: 8px;
  cursor: pointer;
}

.autocomplete-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  margin-left: unset;
  margin-right: 8px;
}


.autocomplete-item:hover {
  background-color: #f8f9fa;
}

/* Shimmer effect styles */
.shimmer {
  background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 10px;
    overflow: hidden;
}

  @keyframes shimmer {
    0% {
      background-position: 200% 0;
    }
    100% {
      background-position: -200% 0;
    }
  }

.shimmer-item {
  display: flex;
  align-items: center;
  padding: 8px;
}


.shimmer-item .img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  margin-left: 8px;
}

.shimmer-item .img {
  margin-right: 8px;
  margin-left: unset;
}

.shimmer-item .text {
  height: 16px;
  width: 200px;
}

.shimmer-item .text + .text {
  width: 60%;
  margin-top: 4px;
}
 .custom-shipping .btn-check:checked + .shipping-btn {
     border-color: #2ABBD8;
     background-color: transparent;
     box-shadow: 0 0 0 0.25rem #2ABBD8;
 }

 .custom-shipping .shipping-btn {
     border: none;
 }
.form-control-kbz {
    padding: .5rem .75rem;
    background-color: #F5F8FA;
    border: var(--bs-border-width) solid #F5F8FA;
}
 .form-select-kbz {
     padding: .5rem .75rem .5rem 2.25rem;
     background-color: #F5F8FA;
     border: var(--bs-border-width) solid #F5F8FA;
 }
.activate-btn{
    background-color: #E6EDF5 !important;
    border-color: #E6EDF5 !important;
}

.order-action-col {
    min-width: 180px;
}

.order-products-scroll {
    /* height: 200px; */
    max-height: 200px;
    overflow-y: auto;
    padding-left: 5px;
}
/* إزالة الـ animation من Offcanvas */
.user-sidebar-offcanvas {
  transition: none !important;
}

.user-sidebar-offcanvas.show {
  transform: none !important;
}

/* تأكيد تغطية الشاشة بالكامل */
.user-sidebar-offcanvas.w-100 {
  width: 100% !important;
  max-width: 100% !important;
}

.cart-success-modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 700px;
  width: 95%;
  margin: 60px auto;
  position: relative;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  padding: 32px 24px;
}

/* Cart Success Modal Styles */
#cart-success-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.15);
  align-items: center;
  justify-content: center;
}

.cart-success-modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 700px;
  width: 95%;
  margin: 60px auto;
  position: relative;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  padding: 32px 24px;
}

.cart-success-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 22px;
  color: #888;
  cursor: pointer;
}

.cart-success-modal-body {
  display: flex;
  align-items: center;
  gap: 32px;
}

#cart-success-modal-img img {
  max-width: 180px;
  border-radius: 10px;
}

#cart-success-modal-message {
  margin-bottom: 18px;
}

.cart-success-modal-info {
  flex: 1;
}

.cart-success-modal-subtotal {
  font-size: 18px;
  margin-bottom: 18px;
}

.cart-success-modal-subtotal #cart-success-modal-subtotal {
  font-weight: bold;
  font-size: 22px;
  margin-right: 10px;
}

.cart-success-modal-total {
  font-size: 18px;
  margin-bottom: 18px;
}

.cart-success-modal-total #cart-success-modal-total {
  font-weight: bold;
  font-size: 22px;
  margin-right: 10px;
}
.cart-success-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-success-modal-buttons form {
  margin: 0;
}

.cart-success-btn-primary {
  background: #223046;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 0;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 8px;
  width: 100%;
}

.cart-success-btn-secondary {
  background: #cbb893;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 0;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  text-decoration: none;
  display: block;
}

/* Responsive styles for mobile */
@media (max-width: 600px) {
  .cart-success-modal-body {
    flex-direction: column;
    gap: 16px !important;
  }

  #cart-success-modal-img img {
    max-width: 100px;
  }

  .cart-success-modal-content {
    padding: 24px 16px;
    margin: 20px auto;
  }
}
/* Payment Method UI Styles */
.payment-card-bg {
  background: #f0f8fb;
}
.payment-icons-row {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.payment-card-type-icon {
  display: inline-flex;
  align-items: center;
  width: 56px;
  justify-content: center;
  height: 24px;
}
.payment-card-type-label {
  vertical-align: middle;
  font-size: 1.1rem;
}
.payment-card-type-row {
  min-height: 40px;
}
.payment-card-form {
  background: #fff;
  border: 1px solid #e3eaf1;
  padding: 1.5rem 1.5rem;
}
.payment-card-form-img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 8px #e3eaf1;
}
.payment-card-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.payment-card-form-change-btn {
  font-size: 0.95rem;
  padding: 0.25rem 1rem;
}
.payment-card-form-checkbox {
  margin-top: 0.5rem;
}

/* Payment Method UI Styles (pm- prefix) */
.pm-bg-blue { background: #f0f8fb; }
.pm-icons-row { margin-top: 0.5rem; display: flex; align-items: center; flex-wrap: wrap; }
.pm-card-inner { background: #fff; border: 1px solid #e3eaf1; }
.pm-card-type-label {
  font-size: 1.1rem;
  width: 100%;
  display: flex;
  align-items: center;
}
.pm-card-type-icon {
  width: 56px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
}
.pm-card-type-row { min-height: 48px; margin-bottom: 1rem; }
.pm-card-type-row:last-child { margin-bottom: 0; }
.pm-card-selected-icon { display: inline-flex; align-items: center; width: 40px; justify-content: center; }
.pm-card-selected-label { font-size: 1.1rem; }
.pm-expiry-month { max-width: 90px; }
.pm-expiry-year { max-width: 110px; }
.pm-z-1000 { z-index: 1000; }
.pm-vertical-middle { vertical-align: middle; }
.pm-card-form-img { max-width: 100%; border-radius: 10px; box-shadow: 0 2px 8px #e3eaf1; }
.pm-gap-2 { gap: 0.5rem; }
.pm-card-img {
  height: 32px;
  max-width: 48px;
  object-fit: contain;
}
.pm-card-type-label .ps-2 {
  line-height: 32px;
}
[dir="rtl"] .timeline {
  padding-right: 40px;
}
[dir="ltr"] .timeline {
  padding-left: 40px;
}
[dir="rtl"] .timeline-step {
  position: relative;
  padding-right: 30px;
}

[dir="ltr"] .timeline-step {
  position: relative;
  padding-left: 30px;
}

[dir="rtl"] .step-icon {
  position: absolute;
  top: 5px;
  right: -20px;
  width: 28px;
  height: 28px;
  z-index: 2;
}
[dir="ltr"] .step-icon {
  position: absolute;
  top: 5px;
  left: -20px;
  width: 28px;
  height: 28px;
  z-index: 2;
}

/* شكل الدائرة المكتملة */
.completed {
  background-color: #28a745;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* شكل الدائرة غير المكتملة */
.pending {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(0, 123, 255, 0.1);
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* شكل الدائرة الملغية */
.canceled {
  background-color: #dc3545;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* الخط المتقطع */
[dir="rtl"] .timeline-step::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 44px;
  width: 2px;
  height: calc(100% - 10px);
  border-right: 2px dashed #d6bfa7;
  z-index: 1;
}
[dir="ltr"] .timeline-step::after {
  content: "";
  position: absolute;
  left: -7px;
  top: 44px;
  width: 2px;
  height: calc(100% - 10px);
  border-left: 2px dashed #d6bfa7;
  z-index: 1;
}

/* إزالة الخط بعد آخر عنصر */
.timeline-step:last-child::after {
  display: none;
}
.form-gift .form-control {
  font-size: 12px
}

.form-gift h6 {
  font-size: 15px;
  margin-bottom: 15px;
}

.card-gift {
  margin: 0 -5px;
  padding: 10px;
  text-align: center;
  background: var(--body-bg);
}

.card-gift label,
.form-gift label {
  font-size: 12px
}

.gift-img {
  height: 110px;
  display: block;
  margin: -20px auto 0;
  object-fit: contain;
}

.preview-gift {
  display: flex;
  background-image: url('/frontend/img/gift-preview.png');
  background-size: 100% 100%;
  height: 180px;
  background-size: 100% 100%;
  border-radius: 7px;
  width: 380px;
}
.breadcrumb {
  font-size: 12px;
}
.preview-img {
  border-right: 1px dashed #99e1f2;
  margin: 20px 0;
}


.preview-img img {
  width: 90px;
  margin: 0 20px;
}

.preview-gift h6 {
  font-size: 12px
}

.gift-content {
  width: 70%;
  padding: 16px;
  font-size: 10px;

}

.gift-content label {
  font-size: 11px;
  margin-bottom: 8px;
}
.product-card{
position: relative;
}
.gift-amount {
  background: #152838;
  padding: 3px;
  color: #fff;
  width: 135px;
  margin-bottom: 4px;
  text-align: center;
  font-size: 15px;
  border-radius: 5px;
  max-width: 85%;
}

.gift-amount img {
  margin: 0 2px;
}

.code-target {
  background: #ceb99a;
  padding: 5px;
  width: 85px;
  margin: 0 5px;
  color: #fff;
  border-radius: 5px;
  max-width: 45%;
}

.amount-target {
  margin: 0 2px
}

.gift-content h5 {
  color: var(--gold-light);
  font-size: 16px;
}

.recipient-name-target {
  height: 25px;
  overflow: hidden
}

.message-target {
  font-size: 10px;
  height: 20px;
  overflow: hidden
}
.accordion-item {
    border: none;
    margin-bottom: 8px;
  }

  /* السؤال مغلق: رمادي فاتح جدًا (#f5f7fa) */
  .accordion-button.collapsed {
   background-color: #f5f7fa;
       color: #212529;
    box-shadow: none;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 400;
  }

  /* السؤال مفتوح: أزرق فاتح (#eaf4ff) */
  .accordion-button:not(.collapsed) {
    background-color: #eaf4ff;
    color: #212529;
    box-shadow: none;
  }

  /* السهم */
  .accordion-button .fa-chevron-down {
    transition: transform .2s ease;
  }
  .accordion-button:not(.collapsed) .fa-chevron-down {
    transform: rotate(180deg);
  }

  /* إزالة أي حدود داخلية للزر */
  .accordion-button {
    border: none;
  }

  /* جسم الإجابة */
  .accordion-body {
    background-color: #ffffff;
    padding: 12px 16px;
    color: #6c757d;
    font-size: .9rem;
    line-height: 1.6;
  }

  /* خط فاصل رقيق بين السؤال والإجابة */
  .accordion-collapse {
    border-top: 1px solid #dee2e6;
  }
.gift-card {
  display: none;
  position: absolute;
  top: 30px;
  background: #1e344c;
  color: #fff;
  font-size: 10px;
  width: 33vw;
  left: -290px;
  text-align: left;
  padding: 0 15px;
  font-weight: 300;
  z-index: 100;
  transition: all 0.7s ease;
}

.gift-card h6 {
  color: var(--gold-light);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 300;
}
.gift-card-desc{
margin-left: -3px ;
}
.gift-card img {
  width: 93%;
}

.btn-gold {
  background: var(--gold-light);
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
}



.total-gift-price {
  background: #f9f8f5;
  border: 1px solid #f7ead7;
}

.box-order-preview {
  min-height: 45px;
}

 .btn-kbz2 {
   background: var(--dark);
   color: #fff;
   height: 50px;
 }
 .scroll-brands {
   overflow: auto;
 }

 .brands {
   display: flex;
   justify-content: space-around;
 }
.footer-content{
  padding: 3rem 2rem;
  color: #fff;
  font-weight: 100;
  }

  .footer-content a {
    color: #fff;
  }
    .mt2-after-navbar {
      margin-top: 35px;
    }
     .form-gift .form-control {
       font-size: 12px;
     }
 @media only screen and (max-width: 768px) {
   .m-mob-0 {
     margin: 0 !important;
   }
         .search-form {
           margin-top: 4em;
         }
    .mt-after-navbar {
      margin-top: 1rem;
    }
   .gift-content {
     padding: 8px;
   }

   .card-gift {
     margin-bottom: 2em;
   }

   .recipient-name-target {
     font-size: 14px;
     height: 16px;
   }

   .preview-img img {
     margin: 10px;
   }

   .gift-content h5 {
     font-size: 14px;
     height: 16px;
   }

   .scroll-brands {
     overflow: auto;
   }

   .brands {
     width: fit-content;
   }

   .brand-logo {
     width: 30vw;
     margin: 0 10px;
   }
 }

@media only screen and (max-width: 495px) {
  .preview-gift {
    width: 65vw;
    height: auto;
  }
}

@media only screen and (max-width: 390px) {
  .preview-gift {
    width: 70vw;
    height: auto;
  }

  .preview-img img {
    margin: 0 !important;
  }
}
.refund-item-card {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.refund-item-card:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.1);
}

.refund-item-card .form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.refund-quantity:disabled {
    background-color: #f8f9fa;
    opacity: 0.6;
}

.refund-total-amount {
    /* font-size: 1.1rem; */
    color: #28a745;
    /* font-weight: bold; */
}

.select-all-items, .deselect-all-items {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
}

.modal-lg {
    max-width: 800px;
}

.refund-item-total {
    font-weight: 600;
    color: #495057;
}

.refund-btn {
    transition: all 0.3s ease;
}

.refund-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.quantity-display {
  cursor: default !important;
  pointer-events: none;
  opacity: 0.8;
}

.quantity-display:focus {
  box-shadow: none !important;
  border-color: #dee2e6 !important;
}
.light-input {
  background: #f4f8fb;
}

.light-input:focus {
  background: #ebf6fa;
}

.border-light {
  border-color: #f9fbfa !important;
}

.active-category {
  border-color: #2B4F6B !important;
}

#bannerCarousel .carousel-item {
  height: clamp(300px, 50vh, 300px);
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
  .error-message {
  display: block;
  color: #C72C41;
  font-size: 10px;
}


.gift-explian-message {
  display: block;
  color: #C72C41;
  font-size: 10px;
}

.gift-explian-message i {
  margin: 0 5px;
  border-radius: 50%;
  border: 1px solid;
  padding: 3px 6px;
}
.gift-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 90;
  display: none;
}

.offcanvas-backdrop {
  width: 0 !important;
  transition: all 0.7 ease-in-out;
}

.offcanvas-backdrop.show {
  width: 100vw !important;
}
.voucher-desc {
  display: flex;
  align-items: center;
}

.vouchers-section small {
  font-size: 12px;
}

.vouchers-section * {
  transition: all .5 ease-in-out;
}
.wallet-section {
  font-size: 14px;
}
.card {
border-color: #EBF6FA;
}
.offcanvas-backdrop.show {
  opacity: 0.3;
}
.currencies-dropdown{
  width: 150px !important;
}
.currencies-dropdown a{
  display: flex;
  color: black;
  padding: 5px;
}
.currencies-dropdown a .fi{
  font-size: 25px;
  border-radius: 20px;
  height: 25px;
}
.mega-nav .nav-link {
  white-space: nowrap;   /* ممنوع يكسر السطر */
}