/*
Theme Name: Delkti
Description: قالب دلكتي المخصص
*/
/* =========================================
   [تعديل بروتوكول] استدعاء مكتبة الأيقونات FontAwesome 6 لفوتر دلكتي
   (يجب وضعه في بداية الملف تماماً)
   ========================================= */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');


/* =========================================
   تنسيق أيقونات التواصل في الفوتر لتظهر بشكل مثالي
   ========================================= */
.social-links {
    display: flex;
    gap: 20px; /* مسافة بين الأيقونات */
    justify-content: flex-start; /* لضمان اصطفافها على اليمين */
    margin-top: 20px; /* إبعادها قليلاً عن العنوان */
}

.social-links a {
    /* 1. تحديد حجم الأيقونة (28px هو الحجم المثالي لتكون واضحة وفخمة) */
    font-size: 28px !important;
    
    /* 2. [تعديل] تلوين الأيقونات باللون الوردي العميق (Delkti Deep Pink) */
    color: #b63a6d !important;
    
    /* تنسيق إضافي للأناقة والنعومة */
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%; /* خلفية دائرية خفيفة جداً عند التأشير */
}

/* تأثير تمرير الماوس للأناقة (اختياري) */
.social-links a:hover {
    transform: translateY(-5px); /* حركة خفيفة للأعلى */
    color: #ffff00 !important; /* تحويل لون الأيقونة للأصفر الذهبي عند التمرير */
    background-color: #fce4ec; /* خلفية زهرية فاتحة جداً عند التمرير */
}

/* =========================================
   ضبط تجاوب أيقونات التواصل للموبايل
   ========================================= */
@media (max-width: 768px) {
    .social-links {
        justify-content: center; /* توسيط طرق الدفع في الموبايل */
        gap: 15px; /* تقليل المسافة قليلاً */
    }

    .social-links a {
        font-size: 22px !important; /* تصغير الحجم قليلاً في الموبايل */
        width: 40px;
        height: 40px;
    }
}
/* =========================================
   1. الإعدادات العامة
   ========================================= */
body {
  font-family: 'Cairo', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  direction: rtl; /* إجبار الموقع على الاتجاه العربي */
  background-color: #fcfcfc;
}

/* =========================================
   2. تخطيط الهيدر الأساسي
   ========================================= */
