/*
	Theme Name:   Jannah Child
	Theme URI:    http://jannah.tielabs.com/
	Description:  Jannh Child Theme
	Author:       TieLabs
	Author URI:   https://tielabs.com
	Template:     jannah
	Version:      1.0.2
	License:      license purchased
	License URI:  http://themeforest.net/licenses/regular_extended
	Tags:         Tags: two-columns, buddypress, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, full-width-template, microformats, rtl-language-support, sticky-post, threaded-comments, translation-ready
	Text Domain:  jannah-child
*/



.container-wrapper .kk-star-ratings .kksr-legend {
    color: #000;
}
.dark-skin .container-wrapper .kk-star-ratings .kksr-legend {
    color: #fff;
}



/* write custom css after this line */



.brand-title, a:hover
 {
    color: #ffa100 !important;
}

/* تصميم عنصر نتيجة الاقتراح */
.ui-autocomplete {
  max-width: unset;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}
.ui-autocomplete span {
  color: #000 !important
}
.ui-autocomplete li {
    padding: 4px 4px 0 4px;
    border-radius: 10px;
    transition: background 0.2s ease;
    direction: ltr;
    text-align: left;
}
.ui-autocomplete li:hover {
  background: rgba(255, 255, 255, 0.3);
}
.ui-autocomplete img {
  width: 48px;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 4px !important;
}
/* الوضع المظلم */
.dark-skin .ui-autocomplete {
  background: rgba(20, 20, 20, 0.7);
  color: #fff;
}

.dark-skin .ui-autocomplete li:hover {
  background: rgba(255, 255, 255, 0.1);
}

 .ui-widget.ui-widget-content {
    border: 1px solid #5b5b5b;
}
.dark-skin .ui-autocomplete span {
  color: #fff !important
}
/* صندوق النتائج بالكامل */
/* تعديل لتوسيط النافذة تحت حقل البحث تمامًا وبشكل مستقل */
#search-results {
  position: absolute;
  left: 100%; /* تمركز من اليسار */
  transform: translateX(-40%); /* إزاحة للخلف نصف العرض ليتمركز بالضبط */
  width: 600px; /* عرض ثابت */
  max-width: 90vw;
  z-index: 9999;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  padding: 15px;
  display: flex;
  gap: 30px;
  direction: rtl;
  max-height: 400px;
  overflow-y: auto;
}
#simple-live-search {
  border: 0px solid #ccc !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 6px;
}

form#search {
  position: relative;
}
/* كل قسم: الهواتف أو المقالات */
.simple-live-search-section {
  flex: 1;
  min-width: 0;
}
.simple-live-search-section h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #000;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
}
/* كل عنصر نتيجة */
.simple-live-search-item {
  display: flex;
  align-items: center;
}
.simple-live-search-item img {
  width: 45px;
  height: auto; /* عدم اقتصاص الصورة */
  object-fit: contain; /* احتواء دون اقتصاص */
  margin-left: 10px;
  border-radius: 6px;
  max-height: 45px;
}

.simple-live-search-item a {
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.simple-live-search-item a:hover {
  color: #0073aa;
}

/* اجعل نتائج البحث لا تؤثر على القائمة */
.search-bar {
  position: relative;
}

/* دعم الوضع الداكن */
body.dark-skin #custom-search-results,
body.dark-skin #search-results {
  background: #1e1e1e;
}

body.dark-skin .simple-live-search-item a {
  color: #ddd;
}

body.dark-skin .simple-live-search-section h3 {
  color: #0cf;
  border-color: #444;
}

/* إزالة الإطار الأخضر من حقل البحث */
#search-input {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

#search-input:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}


#search-results {
  display: none;
}

#search-results.show {
  display: flex;
}

#search-results:empty {
  display: none;
}


.simple-live-search-item img {
  width: 25px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
  margin-left: 10px;
  border-radius: 6px;
}

.simple-live-search-section h3 i {
  margin-left: 6px;
  color: #000;
}

.custom-section-title {
  font-size: 24px;
  font-weight: bold;
  color: #222;
  border-bottom: 3px solid #ffa100;
  padding-bottom: 10px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.custom-section-title i {
  color: #ffa100;
  font-size: 22px;
}

/* دعم الوضع المظلم */
body.dark-skin #search-results {
  background-color: #1e1e1e;
  color: #eee;
}

