*{margin:0;padding:0;box-sizing:border-box}
body{background:#F7F1E6;font-family:Tahoma,sans-serif}
header{width:100%}
header img{width:100%;display:block}

/* استایل عناوین بالای کارت‌ها */
.titles-section{
  width:90%;
  margin:40px auto 10px;
}
.page-main-title{
  text-align:center;
  font-size:34px;
  color:#1d7d22;
  margin-bottom:30px;
  font-weight:bold;
}
.category-title{
  text-align:right;
  font-size:26px;
  color:#333;
  font-weight:bold;
}

.cards{width:90%;margin:20px auto 40px;display:flex;justify-content:center;align-items:flex-start;gap:35px;flex-wrap:wrap}
.card{width:350px;background:#fff;border-radius:20px;padding:25px;text-align:center;box-shadow:0 5px 20px rgba(0,0,0,.15);transition:.3s}
.card:hover{transform:translateY(-8px)}
.card img{width:180px;height:180px;object-fit:contain}
.card h2{font-size:32px;margin:20px 0 15px}
.card p{color:#555;font-size:20px;line-height:2;min-height:90px}
.card button{background:#228B22;color:#fff;border:none;padding:14px 35px;border-radius:40px;cursor:pointer;font-size:18px;transition:.3s}
.card button:hover{background:#196d19}

/* بخش درباره ما و تماس */
.about-contact{width:90%;margin:70px auto;display:flex;justify-content:center;align-items:flex-start;gap:70px}
.about{flex:1}.about h2{color:#1d7d22;font-size:42px;margin-bottom:25px}.about p{font-size:24px;line-height:2.3;color:#333}
.contact{width:430px;padding-left:35px;margin-left:40px}
.contact-item{display:flex;align-items:center;gap:18px;margin-bottom:28px}
.icon{width:52px;height:52px;background:#fff;border-radius:50%;display:flex;justify-content:center;align-items:center;font-size:24px;color:#000;flex-shrink:0}
.ltr{direction:ltr;unicode-bidi:bidi-override;font-size:30px;color:#222}
.address{direction:rtl;font-size:28px;line-height:2;color:#222}

.phone-box{display:flex;flex-direction:column;gap:8px}
.phone-row{display:flex;align-items:center;gap:15px}
.phone-name{font-size:26px;font-weight:bold;color:#222}
.phone-number{direction:ltr;unicode-bidi:bidi-override;font-size:28px}

footer{background:#195f22;color:#fff;text-align:center;padding:22px;margin-top:70px;font-size:22px}

/* ==========================================
   استایل‌های اختصاصی صفحه دوم (محصولات)
   ========================================== */
.product-page {
  width: 90%;
  max-width: 900px;
  margin: 30px auto;
}

.product-title {
  text-align: center;
  font-size: 32px;
  color: #1d7d22;
  margin-bottom: 25px;
}

.section-subtitle {
  text-align: center;
  font-size: 28px;
  color: #1d7d22;
  margin: 35px 0 15px;
}

.gallery-container {
  margin-bottom: 20px;
}

/* اسلایدر افقی اینستاگرامی */
.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.instagram-slider {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 5px 15px;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.instagram-slider::-webkit-scrollbar {
  height: 6px;
}
.instagram-slider::-webkit-scrollbar-thumb {
  background: #1d7d22;
  border-radius: 10px;
}

.instagram-slider img {
  flex: 0 0 80%;
  max-width: 320px;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
  scroll-snap-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.12);
  background: #fff;
}

/* دکمه‌های بعدی و قبلی چپ/راست */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(29, 125, 34, 0.85);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: background 0.3s, transform 0.2s;
}

.slider-btn:hover {
  background: #196d19;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  right: -18px;
}

.next-btn {
  left: -18px;
}

.slider-hint {
  text-align: center;
  font-size: 14px;
  color: #777;
  margin-top: 8px;
}

/* قیمت زیر عکس مولد */
.price-box {
  background: #fff;
  border: 2px dashed #1d7d22;
  border-radius: 15px;
  padding: 15px 30px;
  text-align: center;
  width: fit-content;
  margin: 35px auto 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.price-amount {
  font-size: 24px;
  font-weight: bold;
  color: #222;
}

/* باکس توضیحات محصول */
.product-description {
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.product-description h3 {
  font-size: 22px;
  color: #1d7d22;
  margin-bottom: 12px;
}

.product-description p {
  font-size: 18px;
  line-height: 2;
  color: #444;
}

.back-btn-container {
  text-align: center;
  margin: 30px 0 20px;
}

.back-btn {
  display: inline-block;
  background: #333;
  color: #fff;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 18px;
  transition: 0.3s;
}

.back-btn:hover {
  background: #1d7d22;
}

/* ریسپانسو موبایل و تبلت */
@media(max-width:992px){
.cards{flex-direction:column;align-items:center}
.card{width:95%;max-width:420px}
.about-contact{flex-direction:column;gap:40px}
.about{text-align:center}
.about h2{font-size:34px}.about p{font-size:22px}
.contact{width:100%;max-width:500px;padding-left:0;margin:0 auto}
}

@media(max-width:768px){
.page-main-title{font-size:26px;margin-bottom:20px}
.category-title{font-size:22px;text-align:center}
.card{width:92%;padding:20px}
.card img{width:150px;height:150px}
.card h2{font-size:28px}
.card p{font-size:18px;min-height:auto}
.card button{width:100%}
.about-contact{width:92%;margin:50px auto}
.about h2{font-size:30px}.about p{font-size:19px}
.icon{width:46px;height:46px;font-size:20px}
.ltr,.address{font-size:20px}
footer{font-size:18px;padding:18px}
.prev-btn { right: 2px; }
.next-btn { left: 2px; }
}
/* حذف رنگ آبی هنگام کلیک/لمس روی لینک‌ها و دکمه‌ها */
a, button {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
/* حذف رنگ آبی هنگام کلیک/لمس روی لینک‌ها و دکمه‌ها */
a, button {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

/* دکمه و بخش کرکره‌ای تماس با ما زیر هدر */
.header-contact-container {
  width: 90%;
  max-width: 500px;
  margin: 10px auto 15px auto;
  text-align: center;
}

.contact-toggle-btn {
  width: 100%;
  background-color: #27ae60; /* رنگ سبز جذاب */
  color: #ffffff;
  border: none;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.contact-toggle-btn:active {
  transform: scale(0.98);
}

.contact-toggle-btn i.arrow-icon {
  transition: transform 0.3s ease;
}

/* حالت چرخش فلش هنگام باز شدن */
.contact-toggle-btn.active i.arrow-icon {
  transform: rotate(180deg);
}

/* باکس محتوای کرکره‌ای */
.contact-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
  background-color: #ffffff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  margin-top: 2px;
}

.contact-dropdown-content.open {
  max-height: 150px; /* ارتفاع کافی برای نمایش شماره‌ها */
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

.dropdown-phone-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px dashed #eee;
}

.dropdown-phone-row:last-child {
  border-bottom: none;
}

.dropdown-phone-row a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  direction: ltr;
}

.dropdown-phone-row .name {
  color: #7f8c8d;
  font-size: 14px;
}
/* استایل جدید کرکره‌ای تماس با ما */
.dropdown-phone-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
}

.dropdown-name {
  color: #2c3e50;
  font-size: 16px;
  font-weight: bold; /* درشت‌تر شدن نام علیزاده */
}

.dropdown-numbers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.dropdown-numbers a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  direction: ltr;
}