﻿:root {
  --maroon: #800000;
  --text: #222;
  --bg: #ffffff;
  --card-radius: 12px;
}

.ptt-product-wrap {
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  background: #f5f5f7;
  font-family: Tahoma, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.ptt-desc-card {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg);
  border: 4px solid var(--maroon);
  border-radius: var(--card-radius);
  padding: 24px;
  box-sizing: border-box;
  box-shadow: 0 8px 20px rgba(128, 0, 0, 0.12);
}

.ptt-desc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ptt-desc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(128,0,0,0.12), rgba(128,0,0,0.04));
  color: var(--maroon);
  font-size: 22px;
  flex-shrink: 0;
}



.heater-box {
  width: 100%;
  background: #fff;
  border: 4px solid purple; /* ضخیم‌تر */
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* سایه خاکستری */
}

.heater-content {
  font-family: "Tahoma", sans-serif;
  color: #333;
  line-height: 1.8;
  font-size: 16px;
  direction: rtl;
  text-align: justify;
}

.heater-icon {
  font-size: 28px;
  margin-left: 8px;
  vertical-align: middle;
}




.video-box {
  width: 100%;
  max-width: 800px;
  background: #fff;
  border: 3px solid #800000; /* زرشکی */
  border-radius: 12px;
  padding: 16px;
  margin: 20px auto;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(128, 0, 0, 0.4); /* سایه زرشکی */
}

.video-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-family: "Tahoma", sans-serif;
  font-size: 18px;
  color: #800000;
}

.video-icon {
  font-size: 28px;
  margin-left: 8px;
}

.video-content video {
  width: 100%;
  border-radius: 8px;
  outline: none;
}


body {
  margin: 0;
  font-family: "Tahoma", sans-serif;
  background: #f5f5f5;
}

.heater-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.feature-box {
  flex: 1 1 200px; /* کارت‌ها کوچک‌تر میشن */
  max-width: 220px;
  min-width: 180px;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 15px;
  line-height: 1.6;
}

/* رنگ‌های مختلف برای هر باکس */
.red {
  background: #d32f2f;
}

.orange {
  background: #f57c00;
}

.blue {
  background: #1976d2;
}

.green {
  background: #388e3c;
}



body {
  font-family: tahoma, sans-serif;
  background: #f3f4f6;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.box {
  position: relative;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f9f9f9; /* خاکستری خیلی نرم */
  z-index: 1;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* خط گرادیانت دور باکس */
.box::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px; /* ضخامت خط */
  border-radius: 20px;
  background: linear-gradient(135deg, black, gray, white);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: -1;
}

.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.icon {
  min-width: 50px;
  min-height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  flex-shrink: 0;
}

.text h2, .text p:first-child {
  margin: 0;
  font-size: 18px;
  color: #111827;
}

.text p:last-child {
  margin: 5px 0 0;
  font-size: 15px;
  color: #4b5563;
}

@media (max-width: 600px) {
  .box {
    flex-direction: column;
    text-align: center;
  }
  .icon {
    margin-bottom: 10px;
  }
}

/* باکس اصلی */
.custom-heater-box {
  width: 100%;
  background-color: #fff;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin: 20px 0;
  font-family: sans-serif;
}

/* هدر باکس */
.custom-heater-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.custom-heater-icon {
  font-size: 40px;
}

.custom-heater-title {
  font-size: 22px;
  margin: 0;
}

/* باکس‌های رنگی */
.custom-heater-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.custom-heater-category {
  flex: 1 1 calc(33.333% - 10px);
  padding: 15px;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  font-weight: bold;
  box-sizing: border-box;
  border: 2px solid #FFF8E1; /* حاشیه سفید شیری */
  transition: transform 0.2s;
}

.custom-heater-category:hover {
  transform: scale(1.05);
}

/* رنگ‌ها */
.heater-purple { background-color: #800080; }
.heater-brown { background-color: #8B4513; }
.heater-orange { background-color: #FFA500; }
.heater-indigo { background-color: #6A4C93; }
.heater-red { background-color: #FF6B6B; }
.heater-teal { background-color: #4ECDC4; }

/* ریسپانسیو */
@media (max-width: 768px) {
  .custom-heater-category {
    flex: 1 1 calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .custom-heater-category {
    flex: 1 1 100%;
  }
}


.custom-box {
  width: 100%;
  margin: 10px auto;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ccc;
}

.custom-header {
  background-color: #8e24aa; /* ارغوانی */
  color: white;
  padding: 15px;
  font-size: 18px;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
}

.custom-content {
  display: none;
  background: #fff;
  padding: 15px;
}

.custom-content img {
  max-width: 100%;
  height: auto;
}

.custom-content p,
.custom-content ul li {
  text-align: justify;
}

.custom-content h2 {
  text-align: center;
}

.table {
  margin-left: auto;
  margin-right: auto;
}
/* استایل باکس گلخانه - کاملاً مستقل */
.greenhouse-box {
  max-width: 100%;
  background-color: #ffffff; /* سفید */
  border: 2px solid #8A2BE2; /* ارغوانی */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* سایه خاکستری */
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
  margin: 20px 0;
  font-family: Arial, sans-serif;
  overflow-wrap: break-word;
}

.greenhouse-icon {
  font-size: 36px;
  text-align: center;
  margin-bottom: 15px;
}

.greenhouse-content {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  outline: none; /* وقتی ادیت می‌کنیم حاشیه پیش‌فرض حذف شود */
}

/* واکنش‌گرا */
@media (max-width: 768px) {
  .greenhouse-box {
    padding: 15px;
  }
  .greenhouse-icon {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .greenhouse-content {
    font-size: 14px;
  }
}