body.dark-skin .simple-live-search-section h3 {
  color: #0cf;
  border-color: #444;
}

body.dark-skin .simple-live-search-item a {
  color: #ccc;
}

body.dark-skin .simple-live-search-item img {
  border: 1px solid #444;
}

.dark-skin #search-results {

  background: #1f2024;

}
.dark-skin #simple-live-search {
  border: 0px solid #ccc !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 6px;
}

.dark-skin .simple-live-search-section h3 {

  color: #fff;

}

.dark-skin .simple-live-search-section h3 i {

  color: #fff;
}



.dark-skin .custom-section-title {
  color: #fff;
}


:root:root .view-all-button {
    --brand-color: #000;
}

.dark-skin .filter-button {
    background-color: #454545;
    color: #fff;
}


    //00.header-layout-1 #menu-components-wrap {
    display: flex;
    justify-content: space-evenly;
}

button, input, select, textarea {
    font: icon;
}


.responsive-video {
    position: relative;
    padding-bottom: 56.25%; /* نسبة العرض 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.responsive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* تعديل تصميم قسم الأسعار في الوضع المظلم باستخدام .dark-skin */
.dark-skin .price-row {
  background-color: #3d3d3d !important; /* خلفية داكنة للسطر */
  border: solid 1px #797979;
}

.dark-skin .price-row strong,
.dark-skin .price-row span,
.dark-skin .price-row a {
  color: #ffffff !important; /* نص أبيض */
}


.dark-skin .price-row a 

.price-row strong {
  font-size: 22px;
}
.price-row span {
  font-size: 18px;
  margin-top: 8px;
}


.dark-skin .price-row a {
  background-color: #4caf50 !important; /* زر الشراء بلون أخضر داكن */
}

.dark-skin .fallback-logo {
  filter: invert(1) brightness(2); /* قلب ألوان الشعارات السوداء */
}



/* تنسيق حديث للأكورديون */
.faq-question {
  width: 100%;
  padding: 16px 20px;
  background-color: #ededed96;
  color: #333;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  text-align: right;
  direction: rtl;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* الظل المحدث */
}


.faq-question:hover {
  background-color: #e3e3e3c2;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px); /* تحريك خفيف للأعلى */
}

.faq-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: #ff9800;
  font-size: 18px;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  background: #f5f5f5a1;
  border: 1px solid #d7d7d7;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.faq-answer-content {
  padding: 16px 20px;
  color: #000;
  line-height: 1.7;
  font-size: 15px;
}

.faq-answer.open {
  max-height: 500px;
  opacity: 1;
}

.faq-question.open .faq-icon {
  transform: rotate(180deg);
  color: #f57c00;
}

.dark-skin .faq-question {
    background-color: #202329;
    color: #fff;
    border: 1px solid #393939;
}
.dark-skin .faq-question:hover {
  background-color: #373737c2;
}
.dark-skin .faq-answer-content {
  color: #fff;
}
.dark-skin .faq-answer {
  background: #272728;
  border: 1px solid #363636;
}




.related-mobiles-section {
  background-color: #f1f1f1;
  padding: 40px 20px;
  margin-top: 40px;
  border-radius: 15px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  overflow: hidden;
}

.dark-skin .related-title {
  color: #fff;
}
.dark-skin .related-title::after {
  background-color: #fff;
}


