@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Open+Sans:wght@400;600;700&display=swap");
@font-face {
    font-family: 'Alexandria';
    src: url('fonts/Alexandria.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
/* @font-face {
    font-family: 'Bebas';
    src: url('fonts/Bebas.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
} */
@font-face {
    font-family: "FrutigerArabic", Arial, Helvetica, sans-serif;
    src: local("FrutigerArabic"), url("assets/fonts/FrutigerArabic.ttf") format("truetype");
}
body {
  font-family: 'Cairo', sans-serif;
  color: #0c0c0c;
  background-color: #ffffff;
  overflow-x: hidden;
}

.layout_padding {
  padding: 90px 0;
}

.layout_padding2 {
  padding: 75px 0;
}

.layout_padding2-top {
  padding-top: 75px;
}

.layout_padding2-bottom {
  padding-bottom: 75px;
}

.layout_padding-top {
  padding-top: 90px;
}

.layout_padding-bottom {
  padding-bottom: 90px;
}
.grid {
    display: flex;
    flex-wrap: wrap;
}

h1,
h2 {
  font-family: 'Dancing Script', cursive;
}

/* اجعل الهيدر ثابت */
.header_section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 15px 0;
    font-size: small;
    font-weight: bold;
    border-radius: 0 0 20px 20px;

    /* الحالة الأولى (عند أعلى الصفحة) */
    background: transparent;
    box-shadow: none;

    transition: all 0.3s ease;
    /* إضافة هذه السطور */
    direction: ltr !important; 
    text-align: left !important;
}

/* عند النزول للأسفل */
.header_section.scrolled {
    background-color: #fff;
    box-shadow: 0 6px 10px rgba(0,0,0,0.1);
    
}

.heading_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.heading_container h2 {
  position: relative;
  margin-bottom: 0;
  font-size: 2.5rem;
  font-weight: bold;
  font-family: Alexandria;
}

.heading_container h2 span {
  color: #ffbe33;
}

.heading_container p {
  margin-top: 10px;
  margin-bottom: 0;
}

.heading_container.heading_center {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

a:hover,
a:focus {
  color: initial;
}

.btn,
.btn:focus {
  outline: none !important;
  -webkit-box-shadow: none;
          box-shadow: none;
}

/*header section*/
/* ==============================
   1. Hero Area Base (الأساس وضبط الارتفاع)
   ============================== */
.hero_area {
    position: relative;
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    padding-top: 100px;
    overflow: hidden;
}

/* --- bg-box (حاوية الخلفية الملونة) --- */
.hero_area .bg-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 740px;
    z-index: -1;
}

/* --- صورة الخلفية التدرجية (تم إلغاء التعرجات) --- */
.hero_area .bg-box img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top;
    /* --- تم حذف الـ clip-path (التعرجات) من هنا --- */
    position: absolute;
    top: 0;
    left: 0;
}

/* --- التحكم بالاتجاه بناءً على لغة الصفحة --- */

/* في حالة اللغة الإنجليزية: الزاوية اليمنى السفلية */
[dir="ltr"] .hero_area .bg-box img:lang(en) {
    right: 0;
    left: auto;
}

/* للحالة العربية: الصورة على اليسار */
[dir="rtl"] .hero_area .bg-box img:lang(ar) {
  left: 0;
  right: auto;
}

/* الحالة الافتراضية: إخفاء كل صور اللغات */
.lang {
    display: none;
}

/* تنسيق الصورة لتكون في الزاوية تماماً */
.hero_area .bg-box img.lang {
    position: absolute;
    width: 50vw !important; /* حجم الصورة بالنسبة لعرض الشاشة */
    min-width: 300px; /* لضمان عدم صغرها بزيادة في الشاشات الصغيرة */
    height: auto;
    
    /* جعلها في الزاوية السفلية بالزبط */
    bottom: 0; 
    margin: 0;
    padding: 0;
    
    object-fit: contain;
    z-index: 1;
    transition: all 0.5s ease;
}