.main-header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-grid {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* =========================================
   3. اللوغو
   ========================================= */
.logo {
  order: 1 !important;
}

.logo img {
  max-height: 85px !important;
  width: auto !important;
  display: block !important;
}

/* =========================================
   4. القائمة الرئيسية (اللابتوب)
   ========================================= */
.main-navigation {
  order: 2 !important;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 35px;
  margin: 0;
  padding: 0;
}

.nav-list li a {
  text-decoration: none;
  color: #4a4a4a;
  font-weight: 700;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-list li a:hover {
  color: #b63a6d; /* لون دلكتي */
}

/* =========================================
   5. منطقة الإجراءات (الكبسولة الفاخرة والسلة)
   ========================================= */
.header-actions {
  order: 3 !important;
  display: flex;
  align-items: center;
  gap: 20px; /* المسافة بين الكبسولة والسلة */
}

/* كبسولة التواصل (تظهر في اللابتوب فقط) */
.contact-capsule {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #f0f0f0;
  border-radius: 30px; /* شكل الكبسولة البيضوي */
  padding: 8px 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.capsule-icon {
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.capsule-icon.whatsapp {
  color: #25d366;
}
.capsule-icon.phone {
  color: #b63a6d;
}
.capsule-icon:hover {
  transform: scale(1.15);
}

.capsule-divider {
  width: 1.5px;
  height: 20px;
  background: #eaeaea;
  margin: 0 15px;
}

/* تصميم السلة الدائري الفاخر */
.cart-icon-wrapper {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border: 1.5px solid #f0f0f0 !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02) !important;
}

.cart-icon-wrapper:hover {
  transform: translateY(-3px);
  border-color: #ffc107 !important;
  box-shadow: 0 8px 15px rgba(255, 193, 7, 0.15) !important;
}

.yellow-cart-svg {
  width: 22px !important;
  height: 22px !important;
  fill: #b63a6d !important;
  display: block !important;
  transition: fill 0.3s ease;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ffc107 !important;
  color: #2d2d2d !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  width: 22px !important;
  height: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  border: 2px solid #ffffff !important;
}

/* =========================================
   6. زر الهامبرغر للموبايل (مخفي في اللابتوب)
   ========================================= */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: #b63a6d;
  cursor: pointer;
  padding: 0;
}

/* =========================================
   7. شريط التطبيق السفلي (مخفي في اللابتوب)
   ========================================= */
.mobile-bottom-app-bar {
  display: none;
}

/* =========================================
   8. تجاوب الموبايل (Mobile Responsiveness)
   ========================================= */
@media (max-width: 768px) {
  /* ترك مسافة أسفل الموقع كي لا يغطي الشريط على المحتوى */
  body {
    padding-bottom: 70px;
  }

  /* إخفاء الكبسولة في الموبايل لمنع الازدحام */
  .contact-capsule {
    display: none !important;
  }

  /* إظهار شريط التطبيق السفلي الزجاجي للموبايل */
  .mobile-bottom-app-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 9999;
    justify-content: space-evenly;
    align-items: center;
    padding: 12px 0;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
  }

  .app-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
  }

  .app-bar-item i {
    font-size: 20px;
  }
  .app-bar-item.whatsapp {
    color: #25d366;
  }
  .app-bar-item.phone {
    color: #b63a6d;
  }

  .app-bar-divider {
    width: 1px;
    height: 25px;
    background: #eaeaea;
  }

  /* ضبط الهيدر للموبايل */
  .header-grid {
    justify-content: space-between !important;
    min-height: 80px;
  }

  .logo {
    order: 1 !important;
    margin: 0 !important;
  }

  /* السلة تُدفع لليسار، وزر القائمة أقصى اليسار */
  .header-actions {
    order: 2 !important;
    margin-right: auto; /* دفع السلة لليسار بعيداً عن اللوغو */
    margin-left: 20px;
  }

  .menu-toggle {
    display: block !important;
    order: 3 !important;
  }

  /* برمجة ظهور القائمة المنسدلة */
  .main-navigation {
    display: none; /* مخفية افتراضياً */
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    border-top: 1px solid #eee;
    z-index: 999;
  }

  /* هذا الكلاس يعمل عند الضغط على زر الهامبرغر */
  .main-navigation.active {
    display: block !important;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid #f9f9f9;
  }

  .nav-list li a {
    display: block;
    padding: 15px 20px;
    color: #2d2d2d;
  }
}
/* =========================================
   9. تفعيل النزول السلس للموقع
   ========================================= */
html {
  scroll-behavior: smooth; /* هذا السطر السحري يجعل النزول للقسم انسيابياً ومريحاً للعين */
}

/* =========================================
   10. قسم الواجهة الرئيسية (Hero Section)
   ========================================= */
.hero-section {
  position: relative;
  width: 100%;
  /* ارتفاع الشاشة بالكامل ناقص ارتفاع الهيدر تقريباً ليكون متوازناً */
  height: calc(100vh - 80px);
  display: flex;
  align-items: flex-end; /* وضع المحتوى (الزر) في الأسفل */
  justify-content: center;
  overflow: hidden;
}

/* الصورة المتجاوبة */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* يضمن امتلاء الشاشة بالصورة دون تمطيط أو تشويه */
  object-position: top center; /* يركز على أعلى الصورة (الوجه) عند القص في الموبايل */
  z-index: 1;
}

/* طبقة التظليل الفاخرة (Gradient) */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* تدرج لوني أسود خفيف جداً من الأسفل فقط لكي يقرأ المستخدم الزر بوضوح */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 40%
  );
  z-index: 2;
}