.related-title {
  font-size: 22px;
  color: #2d2d2d;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.related-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background-color: #2d2d2d;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.related-mobiles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 أعمدة في الشاشات الكبيرة */
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

/* الشاشات المتوسطة: 3 أعمدة */
@media (max-width: 992px) {
  .related-mobiles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* الشاشات الصغيرة: عمودين */
@media (max-width: 576px) {
  .related-mobiles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.related-mobile-item {
  background: #ddddddb5;
  border: 1px solid #d3d3d3;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  padding: 2px;
}

.related-mobile-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.device-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.mobile-title {
  margin-top: 4px;
  font-weight: bold;
  color: #333;
}

.dark-skin .related-mobiles-section {
  background-color: #212327;
  border: 1px solid #363636;
}

.dark-skin .related-mobile-item {
  background: #282a2f;
  border: 1px solid #3c3f4578;
}

.dark-skin .related-mobile-item:hover {
  box-shadow: 0 6px 15px rgb(113 113 113 / 10%);
}




.device-box {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 30px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.device-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    backdrop-filter: blur(100px);
    z-index: 0;
}

.device-inner {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    justify-content: space-evenly;
    flex-wrap: wrap;
}


.device-image-section {
    overflow: hidden;
    position: relative;
    margin-top: 30px; /* نزّل الصورة قليلاً لتكون بمحاذاة المواصفات */

}

.device-image img {
    max-width: 100%;
    border-radius: 12px;
}

.device-rating {
    margin-top: 10px;
    background: linear-gradient(40deg, #ffffff1f, rgb(255 255 255 / 31%));
    padding: 6px 10px;
    border-radius: 10px;
    display: inline-block;
    font-size: 13px;
    margin-top: 2px;
    max-width: 100%;
    overflow-wrap: break-word;
}

.device-specs-section {
    flex: 1;
}

.device-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ثلاثة أعمدة */
    gap: 8px;
}
.spec-card {
    background: linear-gradient(40deg, rgb(155 155 155 / 8%), rgb(0 0 0 / 7%));
    border-radius: 12px;
    padding: 8px;
    display: flex;
    flex-direction: column; /* يجعل النص فوق الأيقونة */
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    min-height: 80px;
    text-align: right;
    position: relative;
}
/* استهداف البطاقة السابعة فقط */
.spec-card:last-child {
    grid-column: span 3; /* تمتد على كامل الصف */
    min-height: 90px; /* ارتفاع أكبر قليلاً */
}

/* تنسيق الأيقونات: أكبر + شفافة + لون موحّد */
.spec-icon {
    font-size: 50px;
    color: rgb(255 255 255 / 14%); /* برتقالي شفاف */
    position: absolute;
    bottom: 8px;
    left: 10px;
}
/* النص يظهر بوضوح فوق الأيقونة */
.spec-content {
    position: relative;
    z-index: 2;
    font-weight: 500;
    color: #fff;
    line-height: 1.4;
}



/* تصغير حجم التقييم بالكامل */
.device-rating .kk-star-ratings {
    font-size: 13px !important; /* تحكم بحجم الخط العام */
    line-height: 1.2;
    display: inline-block;
    text-align: center;
    max-width: 100%;
}

/* تصغير حجم الأيقونات نفسها (النجوم) */
.kk-star-ratings .kksr-stars,
.kk-star-ratings .kksr-star {
    font-size: 14px !important; /* حجم النجمة */
}

/* تحسين مظهر النص بجانب النجوم */
.kk-star-ratings .kksr-legend {
    font-size: 15px !important;
    color: #fff;
    margin-top: 7px;
    display: block;
    font-weight: 600;
    direction: rtl;
}

.post-title.entry-title {
    font-size: 24px;
    font-weight: 700;
    color: #000000de;
    padding: 15px 20px;
    border: 1px solid #c7c7c7;
    border-radius: 12px;
    background-color: rgb(135 135 135 / 3%);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}
.dark-skin .post-title.entry-title {
    color: #fff;
    border: 1px solid #c7c7c738;
    box-shadow: 0 1px 8px rgb(255 255 255 / 8%);
}


.spec-toggle-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    direction: rtl; /* لضبط ترتيب النص والسهم */
}

.more-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    padding: 0 0 0 6px;
    transition: transform 0.3s ease;
}

.more-btn i {
    transition: transform 0.3s ease;
}

.more-btn.active i {
    transform: rotate(180deg);
}

.full-spec-text {
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, max-height 0.4s ease;
    max-height: 0;
    overflow: hidden;
    color: #fff;
    margin-top: 5px;
}

.full-spec-text.active {
    opacity: 1;
    max-height: 500px;
    display: inline;
    visibility: visible;
}


/* افتراضيًا نخفي القسم المخصص للموبايل */
.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

/* عندما تكون الشاشة صغيرة، نُظهر الموبايل ونخفي الديسكتوب */
@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }
}