.header_section .container-fluid {
  padding-right: 25px;
  padding-left: 25px;
}

.navbar-brand {
  font-family: 'Dancing Script', cursive;
  color: rgb(89, 104, 246);
}

.navbar-brand span {
  font-weight: bold;
  font-size: 32px;
  color: black;
}
.navbar-brand :hover {
  font-weight: bold;
  font-size: 32px;
  color: rgb(89, 104, 246);
}
.custom_nav-container {
  padding: 0 !important;
}
/* تنسيق زر اللغة */
.language-selector {
  margin-left: 20px; /* المسافة من باقي عناصر الهيدر */
  cursor: pointer;
  font-weight: bold;
}

.language-selector span {
  padding: 5px 10px;
  border-radius: 6px;
  background-color: #f0f0f0;
  transition: background-color 0.3s;
}
.language-selector span {
    transition: all .3s ease;
}

/* الحالة لما يصير scroll */
.header_section.scrolled .language-selector span {
    background: #fff !important;
    color: #111827 !important;
    border-color: transparent !important;
    border-color: #111827 !important;
}

.language-selector span:hover {
  background-color: #e0e0e0;
}
.custom_nav-container .navbar-nav {
  padding-left: 18%;
}
        /* شريط الملخص السفلي الثابت والمحمي من شريط المهام */
        .summary-sticky-bottom {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.06);
            border-top: 1px solid rgba(0, 0, 0, 0.05);
            padding: 20px 24px;
            border-radius: 24px 24px 0 0;
            z-index: 100;
        }
@media (max-width: 991px) {
    /* تحويل الحاوية المنسدلة إلى قائمة جانبية */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%; /* مخفية خارج الشاشة جهة اليمين */
        width: 280px;
        height: 100vh;
        background-color: #ffffff; /* لون الخلفية */
        z-index: 9999;
        transition: 0.4s ease-in-out;
        display: flex !important;
        flex-direction: column;
        padding: 80px 20px 20px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    #productsDropdown.show {
    display: flex;
}

/* الروابط */
#productsDropdown a {
    padding: 10px 12px;
    margin: 4px 0;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    transition: all .25s;
    font-size: 15px;
}

#productsDropdown a:hover {
    background: linear-gradient(to right,#70c896,#2b74a8);
    color: #fff;
    transform: translateX(-5px);
}


    .navbar-nav .nav-link {
      color: #333 !important; /* أو black */
      
    }
    /* إظهار القائمة عند الضغط على الزر */
    .navbar-collapse.show {
        right: 0;
    }

    /* ترتيب الروابط تحت بعضها */
    .navbar-nav {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        margin: 10px 0;
    }

    /* تنسيق خيارات المستخدم (أيقونة البحث، العربة، الطلب) لترتيبها تحت بعض */
    .user_option {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 20px;
        border-top: 1px solid #eee;
        padding-top: 20px;
        width: 100%;
    }

    .user_option a, .user_option form {
        margin: 10px 0 !important;
    }

    /* زر الإغلاق (X) يظهر تلقائياً فوق القائمة */
    .navbar-toggler {
        z-index: 10000;
    }
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; 
  white-space: normal;
  border-radius: 30px;
  padding: 8px;
}

.nav-item .dropdown-menu .dropdown-item:hover {
  color: rgb(89, 104, 246);
  background-color: #f8f8f8; 
  border-radius: 30px;
}
.color-options {
  margin-top: 10px;
}

.color-btn {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  margin-right: 6px;
  transition: 0.2s;
}

.color-btn:hover {
  transform: scale(1.2);
}
html[dir="rtl"] .navbar-nav .nav-link {
    display: inline-flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 8px;
}


  .custom_nav-container .navbar-nav .nav-item .nav-link {
  padding: 5px 15px;
  color:  #f8f8f8;
  text-align: center;
  text-transform: uppercase;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  white-space: nowrap;
}
.navbar-nav .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px; /* مسافة بين النص والسهم */
  white-space: nowrap; /* يمنع نزول السهم لسطر جديد */
}
.custom_nav-container .navbar-nav .nav-item:hover .nav-link, .custom_nav-container .navbar-nav .nav-item.active .nav-link {
  color: rgb(89, 104, 246);
  white-space: nowrap;
}