/* حاوية الزر */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-bottom: 80px; /* إبعاد الزر عن الحافة السفلية */
}

/* تصميم الزر (CTA Button) */
.btn-hero {
  display: inline-block;
  background-color: #b63a6d; /* لون دلكتي */
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  padding: 15px 45px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(182, 58, 109, 0.4); /* ظل وردي متوهج */
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
}

.btn-hero:hover {
  transform: translateY(-5px) scale(1.05);
  background-color: #ffffff;
  color: #b63a6d;
  border-color: #b63a6d;
  box-shadow: 0 15px 30px rgba(182, 58, 109, 0.6);
}


/* =========================================
   تنسيقات قسم "دلكتي نظيفة" (CSS) - نسخة الصور
   ========================================= */

.delkti-clean-section {
  padding: 50px 10%;
  background-color: #fff;
  text-align: center;
}

.clean-header h2 {
  font-size: 1.3rem; /* حجم خط صغير وأنيق */
  color: #d81b60; /* الزهري الخاص بالهوية */
  margin-bottom: 8px;
}

.clean-header p {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 15px;
}

.yellow-bar {
  width: 50px;
  height: 3px;
  background-color: #ffff00; /* الأصفر من الهوية */
  margin: 0 auto 40px;
}

/* شبكة موحدة تماماً */
.uniform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 أعمدة متساوية تماماً */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.info-card {
  background: #fff;
  border: 1px solid #fce4ec;
  border-radius: 15px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px; /* ضمان توحد الارتفاع */
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: #d81b60;
  box-shadow: 0 10px 20px rgba(216, 27, 96, 0.05);
}

/* =========================================
   [تعديل الخبير] تنسيق حاوية الصور بدلاً من الأيقونات
   ========================================= */
.info-icon {
  /* ألغينا حجم الخط واللون القديم */
  margin-bottom: 15px;
  display: flex; /* لضمان توسيط الصورة تماماً */
  justify-content: center;
  align-items: center;
  height: 40px; /* تحديد ارتفاع موحد لمنطقة الصورة لتناسق الشكل */
}

/* [إضافة جديد] تنسيق الصورة نفسها داخل الحاوية */
.info-icon img {
  max-height: 100%; /* تجعل الصورة تملأ الارتفاع المحدد (40px) */
  width: auto; /* تحافظ على تناسب أبعاد الصورة */
  object-fit: contain; /* تضمن عدم تمطط الصورة أو قصها */
}

/* ========================================= */

.info-card h3 {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.6;
  margin: 0;
  font-weight: 600;
}

/* تحسين العرض على الموبايل */
@media (max-width: 992px) {
  .uniform-grid {
    grid-template-columns: 1fr; /* تظهر تحت بعضها فقط في الشاشات الصغيرة */
    padding: 0 20px;
  }

  .info-card {
    min-height: auto;
  }
}
/* تنسيق القسم الرئيسي */
.delkti-reviews-section {
  padding: 60px 0;
  background-color: #fff;
  direction: rtl;
  overflow: hidden;
}

/* العنوان */
.reviews-header h2 {
  color: #d81b60; /* الزهري الخاص بالهوية */
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 5px;
}

.yellow-accent-bar {
  width: 40px;
  height: 3px;
  background-color: #ffff00; /* الأصفر الخاص بالهوية */
  margin: 10px auto 40px;
}

/* حاوية السلايدر */
.reviews-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.reviews-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: marquee 25s linear infinite;
}