@media (max-width: 768px) {
  .gsma-wrapper {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 10px;
  }

  .gsma-image {
    flex: 1;
    text-align: center;
  }

  .gsma-image img {
        max-width: 100%;
        height: auto;
        margin-top: 60px;
        border-radius: 12px;
  }

  .device-rating {
    margin-top: 8px;
  }


  .spec-toggle-wrapper {
  overflow: visible !important;
  flex: 2;
}

  .specs-slider {
  position: relative;
  overflow: hidden;
}

  .specs-slide {
      
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

  .specs-slide.active {
    
    opacity: 1;
  height: auto;
  }

  .slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 15px;
  }

  .slider-controls button {
        background: linear-gradient(145deg, #cecece63, #b6b6b61a);
        color: #fff;
        padding: 4px 10px;
        margin: 0 5px;
        border-radius: 20px;
        font-size: 18px;
        border: solid 1px #ffffff52;
    
  }




  .device-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  .device-image-section {
    display: none;
    
}
.kk-star-ratings .kksr-legend {
    /* margin-left: .75rem; */
    margin-right: .75rem;
}

  .spec-card {
  margin-bottom: 8px;
}

.device-box {

    padding: 5px 1px;
    margin-right: 4px;
    margin-left: 4px;

}

.slider-indicators {
    text-align: center;
    margin-top: 10px;
}

.slider-indicators .indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ffffff47;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-indicators .indicator.active {
    background-color: #fff;
}

.kk-star-ratings .kksr-legend {
    font-size: 12px !important;
   }

}


.device-section {

  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, height 0.4s ease;
}

.device-section.active {

  opacity: 1;
  visibility: visible;
  height: auto;
  overflow: visible;
  display: grid;
}


.device-tabs-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0;
  backdrop-filter: blur(12px);
}

.device-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  padding: 6px;
  justify-content: flex-start;
  scroll-behavior: smooth;
  white-space: nowrap;
}



.device-tabs button:hover,
.device-tabs .compare-link:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  background: rgb(153 153 153 / 10%);
}

.device-tabs button.active {
  background: linear-gradient(210deg, #00b7ff, #0096ff);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.device-tabs .compare-link {
  background: linear-gradient(135deg, #0073aa, #005f8c);
  color: white;
  text-decoration: none;
  border: none;
}


.device-tabs button,
.device-tabs .compare-link {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgb(98 98 98 / 30%);
  border-radius: 16px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: bold;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.4s ease;
  white-space: nowrap;
  font-family: inherit;
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 5px rgb(255 255 255 / 22%)
}


.dark-skin .device-tabs button,
.device-tabs .compare-link {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.dark-skin .device-tabs button:hover,
.device-tabs .compare-link:hover {
    box-shadow: 0 4px 12px rgb(118 118 118 / 31%);
    background: rgb(39 41 45 / 81%);
}

.dark-skin .compare-link {
    color: #fff!important;
    border: 1px solid rgba(255, 255, 255, 0.3)!important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1)!important;
}
.dark-skin .compare-link:hover {
    box-shadow: 0 4px 12px rgb(118 118 118 / 31%)!important;
    background: rgb(39 41 45 / 81%)!important;
}
.compare-link:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2)!important;
  transform: translateY(-2px)!important;
  background: rgb(153 153 153 / 10%)!important;
}

/* الحاوية العامة للمواصفات */
.full-specs {
  display: flex;
  flex-direction: column;
  gap: 10px; /* زيادة المسافة بين الأقسام */
}

/* بطاقة كل مجموعة مواصفات */
.full-specs-section {
  background: #e0e0e0;
  border: 1px solid rgb(71 71 71 / 19%);
  box-shadow: 0 10px 30px rgb(203 203 203 / 10%);
  color: #252525;
  border-radius: 16px;
  padding: 24px; /* زيادة التبطين */
  backdrop-filter: blur(20px);
  direction: rtl;
}

/* عنوان القسم */
.full-specs-section h3 {
  font-size: 19px;
  margin-bottom: 18px; /* مسافة تحت العنوان */
  padding-bottom: 8px;
  border-bottom: 1px solid rgb(0 0 0 / 30%);
  display: flex;
  align-items: center;
  gap: 12px; /* مسافة بين الأيقونة والنص */
}

/* كل صف مواصفات */
.full-specs-section .spec-item {
    display: flex;
    align-items: flex-start;
    padding: 6px 0;
    border-bottom: 1px solid rgb(0 0 0 / 15%);
    line-height: 1.6;
    font-size: 14px;
}

.full-specs-section .spec-item:last-child {
  border-bottom: none; /* إزالة الحد من آخر عنصر */
}