.custom_nav-container .nav_search-btn {
  width: auto;
  height: auto;
  padding: 0;
  border: none;
  color: #ffffff;
  margin: 0 10px;
}

.custom_nav-container .nav_search-btn:hover {
  color: rgb(89, 104, 246);
}

.user_option {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.user_option a {
  margin: 0 10px;
}

.user_option .user_link {
  color: #ffffff;
  transition: color 0.3s ease;
}

.user_option .user_link:hover {
  color: rgb(89, 104, 246);
}

/* عند النزول للأسفل */
.header_section.scrolled .user_link {
  color: #333;
}
.header_section.scrolled .nav-item .nav-link {
  color: #333; 
}
.nav_search-btn {
  background: transparent;
  border: none;
}

.nav_search-btn i {
  color: #ffffff;
  transition: color 0.3s ease;
}

/* hover */
.nav_search-btn:hover i {
  color: rgb(89, 104, 246);
}

/* عند النزول للأسفل */
.header_section.scrolled .nav_search-btn i {
  color: #333;
}
.search-form {
  display: flex;
  align-items: center;
  border-radius: 50px;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #ccc;
  transition: box-shadow 0.3s ease;
  width: 30%;
}

.search-form:focus-within {
  box-shadow: 0 0 10px rgba(89,104,246,0.5);
}

.search-input {
  flex: 1;
  border: none;
  padding: 10px 20px;
  outline: none;
  font-size: 14px;
}

.search-btn {
  background-color: rgb(89, 104, 246);
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.search-btn:hover {
  background-color: rgb(70, 85, 220);
}
.header_section.scrolled .search-btn i {
  color: #333;
}

.header_section .search-btn i {
  color: #fff;
}
.user_option .cart_link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.user_option .cart_link svg {
  width: 17px;
  height: auto;
  fill: #ffffff;
  margin-bottom: 2px;
  transition: fill 0.3s ease;
}

/* لون hover */
.user_option .cart_link:hover svg {
  fill: rgb(89, 104, 246);
}

/* عندما يتم النزول في الصفحة */
.header_section.scrolled .cart_link svg {
  fill: #333;
}
.user_option .order_online {
  display: inline-block;
  padding: 13px 30px;
  background-color: rgb(40, 105, 235);
  color: #e7eaf0;
  border-radius: 45px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: none;
  white-space: nowrap;
}

.user_option .order_online:hover {
  background-color: #38d39f;
  color: #e7eaf0;
  transform: translateY(-10px);
}

.custom_nav-container .navbar-toggler {
  outline: none;
}

.custom_nav-container .navbar-toggler {
  padding: 0;
  width: 37px;
  height: 42px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span {
  display: block;
  width: 35px;
  height: 4px;
  background-color: #ffffff;
  margin: 7px 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  position: relative;
  border-radius: 5px;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span::before, .custom_nav-container .navbar-toggler span::after {
  content: "";
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  top: -10px;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span::after {
  top: 10px;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] {
  -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span::before, .custom_nav-container .navbar-toggler[aria-expanded="true"] span::after {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
  top: 0;
}
/* اتجاه الصفحة */
body.rtl {
  direction: rtl;
  text-align: right;
}

body.ltr {
  direction: ltr;
  text-align: left;
}

body.ltr .lang-en {
  display: revert !important;
}

body.ltr .lang-ar {
  display: none !important;
}

body.rtl .lang-ar {
  display: revert !important;
}

body.rtl .lang-en {
  display: none !important;
}

/* مثال: عكس بعض العناصر */
body.rtl .navbar-nav {
  flex-direction: row-reverse;
}

body.rtl .ml-auto {
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* slider section */
.slider_section {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  padding: 60px 0 50px 0; 
    min-height: auto;
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.slider_section .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.slider_section #customCarousel1 {
  width: 100%;
  position: unset;
}

.slider_section .detail-box {
  color: #16628b;
  margin-bottom: 60px;
}

.slider_section .detail-box h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  font-family: Alexandria;
}

.slider_section .detail-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: rgb(40, 105, 235);
  color: #ffffff;
  border-radius: 45px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: none;
  margin-top: 10px;
}

.slider_section .carousel-indicators {
  position: unset;
  margin: 0;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.slider_section .carousel-indicators li {
  background-color: #ffffff;
  width: 12px;
  height: 12px;
  border-radius: 100%;
  opacity: 1;
  margin-bottom: 10px;
}

/* لون النقطة النشطة */
.slider_section .carousel-indicators li.active {
  width: 20px;
  height: 20px;
  margin-bottom: 20px;
  background-color: rgb(40, 105, 235);
}
.filter-prev,
.filter-next {
    display: none;
}

.bundle_section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.bundle_box {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #eee;
    height: 100%;
}

.bundle_box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}
.worth-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #000;
  color: #fff;
  padding: 4px 12px;
  border-radius: 0 12px 0 12px;
  font-size: 12px;
}
.bundle-img-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid #eee;
}
.plus-sign {
  font-size: 18px;
  font-weight: bold;
  color: #999;
}

/* شارة الخصم */
.badge_discount {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
}
/* تأكد أن الحاوية الأساسية لها أبعاد واضحة */
.bundle_box .img-box {
    position: relative;
    width: 100%;
    height: 300px; /* أو أي ارتفاع تريده */
    overflow: hidden; /* ضروري جداً */
}

.swiper {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
}
/* تأكد من أن الصور لا تخرج عن الإطار وتصطف بجانب بعضها */
.swiper-wrapper {
  display: flex !important;
  flex-direction: row !important; 
}

/* في حالة الـ RTL، يحتاج Swiper أحياناً لتصحيح وضعية السلايد */

/* السلايد */
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* الصورة */
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;   /* شكل احترافي */
    display: block;
    transition: transform 0.3s ease;
}

.bundle_box .img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* محتوى التفاصيل */
.detail-box {
    padding: 25px;
}

.detail-box h5 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.detail-box p {
    color: #dee2e6;
    font-size: 15px;
    line-height: 1.6;
}

/* تنسيق السعر */
.price_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.price_tags {
    display: flex;
    flex-direction: column;
}

.new_price {
    font-size: 24px;
    font-weight: 800;
    color: #27ae60;
}

.old_price {
    color: #95a5a6;
    font-size: 16px;
    text-decoration: line-through;
}

/* زر الطلب */
.btn-order {
    background: #2c3e50;
    color: white;
    padding: 10px 25px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* الفلاتر */
.filters_menu {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    list-style: none;
    margin-bottom: 30px;
    padding: 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.filters_menu::-webkit-scrollbar {
    display: none;
}

.filters_menu li {
    flex: 0 0 auto;
    padding: 8px 18px;
    background: #fff;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.filters_menu li.active, .filters_menu li:hover {
    background: #2c3e50;
    color: white;
}
.swiper-button-next, 
.swiper-button-prev {
    z-index: 999 !important; /* لضمان ظهورها فوق كل شيء */
    color: #2c3e50 !important; /* لون السهم */
    background: rgba(255, 255, 255, 0.8); /* خلفية بسيطة لتسهيل الضغط */
    width: 35px !important;
    height: 35px !important;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.swiper-button-next::after, 
.swiper-button-prev::after {
    font-size: 16px !important; /* تصغير حجم السهم ليتناسب مع الدائرة */
    font-weight: bold;
}

    .btn-order:hover { background-color: #468eeb; color: #fff; text-decoration: none; }
    .btn-order svg { width: 18px; fill: white; }

    @media (max-width: 768px) {
      .bundle_box { flex-direction: column; text-align: center; }
      .bundle_box .img-box { margin-left: 0; margin-bottom: 20px; width: 150px; height: 150px; min-width: 150px; }
    }
/* تحسين التنقل داخل الصور */
    .swiper-button-next, .swiper-button-prev {
      color: var(--accent-color) !important;
      transform: scale(0.4);
    }
    
    .swiper-pagination-bullet-active {
      background: var(--accent-color) !important;
    }

    @media (max-width: 576px) {
      .offer_container .box {
        flex-direction: column;
        text-align: center;
      }
      .offer_container .img-box {
        margin-left: 0;
        margin-bottom: 20px;
      }
    }
.offer_section .box:hover .img-box img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.hidden {
  display: none !important;
}
/* هذا يضمن أن العناصر المخفية لا تحجز أي مساحة إطلاقاً */
[data-product].hidden {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important; /* يسحبها من مسار الصفحة تماماً */
}
.mobile-bottom-nav {
    display: none;
}
/* تأكد أن الحاوية مرنة */
#userProductGrid {
    display: flex !important;
    flex-wrap: wrap !important;
}
.product_section .detail-box h5 {
    font-family: Alexandria;
    font-size: 24px;
    margin: 0;
    color: #f1f1f1;
}
.product_section .filters_menu {
  padding: 0 12px;
  flex-wrap: nowrap;
  list-style-type: none;
  margin: 45px 0 20px 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product_section .filters_menu::-webkit-scrollbar {
  display: none;
}

.product_section .filters_menu li {
  flex: 0 0 auto;
  padding: 7px 20px;
  cursor: pointer;
  border-radius: 25px;
}

.product_section .filters_menu li.active {
  background-color: #222831;
  color: #ffffff;
}

/* الكارد كامل */
.product_section .box {
  width: 100%;
  max-width: 450px;
  height: 580px;
  max-height: 1000px;
  position: relative;
  margin-top: 25px;
  border-radius: 35px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* الجزء العلوي */
.product_section .box .img-box {
  background: #f1f2f3;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  position: relative;
}

/* صورة المنتج */
.product_section .box .img-box img {
  max-width: 190px;
  transition: 0.3s;
}
.product_section .box {
    position: relative;
    overflow: hidden;
}

.product_section .box .img-box {
    width: 100%;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product_section .box .img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* تظهر الصورة كاملة */
    transition: 0.3s;
}

/* الانحناء */
.product_section .box .img-box::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: #051837;
  border-top-left-radius: 100% 100%;
}

/* الجزء السفلي */
.product_section .box .detail-box {
  background: #051837;
  color: #fff;
  padding: 30px;
  height: 580px;
}

/* النص */
.product_section .box .detail-box p {
  color: #ccc;
  font-size: 14px;
}

/* السعر + الأزرار */
.product_section .box .options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}

/* زر السلة */
.product_section .box .options a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #06f46d;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.2s;
}

.product_section .box .options a:hover {
  transform: scale(1.1);
  background: #00e664;
}

/* hover للصورة */
.product_section .box:hover .img-box img {
  transform: scale(1.2);
}
/* الحاوية الأساسية */
.size-selector {
  display: flex;
  align-items: center; /* لمحاذاة النص مع الأزرار عمودياً على نفس السطر */
  gap: 15px; /* المسافة بين كلمة "الحجم" والأزرار */
  color: white;
  font-family: sans-serif;

}

.options {
  display: flex;
  gap: 10px; /* المسافة بين زر 3سم وزر 7سم */
}

/* ستايل الزر (نفس الكود السابق مع لمسة تحسين) */
.size-btn {
  padding: 6px 20px;
  border-radius: 50px;
  border: 2px solid #334155;
  background: transparent;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: bold;
}

.size-btn.active {
  background: #00e676;
  border-color: #00e676;
  color: #001e3c;
  box-shadow: 0 4px 12px rgba(0, 230, 118, 0.2);
}

.size-btn:hover:not(.active) {
  border-color: #64748b;
  background: rgba(255, 255, 255, 0.05);
}
.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 120px;
}

/* شكل اللون */
.color-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.4); /* مهم للغامق */
  transition: 0.2s;
  position: relative;
}

/* تحسين الأسود */
.color-btn[style*="background:#000"],
.color-btn[style*="background: #000"] {
  border: 2px solid #fff; /* يخليه واضح */
}

/* hover */
.color-btn:hover {
  transform: scale(1.2);
}

/* active */
.color-btn.active {
  border: 2px solid #f6f6f6;
  transform: scale(1.25);
}
.options a svg {
  width: 28px;   /* غيّر الحجم هون */
  height: 28px;
}
.product_section .btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 45px;
}