/* توحيد تصميم البطاقات للكل */
.review-bubble {
  width: 320px;
  background: #fff;
  /* توحيد الإطار الأصفر للجميع */
  border: 2px solid #d81b60;
  border-radius: 30px; /* زوايا مستديرة موحدة */
  padding: 30px;
  flex-shrink: 0;
  text-align: right;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.star-rating {
  color: #ffff00;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.review-bubble p {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 15px;
  white-space: normal;
}

.client-name {
  font-size: 0.9rem;
  font-weight: bold;
  color: #d81b60; /* اسم العميل بالزهري */
}

/* حركة الماركي المصححة */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    /* الحركة باتجاه اليسار بمقدار نصف طول المسار */
    transform: translateX(calc(100% / 2));
  }
}

/* توقف الحركة عند التمرير بالماوس */
.reviews-track:hover {
  animation-play-state: paused;
}
.delkti-main-footer {
  background-color: #fff;
  border-top: 3px solid #ffff00; /* خط أصفر رفيع في الأعلى لربط الهوية */
  padding: 60px 10% 20px;
  direction: rtl;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* توزيع 3 أعمدة متساوية */
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: #d81b60; /* الزهري الهوية */
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

/* خط زينة صغير تحت العناوين */
.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background-color: #ffff00;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #666;
  font-size: 0.85rem;
  text-decoration: none;
  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: #d81b60;
  padding-right: 5px;
}

/* أيقونات التواصل */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  font-size: 1.2rem;
  color: #d81b60;
  transition: 0.3s;
}

.social-links a:hover {
  color: #ff9800; /* تلميح للأصفر عند التحويم */
}

/* =========================================
   [تعديل بروتوكول] تنسيقات أيقونات الدفع في الفوتر - نسخة دلكتي المحدثة
   ========================================= */
.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* مسافة أنيقة بين الأيقونات */
    justify-content: flex-start; /* لضمان اصطفافها على اليمين */
}

/* التنسيق الأساسي للأيقونات الملونة والكبيرة */
.payment-icons img {
    /* 1. زيادة الحجم لتكون أوضح وفخمة (40px هو الحجم المثالي لتظهر التفاصيل) */
    height: 40px !important;
    width: auto; /* الحفاظ على تناسب الأبعاد */
    
    /* 2. [تعديل] إلغاء تأثير الأبيض والأسود تماماً وعرض الألوان الأصلية */
    filter: grayscale(0) !important;
    opacity: 1 !important; /* جعلها واضحة تماماً */
    
    /* تنسيق إضافي للأناقة والنعومة */
    transition: transform 0.3s ease;
    border-radius: 5px; /* لمسة ناعمة للزوايا */
}

/* تأثير تمرير الماوس للأناقة (اختياري) */
.payment-icons img:hover {
    transform: translateY(-3px); /* حركة خفيفة للأعلى */
}

/* =========================================
   ضبط تجاوب طرق الدفع للموبايل
   ========================================= */
@media (max-width: 768px) {
    .payment-icons {
        justify-content: center; /* توسيط طرق الدفع في الموبايل */
        gap: 15px; /* تقليل المسافة قليلاً */
    }

    .payment-icons img {
        height: 30px !important; /* تصغير الحجم قليلاً في الموبايل ليناسب الشاشة */
    }
}
/* الحقوق السفلى */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #fce4ec;
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #999;
}

/* للموبايل */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-column h3::after {
    right: 50%;
    transform: translateX(50%);
  }
  .social-links,
  .payment-icons {
    justify-content: center;
  }
}
/* =========================================
   إخفاء زر "تعديل / Edit" الافتراضي الخاص بووردبريس
   ========================================= */
.edit-link,
a.post-edit-link {
    display: none !important;
}
/* =========================================
   تنسيقات المتجر وصفحة المنتج - دلكتي (WooCommerce)
   الزهري: #b63a6d | الذهبي: #ffc107 | الأسود: #2d2d2d
   ========================================= */

/* 1. تنسيقات صفحة المتجر الرئيسية (Shop/Archive) */
.delkti-shop-container {
    padding: 60px 0 100px;
}

/* تنسيق عنوان المتجر (يتطابق مع صفحات الفوتر) */
.delkti-shop-container .page-header {
    text-align: center;
    margin-bottom: 70px;
}