/* تسمية العنصر (اليسار) */
.full-specs-section .spec-item strong {
  color: #1a1a1a;
  min-width: 140px; /* ضمان مساحة ثابتة لتسمية الحقل */
}

/* محتوى الحقل (اليمين) */
.full-specs-section .spec-item span {
  flex: 1;
  text-align: left;
  word-wrap: break-word;
}
@media (max-width: 768px) {
  .full-specs-section {
    margin-right: 5px;
    margin-left: 5px;
  }
 } 
.dark-skin .full-specs-section {
  background: rgba(255, 255, 255, 0.1); /* زجاج خفيف */
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  color: #fff;
}
.dark-skin .full-specs-section .spec-item strong {
  color: #fff;
}
 
.dark-skin .full-specs-section h3 {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
 
 
.dark-skin .full-specs-section .spec-item {

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);

}
 
.dark-skin .specs-note-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;

}
.specs-note-box {
  background: rgb(224 224 224);
  border: 1px solid rgb(177 177 177 / 62%);
  color: #000;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 30px;
  backdrop-filter: blur(15px);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.6;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  direction: rtl;
  margin-left: 2px;
  margin-right: 2px;
  margin-bottom: 25px;
}

.specs-note-box i {
  color: #ffc107;
  font-size: 20px;
  flex-shrink: 0;
}

.dark-skin .specs-note-box a {
  color: #0087ff;
}

.specs-note-box a {
  color: #0087ff;
  text-decoration: underline;
  transition: 0.3s;
}

.specs-note-box a:hover {
  color: #81D4FA;
}



/* تصميم حاوية الأسعار */
.price-table-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 25px;
  border-radius: 20px;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  background: #e9e9e9;
}