.product_section .btn-box a {
  display: inline-block;
  padding: 10px 55px;
  background-color: 9rgb(89, 104, 246);
  color: #ffffff;
  border-radius: 45px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: none;
}

.product_section .btn-box a:hover {
  background-color: rgb(89, 104, 246);
}
/* تثبيت الكارد مهما تغيّر مكانه */
.product_section .box {
  box-sizing: border-box;
  flex: 0 0 450px;   /* يمنع التمدد أو الانكماش */
}

/* منع أي عنصر داخلي يغير الارتفاع */
.product_section .box * {
  box-sizing: border-box;
}

/* تثبيت النص داخل المساحة */
.product_section .box .detail-box p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* أو 4 حسب ما بدك */
  -webkit-box-orient: vertical;
}

/* منع الصورة أو المحتوى يغير أبعاد الكارد */
.product_section .box .img-box {
  flex-shrink: 0;
}

.product_section .box .detail-box {
  flex-shrink: 0;
}
.about_section,
.environment_section {
  background:#f0f0f0;
  border-color: #34cd97 ;
  color: #333;
  max-width: 1500px;   /* عرض محدد */
  margin: 40px auto;   /* يوسّطه بالصفحة */
  padding: 50px;       /* مسافة داخلية */


  border-radius: 12px; /* حواف دائرية */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* شادو */
  /* text-align: justify;  */
  
}