.delkti-shop-container .page-title {
    color: #d81b60;
    font-size: 2.3rem;
    font-weight: 800;
}

/* الخط الأصفر الفاصل */
.delkti-shop-container .yellow-separator {
    width: 70px;
    height: 5px;
    background-color: #ffff00;
    margin: 0 auto;
    border-radius: 3px;
}

/* شبكة المنتجات (4 أعمدة لابتوب) */
.delkti-products-grid ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    list-style: none;
    padding: 0;
}

/* تنسيق كارت المنتج الفردي (يتطابق مع كروت الصفحة الرئيسية) */
.delkti-products-grid ul.products li.product {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    border: 1px solid #f9f9f9;
    transition: transform 0.3s ease;
    margin: 0; /* إلغاء هوامش ووكومرس الافتراضية */
    width: 100% !important;
}

.delkti-products-grid ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

/* تنسيق عناصر كارت المنتج */
.delkti-products-grid ul.products li.product img {
    max-height: 200px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.delkti-products-grid ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.05rem;
    color: #2d2d2d;
    font-weight: 700;
    margin-bottom: 10px;
    padding: 0;
}

.delkti-products-grid ul.products li.product .price {
    font-size: 1.1rem;
    color: #d81b60; /* السعر باللون الزهري الهوية */
    font-weight: 800;
    margin-bottom: 15px;
}

/* تنسيق زر الإضافة للسلة في المتجر */
.delkti-products-grid ul.products li.product .button {
    background-color: #ffc107; /* الذهبي الهوية */
    color: #b63a6d; /* أيقونة السلة وردية */
    border-radius: 50px;
    padding: 12px 25px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.delkti-products-grid ul.products li.product .button:hover {
    background-color: #b63a6d; /* ينقلب للوردي عند التحويم */
    color: #ffffff;
}

/* 2. تنسيقات صفحة المنتج الواحد (Single Product - Split Design) */
.delkti-single-product-container {
    padding: 80px 0;
}

/* حاوية السبليت (Split Wrapper) */
.delkti-single-product-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 60px;
}

/* عمود الصورة (يمين) */
.delkti-single-product-wrapper .woocommerce-product-gallery {
    flex: 1; /* يأخذ نصف المساحة */
    width: 50% !important;
    float: right !important;
}

.delkti-single-product-wrapper .woocommerce-product-gallery img {
    border-radius: 30px; /* زوايا فخمة للصورة الكبيرة */
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

/* عمود التفاصيل (يسار) */
.delkti-single-product-wrapper .summary {
    flex: 1; /* يأخذ نصف المساحة */
    width: 50% !important;
    float: left !important;
    text-align: right;
    display: flex;
    flex-direction: column;
}

/* تنسيق عناصر التفاصيل */
.single-product .product_title {
    font-size: 2.2rem;
    color: #2d2d2d;
    font-weight: 800;
    margin-bottom: 15px;
}

.single-product .woocommerce-product-rating {
    margin-bottom: 15px;
    color: #ffc107; /* نجوم التقييم بالذهبي */
}

.single-product p.price {
    font-size: 2rem;
    color: #d81b60; /* السعر الكبير بالزهري الفاخر */
    font-weight: 800;
    margin-bottom: 25px;
}

/* تنسيق زر الإضافة للسلة في صفحة المنتج */
.single-product .cart .button {
    background-color: #b63a6d; /* الوردي الهوية - جرأة بيعية */
    color: #ffffff;
    border-radius: 50px;
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(182, 58, 109, 0.2);
}

.single-product .cart .button:hover {
    background-color: #ffc107; /* ينقلب للذهبي عند التحويم */
    color: #b63a6d;
    transform: translateY(-3px);
}

/* =========================================
   تجاوب الموبايل للمتجر والمنتج
   ========================================= */
@media (max-width: 992px) {
    /* المتجر: عمودين */
    .delkti-products-grid ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }

    /* صفحة المنتج: عمود واحد فوق بعض */
    .delkti-single-product-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 0 15px;
    }

    .delkti-single-product-wrapper .woocommerce-product-gallery,
    .delkti-single-product-wrapper .summary {
        width: 100% !important;
        flex: none;
    }
}