/* صف السعر */
.price-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (max-width: 768px) {
  .price-row {
  padding: 8px;
  gap: 10px;
  }
  .price-row strong {
    font-size: 13px !important;
  }
  .price-table-wrapper {
  padding: 8px;
  }
  .price-t {
  font-size: 11px !important;
  }
  .price-row span {
  font-size: 13px;
  }
  .price-row a {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
  .price-row img {
    width: 55px !important;
  }
}

/* تأثير تحويم */
.price-row:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* صورة الشعار */
.price-row img {
  width: 80px;
  height: auto;
  border-radius: 8px;
}

/* زر الشراء */
.price-row a {
  background: #28a745;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

/* الوضع المظلم */
.dark-skin .price-table-wrapper {
  background: rgba(30, 30, 30, 0.3);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
}

.dark-skin .price-row {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
}

.dark-skin .price-row a {
  background: #2ecc71;
}



 .dark-skin .changelog-wrapper > div {
  background: #1e1e1e !important;
  border-color: #333 !important;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05) !important;
}

.dark-skin .changelog-wrapper .fa-rotate {
  color: #4aa3ff !important;
}

.dark-skin .changelog-wrapper div,
.dark-skin .changelog-wrapper p {
  color: #ddd !important;
}

.dark-skin .changelog-wrapper a {
  background-color: #4aa3ff !important;
  color: #fff !important;
}

.dark-skin .changelog-wrapper a:hover {
  background-color: #007acc !important;
}
div#comments {
    margin-right: 4px;
    margin-left: 4px;
}

/* شبكة المعرض بتصميم زجاجي */
.gallery-glass {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  padding: 20px;
  border-radius: 20px;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  display: none;
}

/* العنصر الفردي */
.gallery-box {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.gallery-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* التحويم */
.gallery-box:hover img {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

/* الوضع المظلم */
.dark-skin .gallery-glass {
  background: rgba(30, 30, 30, 0.4);
  box-shadow: 0 4px 20px rgba(255,255,255,0.05);
}

.dark-skin .gallery-box img {
  box-shadow: 0 2px 10px rgba(255,255,255,0.05);
}

.dark-skin .gallery-box:hover img {
  box-shadow: 0 4px 18px rgba(255,255,255,0.08);
}



/* ✅ منع الشبكة من الانهيار إلى عمود واحد */
@media (max-width: 400px) {
  .gallery-glass {
    grid-template-columns: repeat(3, 1fr);
    margin: 0 4px 0 4px;
  }
}

/* تصميم حاوية الفيديو كزجاج سائل */
.video-reviews-wrapper {
  display: grid;
  gap: 20px;
  padding: 25px;
  border-radius: 20px;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  max-width: 900px;

}

/* حاوية iframe المرنة */
.responsive-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* نسبة 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
}

/* الوضع المظلم */
.dark-skin .video-reviews-wrapper {
  background: rgba(30, 30, 30, 0.3);
  box-shadow: 0 4px 20px rgba(255,255,255,0.05);
}

.dark-skin .responsive-video {
  box-shadow: 0 3px 14px rgba(255, 255, 255, 0.06);
}

h1.page-title {
    font-size: revert;
}

header#archive-title-section {
    margin: 0 4px 0 4px;
}
.archive:not(.bbpress) .main-content>div:last-child, .search .main-content>div:last-child {
    margin-bottom: 0;
    margin-left: 4px;
    margin-right: 4px;
}
@media (prefers-color-scheme: dark) {
  .autocomplete-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
}
header.entry-header-outer.container-wrapper.archive-title-wrapper
 {
    margin: 0 2px 0 2px;
}



/* نموذج زجاجي عام */
.glass-form {
  padding: 10px;
  border-radius: 16px;
  background: rgb(241 241 241);
  backdrop-filter: blur(10px);
  border: 1px solid rgb(113 113 113 / 20%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 10px 60px 10px 2px;
}

/* حقل زجاجي */
.glass-field {
  margin: 10px 0 10px 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  position: relative;
  width: 300px;
}

/* إدخال زجاجي */
.glass-input {
  width: 100%;
  border: none;
  border-radius: 8px;
  background: rgb(185 185 185 / 25%);
  border: solid 1px #cbcbcb !important;
  color: #000;
  font-size: 14px;
  outline: none;
  backdrop-filter: blur(6px);
}

.glass-input::placeholder {
  color: #222;
  opacity: 0.7;
}

.glass-button:hover {
  background: rgb(255 118 0);
}




.compare-fields-wrapper {
  display: flex;
  gap: 4px;
  margin-right: 45px;
}








.remove-device {

  transform: translateY(-50%);

}

.dark-skin .glass-form {
  background: rgb(59 59 59);
}
.dark-skin .glass-field {
  background: rgb(0 0 0 / 7%);
}
.dark-skin .glass-input {
  background: rgb(185 185 185 / 25%);
  border: solid 1px #6b6b6b !important;
}
.dark-skin .glass-input::placeholder {
  color: #818181;
  opacity: 0.7;
}

.reset-btn {
  padding: 3px 10px !important;
}
.compare-btn,
.reset-btn {
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  background: linear-gradient(200deg, #ffe000, #ff4900);
  color: #fff;
  font-weight: bold;
  margin-left: 2px;
}

.glass-comparison-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: transparent;
  margin-top: 30px;
  border-radius: 14px;
  justify-content: center;
  padding: 20px;
}
.comp-glass-column {
  flex: 1 1 350px;
  background: rgb(0 0 0 / 12%);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgb(0 0 0 / 15%);
}
.comp-glass-column h3 {
  font-size: 18px;
  color: #000;
  margin-bottom: 15px;
}
.comp-glass-column h3 i.fas.fa-fire {
    color: #000;
}
.dark-skin .comp-glass-column h3 {
  color: #fff;
}
.dark-skin .comp-glass-column h3 i.fas.fa-fire {
  color: #fff;
}
.glass-comp-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgb(51 51 51 / 18%);
  border: 1px solid rgb(133 133 133 / 25%);
  border-radius: 25px;
  padding: 10px 14px;
  margin-bottom: 12px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
}
.glass-comp-card:hover {
  background: rgb(167 167 167 / 25%);
  transform: translateY(-2px);
}
.glass-comp-card .phone-img {
    height: auto;
    max-height: 30px;
    width: auto;
    object-fit: contain;
    background: transparent;
    border-radius: 3px;
    margin: 0px 4px 0 4px;
    transform: rotate(10deg);
    display: flex;
}



.dark-skin .glass-comp-card .title {
    color: #fff;
}
.glass-comp-card .title {
    flex: 1;
    text-align: center;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
}
.vs {
  margin: 0 5px;
  color: #000;
  font-weight: bold;
}
.dark-skin .vs {
  color: #fff;
}
.dark-skin .comp-glass-column {
  background: rgb(31 32 36);
  border: 1px solid rgba(255,255,255,0.1);
}
.dark-skin .glass-comp-card {
  background: rgba(0, 0, 0, 0.2);
  color: #eee;
}
.dark-skin .glass-comp-card:hover {
  background: rgba(255,255,255,0.1);
}

@media(max-width: 768px){
  .glass-comparison-container {
    flex-direction: column;
  }
  .glass-comp-card .title {
    font-size: 13px;
  }
}

.dark-skin .compare-vote-box {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255,255,255,0.2);
}
.dark-skin .compare-vote-box h3 {
  color: #fff;
}
.dark-skin .vote-radio {
    color: #fff;
}
.dark-skin .vote-bar {
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.2);
}