.about_section .heading_container h2,
.environment_section .heading_container h2 {
  font-family: 'Alexandria', sans-serif;
  font-size: 32px;
  margin-bottom: 15px;
   text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}
.about_section .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.about_section .img-box {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
          
}

.about_section .img-box img {
  width: 100%;
  position: relative;
  z-index: 2;
}
.about_section .detail-box strong,
.environment_section .detail-box strong {
  margin-top: 15px;
  /* text-align: justify; */
  text-justify: inter-word;
  color: #333;
  font-family: 'Alexandria', sans-serif;
}
.about_section .detail-box p,
.environment_section .detail-box p {
  margin-top: 15px;
  /* text-align: justify; */
  text-justify: inter-word;
  color: #676666;
  font-family: 'Alexandria', sans-serif;
}

.title-en, .title-ar {
    font-family: 'Alexandria', sans-serif;
}

.description {
    margin-bottom: 15px;
    line-height: 1.7;
}

.features {
    list-style: none;
    padding: 0;
}
.features li {
    position: relative;
    padding-inline-start: 30px;
}

.features li::before {
    content: "✔";
    position: absolute;
    inset-inline-start: 0;
    font-size: 18px;

    color: #28a745; 

    opacity: 0;
    transform: scale(0.5) translateY(5px);
    animation: checkAppear 0.6s ease forwards;
}