@media (max-width: 768px) {
    .single-product .product_title {
        font-size: 1.8rem;
    }
    
    .single-product p.price {
        font-size: 1.6rem;
    }
    
    .single-product .cart .button {
        width: 100%; /* الزر يملأ العرض في الموبايل */
        padding: 15px;
    }
}
/* ========================================= 
   تخصيص السلة الجانبية (Side Cart) - متجر دلكتي
   ========================================= */
/* ========================================= 
   تنسيق السلة الجانبية - القوة القصوى لمتجر دلكتي
   ========================================= */
/* ========================================= 
   سلة XootiX الجانبية - هوية دلكتي (قوة قصوى)
   ========================================= */

/* 1. تصغير عرض السلة لتكون أنيقة */
html body .xoo-wsc-modal .xoo-wsc-container {
    width: 320px !important;
    max-width: 85vw !important;
}

/* 2. إخفاء الأرقام السوداء (Totals) التي تظهر فوق الأزرار مباشرة */
html body .xoo-wsc-footer .xoo-wsc-ft-totals {
    display: none !important;
}

/* 3. إخفاء أي تسميات متبقية (Labels) في حال لم يتم مسحها من الإعدادات */
html body .xoo-wsc-sm-info .xoo-wsc-sm-lbl {
    display: none !important;
}

/* 4. تنسيق قسم الأزرار (كلها صفراء بنص زهري) */
html body .xoo-wsc-footer .xoo-wsc-ft-buttons .button,
html body .xoo-wsc-footer a.button {
    background-color: #ffc107 !important; /* أصفر */
    color: #b63a6d !important; /* نص زهري */
    border-radius: 50px !important;
    padding: 12px !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    border: none !important;
    margin-bottom: 10px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
}

/* تأثير الهوفر للأزرار (يقلب زهري بنص أصفر) */
html body .xoo-wsc-footer .xoo-wsc-ft-buttons .button:hover,
html body .xoo-wsc-footer a.button:hover {
    background-color: #b63a6d !important;
    color: #ffc107 !important;
}

/* 5. دائرة العدد فوق السلة (أصفر ورقم زهري) */
html body span.xoo-wsc-items-count {
    background-color: #ffc107 !important;
    color: #b63a6d !important;
    font-weight: 900 !important;
}

/* 6. تحسين شكل السعر والاسم داخل السلة */
html body .xoo-wsc-sm-info .xoo-wsc-pname {
    font-size: 15px !important;
    color: #2d2d2d !important;
    font-weight: 700 !important;
    margin-bottom: 5px !important;
}

html body .xoo-wsc-sm-info .woocommerce-Price-amount {
    color: #b63a6d !important; /* السعر باللون الزهري */
    font-weight: 900 !important;
    font-size: 16px !important;
}

/* السعر المشطوب (فضي) */
html body .xoo-wsc-sm-info del .woocommerce-Price-amount {
    color: #a0a0a0 !important;
    font-size: 13px !important;
    font-weight: normal !important;
}
/* =========================================
   إعادة هيكلة صفحة المنتج الواحد (ترويض ووكومرس) - دلكتي
   ========================================= */

/* 1. تحويل الحاوية الرئيسية إلى Flexbox حديث (بدل العوائم القديمة) */
.delkti-single-container .product {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    direction: rtl !important;
}

/* 2. قسم معرض الصور (48% من الشاشة على اليمين) */
.delkti-single-container .product .woocommerce-product-gallery {
    width: 48% !important;
    float: none !important;
    margin: 0 0 40px 0 !important;
}

