 :root {
   --dark-navy: #0A1E2C;
   --white: #fff;
   --red: #D32F2F;
   --input-border: #ccc;
   --purple: #c26dc4;
      --gold:#C1A36E;

       --dark:       #0B1F3B;
      --green-light:#e6f4f7;
      --blue-light: #f5f8fa;
      --gray-light:       #f5f8fa;
      /* --kbz-text:       #334050; */
 }

 /* عام */
 html[dir="rtl"] {
   direction: rtl;
   text-align: right;
 }

 html[dir="ltr"] {
   direction: ltr;
   text-align: left;
 }

 body,
 h1,
 h2,
 h3,
 h4,
 h5,
 h6,
 p {
   font-family: 'Tajawal', sans-serif;

 }
 a {
  text-decoration: none;
}
.default-text{
   font-size: 12px;
}
 /* إذا تريد تحميل CSS مُختلف لكل لغة */

 body {
   background: var(--white);
   color: #333;
 }

 .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;
   /* قلب اتجاه العناصر لترتيب row-reverse */
   flex-direction: row-reverse;
   height: 40px;
   border: 2px solid #ffffff;
   border-radius: 8px;
   background: #ffffff;
   overflow: hidden;
 }

 .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-right: 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-left: 0;
  margin-bottom: 0;
  align-items: center;
  flex-wrap: nowrap;
}

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

.sub-menu-list .nav-link:first-child {
  border-left: 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; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

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

/* نص البطاقة */
.ticket-text {
  position: relative;
  z-index: 1;
  right: 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;
} */
/* sidebar */

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

  /* نجعل الجسم بلا padding ولا scroll */
  #sideMenu .offcanvas-body {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
  }

  /* المحتوى العلوي بلا scroll وبمسافات مضغوطة */
  #sideMenu .content-wrapper {
    padding: .75rem 1rem;
    overflow: hidden;
  }

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

  /* عناوين الأقسام */
  #sideMenu h6 {
    font-size: .75rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    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;
  }
  .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 cards */


.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
   transform: translateY(-5px); /* حركة خفيفة عند الـ hover */
   box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); /* زيادة الظل عند التمرير */
}


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

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

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

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

  left: 16px;
}


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

 /* قلب المفضلة */
 .btn-fav {
   position: absolute;
   top: 16px;
   left: 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;
 }

 /* صورة */
 .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-logos {
    gap: 20px; /* المسافة بين الصور */
}

.brand-logo {
    height: 30px; /* ارتفاع ثابت لكل لوجو */
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.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: auto;
}

/* لشاشات الموبايل */
@media (max-width: 768px) {
    .banner-img {
        height: 300px;         /* أي ارتفاع يناسبك */
        object-fit: contain;   /* لعرض الصورة كاملة بدون قص */
        object-position: center;
    }
}

 /* العنوان */
 .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 {
   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-left: 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 {
  left: 1rem;
}

.gallery-main .gallery-nav.next {
  right: 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 { left: 0.25rem; }
.thumb-nav.next { right: 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: 'Tajawal', sans-serif;
   color: #ffffff;
   white-space: nowrap;
   /* منع التفاف النص */
   overflow: hidden;
   text-overflow: ellipsis;
   /* إظهار "..." إذا طال النص */
 }


 .widget__body {
   text-align: right;
   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;
    right: 10px;
 }

 /* Specific widget tweaks */


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

 .widget--cart .widget__value::after {
   content: ' ر.س';
 }


 /* lang */
 .lang-switcher {
   display: inline-flex;
   align-items: center;
   gap: 4px;
   /* المسافة بين العناصر */
   color: #ffffff;
   /* لون النص */
   font-family: '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: 14px;
   margin-bottom: 5px;
   color: var(--gold);
 }

 .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;
  font-weight: 600;
  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-kbz-gray {
     background-color: var(--gray-light);
     color: var(--dark);
 }
 .btn-kbz-gray: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) */
html[dir="rtl"] .pagination {
  direction: rtl;
  /* 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-left: 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.5);
  z-index: 1040; /* Higher than navbar but lower than dropdown */
  display: none;
}

/* Custom dropdown styles */
.autocomplete-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-right: 8px;
}

[dir=rtl] .autocomplete-item img{
  margin-left: 8px;
  margin-right: unset;
}

.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-right: 8px;
}

[dir=rtl] .shimmer-item .img {
  margin-left: 8px;
  margin-right: 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-right: 5px;
}