/* ✨ Animation delay لكل عنصر */
.features li:nth-child(1)::before { animation-delay: 0.1s; }
.features li:nth-child(2)::before { animation-delay: 0.3s; }
.features li:nth-child(3)::before { animation-delay: 0.5s; }

/* الحركة */
@keyframes checkAppear {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(8px);
    }
    60% {
        opacity: 1;
        transform: scale(1.2) translateY(-2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.footer-text {
    margin-top: 15px;
    font-weight: 600;
}
/* footer section*/
.footer_section {
  background-color: #042c69;
  color: #ffffff;
  padding: 75px 0 40px 0;
  text-align: center;
}

.footer_section h4 {
  font-size: 28px;
}

.footer_section h4,
.footer_section .footer-logo {
  font-weight: 600;
  margin-bottom: 20px;
  font-family: 'Dancing Script', cursive;
}

.footer_section p {
  color: #dbdbdb;
}

.footer_section .footer-col {
  margin-bottom: 30px;
}

.footer_section .footer_contact .contact_link_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.footer_section .footer_contact .contact_link_box a {
  margin: 5px 0;
  color: #ffffff;
}

.footer_section .footer_contact .contact_link_box a i {
  margin-right: 5px;
}

.footer_section .footer_contact .contact_link_box a:hover {
  color: #33ff88;
}

.footer_section .footer-logo {
  display: block;
  font-weight: bold;
  font-size: 38px;
  line-height: 1;
  color: #ffffff;
}

.footer_section .footer_social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 20px;
  margin-bottom: 10px;
}

.footer_section .footer_social a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #222831;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  background-color: #ffffff;
  border-radius: 100%;
  margin: 0 2.5px;
  font-size: 18px;
}