/* تجميل صورة المنتج */
.woocommerce-product-gallery__wrapper img {
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    border: 1px solid #fce4ec !important;
    width: 100% !important;
    height: auto !important;
}

/* 3. قسم التفاصيل (48% من الشاشة على اليسار) */
.delkti-single-container .product .summary.entry-summary {
    width: 48% !important;
    float: none !important;
    clear: none !important;
    background: #ffffff !important;
    padding: 40px !important;
    border-radius: 20px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02) !important;
    border: 1px solid #f5f5f5 !important;
    box-sizing: border-box !important;
}

/* عنوان المنتج */
.summary.entry-summary h1.product_title {
    font-size: 28px !important;
    color: #2d2d2d !important;
    font-weight: 900 !important;
    margin-bottom: 20px !important;
    line-height: 1.4 !important;
}

/* الأسعار */
.summary.entry-summary .price {
    font-size: 24px !important;
    color: #b63a6d !important; /* زهري الهوية */
    font-weight: 900 !important;
    margin-bottom: 30px !important;
    display: block !important;
}
.summary.entry-summary .price del {
    color: #a0a0a0 !important;
    font-size: 18px !important;
    font-weight: normal !important;
    margin-left: 10px !important;
}

/* 4. إصلاح كارثة زر الإضافة للسلة وحقل الكمية */
.summary.entry-summary form.cart {
    display: flex !important;
    gap: 15px !important;
    align-items: center !important;
    margin-top: 30px !important;
    padding-top: 30px !important;
    border-top: 1px solid #fce4ec !important;
    flex-wrap: nowrap !important; /* يمنع نزول الزر تحت الكمية */
}

/* حقل الكمية */
.summary.entry-summary form.cart div.quantity input.qty {
    width: 70px !important;
    height: 50px !important;
    border-radius: 10px !important;
    border: 2px solid #fce4ec !important;
    font-weight: bold !important;
    font-size: 16px !important;
    text-align: center !important;
}

/* الزر (أصفر بنص زهري) - إصلاح الانضغاط */
.summary.entry-summary form.cart .button {
    background-color: #ffc107 !important;
    color: #b63a6d !important;
    height: 50px !important;
    border-radius: 50px !important;
    padding: 0 30px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-grow: 1 !important;
    white-space: nowrap !important; /* ⚠️ يمنع انضغاط النص وتكسره */
    transition: all 0.3s ease !important;
}

.summary.entry-summary form.cart .button:hover {
    background-color: #b63a6d !important;
    color: #ffc107 !important;
    transform: translateY(-3px) !important;
}

/* 5. دفع التبويبات والمنتجات ذات الصلة للأسفل (بعرض 100%) */
.delkti-single-container .product .woocommerce-tabs,
.delkti-single-container .product .related.products,
.delkti-single-container .product .upsells.products {
    width: 100% !important;
    flex-basis: 100% !important; /* إجبارها على أخذ سطر جديد كامل */
    clear: both !important;
    margin-top: 50px !important;
    padding-top: 40px !important;
    border-top: 2px solid #f5f5f5 !important;
}

/* تنظيف التبويبات من النقاط المزعجة */
.woocommerce-tabs ul.tabs {
    list-style: none !important;
    padding: 0 !important;
    display: flex !important;
    gap: 20px !important;
    border-bottom: 2px solid #fce4ec !important;
}
.woocommerce-tabs ul.tabs li::before { display: none !important; }
.woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}
.woocommerce-tabs ul.tabs li a {
    color: #a0a0a0 !important;
    font-weight: bold !important;
    font-size: 18px !important;
    padding-bottom: 15px !important;
    display: block !important;
    box-shadow: none !important;
}
.woocommerce-tabs ul.tabs li.active a {
    color: #b63a6d !important;
    border-bottom: 3px solid #b63a6d !important;
}