.dark-skin .compare-vote-box h3::before {
    color: #fff;
}



.compare-vote-box {
  margin-top: 40px;
  background: rgb(0 0 0 / 12%);
  border: 1px solid rgb(105 105 105 / 20%);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  color: #222;
  transition: all 0.3s ease;
  margin: 10px 4px 10px 4px;
}
.compare-vote-box h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #000;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
}
.compare-vote-box h3::before {
  content: '\f24e'; /* Font Awesome voting icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 10px;
  font-size: 18px;
  color: #000;
  margin-left: 4px;
}

.vote-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.vote-buttons button {
  background: linear-gradient(145deg, #0cf, #09c);
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.vote-buttons button:hover {
  background: linear-gradient(145deg, #09c, #0af);
  transform: scale(1.05);
}
#vote-response {
  font-weight: bold;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-block;
  animation: fadeIn 0.4s ease-in-out;
}
#vote-response.success {
  background: #d4f8e8;
  color: #088443;
  border: 1px solid #30c27b;
}
#vote-response.error {
  background: #ffe1e1;
  color: #a30000;
  border: 1px solid #e13232;
}

.vote-results {
  margin-top: 20px;
  animation: fadeIn 0.5s ease-in-out;
}
.result-row {
  margin-bottom: 20px;
}
.result-row span {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.vote-bar {
  height: 20px;
  background: rgb(147 147 147 / 25%);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgb(137 137 137 / 20%);
}
.vote-bar div {
  height: 100%;
  background: linear-gradient(to right, #ff3b00, #ffeb00);
  text-align: right;
  color: #000;
  font-size: 12px;
  padding-right: 8px;
  line-height: 20px;
  border-radius: 10px;
  transition: width 0.7s ease-in-out;
}

/* الوضع المظلم */
.dark-skin .compare-vote-box {
  background: rgba(0,0,0,0.35);
  color: #eee;
  border: 1px solid rgba(255,255,255,0.08);
}
.dark-skin .vote-bar {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.05);
}
.dark-skin .vote-bar div {
  background: linear-gradient(to right, #ff3b00, #ffeb00);
  color: #000;
}
.dark-skin .vote-buttons button {
  background: linear-gradient(145deg, #09c, #0af);
  color: #fff;
}
.dark-skin .vote-buttons button:hover {
  background: linear-gradient(145deg, #0af, #09c);
}

/* انسيابية */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}



.vote-buttons label {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  padding: 10px 14px;
  border-radius: 12px;
  margin: 0 10px;
  cursor: pointer;
  font-weight: bold;
  color: #fff;
  transition: 0.3s ease;
}
.vote-buttons input[type="radio"] {
  margin-right: 8px;
  accent-color: #0cf;
}

.vote-buttons button[type="submit"] {
  margin-top: 15px;
  padding: 10px 22px;
  background: linear-gradient(145deg, #0cf, #09c);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}
.vote-buttons button[type="submit"]:hover {
  background: linear-gradient(145deg, #09c, #0af);
}

.vote-bar .fill-bar {
  animation: fillWater 1.4s ease-in-out forwards;
}

@keyframes fillWater {
  0% {
    width: 0;
    background: linear-gradient(to right, #ff3b00, #ffeb00);
  }
  50% {
    background: linear-gradient(to right, #ff3b00, #ffeb00);
  }
  100% {
    background: linear-gradient(to right, #ff3b00, #ffeb00);
  }
}


.vote-radio {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  color: #000;
}

.vote-radio input[type="radio"] {
  margin-left: 8px;
  transform: scale(1.2);
  accent-color: #0cf;
}

.vote-submit-button {
  background: linear-gradient(145deg, #0cf, #09c);
  border: none;
  border-radius: 14px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  font-family: inherit;
}

.vote-submit-button:hover {
  background: linear-gradient(145deg, #09c, #0af);
  transform: scale(1.05);
}

.vote-bar .fill-bar {
  animation: fillWater 1s ease-in-out;
}

@keyframes fillWater {
  0% { width: 0%; background: linear-gradient(to right, #ff3b00, #ffeb00); }
  50% { background: linear-gradient(to right, #ff3b00, #ffeb00); }
  100% { background: linear-gradient(to right, #ff3b00, #ffeb00); }
}
.comparison-device-header .full-spec-text {
    color: #000;
}
.dark-skin .comparison-device-header .full-spec-text {
    color: #fff;
}
.toggle-view {
  background-color: #eee;
  color: #333;
  border: 1px solid #ccc;
  padding: 6px 14px;
  margin: 0 5px;
  cursor: pointer;
  border-radius: 5px;
}
.toggle-view.active {
  background-color: #ff9900;
  color: #fff;
}
.compare-row.diff-only {
  display: table-row;
}
.compare-row.hide-diff {
  display: none;
}
.spec-value.dimmed {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
#toggle-differences:hover {
  background: #005bb5;
}

#toggle-differences i {
  font-size: 18px;
}
.comparison-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.comparison-header-row,
.comparison-row {
  display: flex;
  flex-direction: row;
}
.comparison-device-header,
.comparison-field-value {
  flex: 1;
  background: linear-gradient(120deg, #0095ff00, #a5d1ff1a);
  padding: 10px;
  text-align: center;
  border-radius: 8px;
  border: solid 1px #65656538;
  margin-left: 5px;
}
.comparison-field-title {
  width: 7%;
  font-weight: bold;
  padding: 10px;
  background: none;
  border-radius: 8px;
}
.section-title {
  font-size: 18px;
  margin-top: 30px;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}
.spec-value {
    margin-left: 60px;
}
@media screen and (max-width: 768px) {
  .spec-value {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .spec-device-value {
    min-width: 50vw;
    max-width: 50vw;
  }
  .comparison-device-header {
    min-width: 62vw;
    max-width: 50vw;
    flex-shrink: 0;
  }
  .comparison-field-title {
    padding: 23px;
    width: 17%;
  }
  .spec-value {
    margin-left: 0px;
    padding-right: 6px;
  }

  .full-specs {
    min-width: auto; /* يكفي لعرض هاتفين وثالث يظهر عند السحب */
  }

  .comparison-wrapper {
    overflow-x: auto;
  }
  .spec-label {
  min-width: 48px;
  }
  .full-specs.devices-2 .spec-value {
   max-width: 160px;
   padding-right: 5px;
  }
   .full-specs.devices-2 {
   min-width: 340px;
  }
  .full-specs.devices-2 .spec-label {
   margin-left: 0px !important;
  }
  .filter-button, .view-all-button {
   text-align: center;
  }
  .full-specs-scroll .full-specs.devices-3 {
   min-width: 209%;
  }
  .comparison-header-row.devices-3 .comparison-field-title {
  padding: 30px;
  }
}
.full-specs-scroll {
  width: 100%;
  -webkit-overflow-scrolling: touch;
}
.full-specs {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.full-specs.devices-2 .spec-value {
  min-width: 50px !important;
}
.full-specs.devices-2 .spec-label {
  width: 72px !important;
    
}
.full-specs.devices-3 .spec-label {
  min-width: 78px;
}
.comparison-header-row.devices-2 .comparison-device-header {
  min-width: auto;
  max-width: none;
}
.comparison-device-header .spec-icon{
    color: rgb(153 153 153 / 14%);
    font-size: 30px;
}
.comparison-device-header .device-title{
    color: #000;
}
.comparison-device-header .spec-content{
    color: #272727;
}
.comparison-device-header .spec-card{
    color: #272727;
    margin-bottom: 6px;
}
.comparison-device-header .specs-grid{
    display: contents;
}
.comparison-device-header .more-btn i{
    margin-right: 4px;
    color: #272727;
}
.dark-skin .comparison-device-header .more-btn i{
    color: #fff;
}
.dark-skin .comparison-device-header .device-title{
    color: #fff;
}
.dark-skin .comparison-device-header .spec-content{
    color: #fff;
}
