.footer_section .footer_social a:hover {
  color: #33ff88;
}

.footer_section .footer-info {
  text-align: center;
  margin-top: 25px;
}

.footer_section .footer-info p {
  color: #ffffff;
  margin: 0;
}

.footer_section .footer-info p a {
  color: inherit;
}

  .bundle_box {
    margin-bottom: 20px;
  }

  .bundle_box .img-box {
    height: 220px;
  }

  .swiper {
    height: 220px;
  }

  .detail-box {
    padding: 20px;
  }

  .price_wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .btn-order {
    width: 100%;
    justify-content: center;
  }

  .filters_menu {
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 10px;
  }

  .filters_menu li {
    padding: 8px 18px;
    font-size: 14px;
  }

  .about_section,
  .environment_section {
    margin: 20px;
    padding: 25px;
  }

  .heading_container h2 {
    font-size: 2rem;
  }

  p {
    font-size: 14px;
    line-height: 1.7;
  }

  .book_section .form_container button,
  .contact_section .form_container button {
    width: 100%;
  }


  .footer_section {
    padding: 50px 20px 30px;
  }

  .footer_section h4 {
    font-size: 22px;
  }

*{
  box-sizing:border-box;
}

img{
  max-width:100%;
  height:auto;
}

.container,
.container-fluid{
  width:100%;
  padding-left:15px;
  padding-right:15px;
}

.row{
  margin-left:0;
  margin-right:0;
}

/*///////////// FAQS Page///////////////*/ 
.faq_question { 
  padding: 20px 25px; cursor: pointer; display: flex; 
  justify-content: space-between; align-items: center; 
  font-weight: 600; font-size: 18px; color: #2d3748; 
}
.faq_answer_content { 
  padding: 0 25px 25px; color: #718096; line-height: 1.8; 
  font-size: 16px; border-top: 1px solid #f7fafc; text-align: inherit; 
}
/* FAQ Section Styling */
.faq_section { padding: 40px 0 80px; }
.section_title { text-align: center; margin-bottom: 50px; }
.section_title h2 { font-weight: 700; color: #2d3748; position: relative; padding-bottom: 15px; }
.section_title h2::after { 
  content: ''; position: absolute; bottom: 0; left: 50%; 
  transform: translateX(-50%); width: 60px; height: 3px; background-color: #5968f6; 
}

/*/////    Product Details /////////////*/
/* ===== IMAGE BOX ===== */
.main-swiper {
  border-radius: 14px;
  overflow: hidden;
}
.main-swiper img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  border-radius: 14px;
  margin: 0 auto;

}