/* 6. تجاوب الموبايل (الصورة فوق والتفاصيل تحت) */
@media (max-width: 992px) {
    .delkti-single-container .product .woocommerce-product-gallery,
    .delkti-single-container .product .summary.entry-summary {
        width: 100% !important; /* العودة لعمود واحد كامل */
        margin-bottom: 30px !important;
    }
    
    .summary.entry-summary {
        padding: 20px !important;
    }
    
    .summary.entry-summary h1.product_title {
        font-size: 22px !important;
    }
    
    .summary.entry-summary form.cart {
        flex-direction: column !important; /* الكمية فوق والزر تحتها في الموبايل */
        width: 100% !important;
    }
    
    .summary.entry-summary form.cart .button {
        width: 100% !important;
    }
}
/* =========================================
   تنسيق الزر وتوسيطه التام (CTA) - دلكتي
   ========================================= */

.dk-faq-cta {
    padding: 40px 15px;
    background-color: #ffffff;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.dk-cta-container {
    max-width: 600px; /* جعل العرض أنسب للموبايل */
    width: 100% !important;
    margin: 0 auto !important; /* توسيط الحاوية نفسها */
    background: #ffffff;
    border: 1.5px solid #fce4ec;
    border-radius: 20px;
    padding: 30px 20px;
    display: flex !important;
    flex-direction: column !important; /* ترتيب العناصر تحت بعضها */
    align-items: center !important; /* توسيط العناصر أفقياً بالقوة */
    justify-content: center !important;
    gap: 20px;
    box-shadow: 0 10px 25px rgba(182, 58, 109, 0.05);
    box-sizing: border-box !important;
}

/* الأيقونة الزهرية */
.dk-cta-icon i {
    font-size: 45px;
    color: #b63a6d;
    margin: 0 auto !important;
    display: block !important;
}

/* المحتوى النصي */
.dk-cta-content {
    text-align: center !important; /* توسيط النص */
    width: 100% !important;
}

.dk-cta-content h3 {
    color: #b63a6d !important;
    font-weight: 900 !important;
    font-size: 20px !important;
    margin: 0 0 10px 0 !important;
}

.dk-cta-content p {
    color: #555;
    font-size: 14px;
    margin: 0 !important;
    line-height: 1.6;
}

/* الزر الأصفر: الحل النهائي للتوسيط */
.dk-cta-action {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important; /* وضع الزر في منتصف الحاوية */
}

.dk-cta-button {
    background-color: #ffc107 !important;
    color: #b63a6d !important;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 900;
    font-size: 16px;
    display: inline-flex !important; /* تغيير من block لـ inline-flex */
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
    margin: 0 auto !important; /* ضمان عدم وجود انحياز */
    width: auto !important;
    min-width: 200px;
}

.dk-cta-button:hover {
    background-color: #b63a6d !important;
    color: #ffc107 !important;
}
/* =========================================
   تكبير صور أيقونات المميزات - دلكتي
   ========================================= */

/* استهداف الصورة نفسها لتكبيرها */
.delkti-clean-section .info-card .info-icon .feature-img {
    width: 75px !important; /* ⚠️ هذا هو الرقم السحري: غيري 75px للرقم الذي يعجبك (مثلاً 90px أو 100px) */
    height: auto !important; /* للحفاظ على دقة وأبعاد الصورة بدون تمطيط */
    object-fit: contain !important;
    transition: transform 0.3s ease !important; /* تأثير حركي ناعم */
}

/* تحرير الحاوية الأب (في حال كانت تقيد حجم الصورة سابقاً) */
.delkti-clean-section .info-card .info-icon {
    width: auto !important;
    height: auto !important;
    margin-bottom: 15px !important; /* مسافة أنيقة بين الصورة والنص تحتها */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* تأثير احترافي عند مرور الماوس (اختياري لزيادة الفخامة) */
.delkti-clean-section .info-card:hover .feature-img {
    transform: scale(1.1) !important; /* تكبير الصورة قليلاً عند التأشير عليها */
}