/* نظام التنسيقات الموحد لـ Take Trake */

:root {
  /* الألوان الأساسية */
  --tt-primary: #4CAF50;       /* الأخضر الأساسي (للأزرار والعناصر الرئيسية) */
  --tt-secondary: #2e7d32;     /* أخضر داكن (للحالات النشطة والتأكيدات) */
  --tt-accent: #2196F3;        /* أزرق (للروابط والعناصر التفاعلية) */
  --tt-text: #1a1a1a;          /* لون النص الأساسي (أسود داكن) */
  --tt-light-bg: #f8f9fa;      /* لون الخلفيات الفاتحة */

  /* التدرج اللوني للعناوين */
  --tt-heading-main: #4CAF50;  /* H1 - أخضر غامق */
  --tt-heading-sub: #388E3C;   /* H2 - أخضر متوسط */
  --tt-heading-tertiary: #81C784; /* H3 - أخضر فاتح */
  
  /* إضافة متغيرات جديدة للتأثيرات */
  --tt-heading-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --tt-heading-border: 3px solid #e0e0e0;
  --tt-heading-bg: rgba(76, 175, 80, 0.1);
}





.taketrake-container {
  font-family: 'Segoe UI', system-ui, sans-serif;
  max-width: min(90%, 800px);
  margin: 2rem auto;
  padding: clamp(15px, 3vw, 25px);
  line-height: 1.7;
  color: var(--tt-text);
  text-align: right;
}

.taketrake-title {
  color: var(--tt-primary);
  border-bottom: 2px solid var(--tt-secondary);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;

    
    
    
    
    
    
    
}

.taketrake-section-title {
  /* تأثيرات خاصة للعناوين الفرعية */
  border-bottom: 2px dashed var(--tt-heading-sub);
  padding-bottom: 8px;
  background: linear-gradient(to right, transparent, var(--tt-heading-bg), transparent);
}

/* تأثيرات hover للعناوين */
.taketrake-title:hover {
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* للعناوين داخل المربعات */
.taketrake-feature-box h3 {
  background-color: white;
  padding: 8px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


/* العناوين الفرعية باللون الأخضر */
h2, h3, h4 {
  color: var(--tt-primary);
}

.taketrake-section {
  margin-bottom: 2.5rem;
}

.taketrake-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.taketrake-feature-box {
  background: var(--tt-light-bg);
  padding: 1.5rem;
  border-radius: 8px;
  border-right: 4px solid var(--tt-accent);
  transition: all 0.3s ease;
}

.taketrake-feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.08);
}

.taketrake-quote {
  font-style: italic;
  color: #555;
  border-right: 3px solid var(--tt-primary);
  padding-right: 1rem;
  margin: 1.5rem 0;
}

.taketrake-checklist {
  list-style: none;
  padding-right: 1.2rem;
}

.taketrake-checklist li {
  position: relative;
  padding-right: 1.8rem;
  margin-bottom: 0.8rem;
}

.taketrake-checklist li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--tt-primary);
  font-weight: bold;
}

/* وسائط متجاوبة */
@media (max-width: 600px) {
  .taketrake-features-grid {
    grid-template-columns: 1fr;
  }
}



/* إضافات جديدة */
.taketrake-lead-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--tt-text);
}

.taketrake-link {
  color: var(--tt-accent);
  text-decoration: none;
  transition: color 0.3s;
}

.taketrake-link:hover {
  text-decoration: underline;
}

.taketrake-map-container {
  margin-top: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.taketrake-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.taketrake-form input,
.taketrake-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-align: right;
  font-family: inherit;
}

.taketrake-form textarea {
  min-height: 150px;
  resize: vertical;
}

.taketrake-btn {
  background-color: var(--tt-primary);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.taketrake-btn:hover {
  background-color: var(--tt-secondary);
}


/*عنوان عريض مثل سلة المشتريات*/
.taketrake-page-title {
  padding: 1.5rem;
  border-radius: 8px;
  border-right: 4px solid var(--tt-accent);
  transition: all 0.3s ease;
  background: #e3f2fd; 
  font-size: 1.8rem;
  
}


/* المنتجات */
.tt-section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--tt-primary);
  text-align: center;
}
.tt-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.tt-product-card {
  background: #fff;
  border-radius: var(--tt-radius);
  padding: 1rem;
  box-shadow: var(--tt-shadow);
  text-align: center;
}

/* رابط المتجر */
.tt-store-link {
  text-align: center;
  margin-top: 1rem;
}
.tt-btn-primary {
  background-color: var(--tt-primary);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--tt-radius);
  text-decoration: none;
  font-weight: bold;
}

@media (min-width: 992px) {
  .tt-feature-cards {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 2rem;
  }

  .taketrake-feature-box {
    flex: 0 0 30%;
    max-width: 30%;
  }
}




/* سلايدر */
.tt-home-swiper {
  width: 100%;
  height: 250px;
  margin-bottom: 2rem;
  border-radius: var(--tt-radius);
  overflow: hidden;
}
.tt-home-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/*البطاقات في للصحة الرئيسية*/

/* 🌟 النموذج الأزرق */
.taketrake-feature-box1.blue {
  background: #e7f1ff; /* أزرق خفيف */
  color: #007bff;
  border-right: 5px solid #007bff;
}

/* 🌿 النموذج الأخضر */
.taketrake-feature-box1.green {
  background: #eafaf1; /* أخضر خفيف */
  color: #28a745;
  border-right: 5px solid #28a745;
}

/* 🌞 النموذج الأصفر */
.taketrake-feature-box1.yellow {
  background: #fff9e6; /* أصفر خفيف */
  color: #ffc107;
  border-right: 5px solid #ffc107;
}

/* 🔴 النموذج الأحمر */
.taketrake-feature-box1.red {
  background: #ffeaea; /* أحمر خفيف */
  color: #dc3545;
  border-right: 5px solid #dc3545;
}

/* 🎯 القاعدة الأساسية */
.taketrake-feature-box1 {
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: var(--tt-shadow);
}

.taketrake-feature-box1:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
}

@media (min-width: 992px) {
  .taketrake-feature-box1 {
    flex: 0 0 30%;
    max-width: 30%;
  }
}


/*//////////////////الاكثر مبيعا في الصفحة الرئيسية//////////////////////////////////////////////////////////*/
/* 1) تدوير زوايا الصور */
/* قسم الأكثر مبيعًا */
/* قسم الأكثر مبيعًا */
.bst-best-selling-products {
    padding: 2rem 0;
    background-color: #fdf6f0;
    border-radius: 10px;
}
.bst-best-selling-products h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 600;
}

/* شبكة العناصر */
.bst-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* بطاقة المنتج */
.bst-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    border: 1px solid #e6e2dc;
}

/* صورة المنتج */
.bst-item-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin-bottom: 0.75rem;
}

/* عنوان المنتج */
.bst-item-title {
    font-size: 1rem;
    margin: 0.5rem 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bst-item-title a {
    color: #2c2c2c;
    text-decoration: none;
}

/* سعر المنتج */
.bst-item-price {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: #d54e21;
    font-weight: 500;
}

/* زر الشراء */
.bst-item-button {
    display: inline-block;
    width: 100%;
    padding: 0.5rem 0;
    background-color: #d54e21;
    color: #ffffff;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
}

/* إخفاء Quick View و Wishlist إن وجدت */
.shopengine-quickview-trigger,
.shopengine-wishlist-trigger,
.yith-wcwl-add-to-wishlist,
.woocommerce-loop-product__link + .button {
    display: none !important;
}














