@font-face {
  font-family: yekan;
  src: url(../font/iranyekan/woff2/IRANYekanXFaNum-Light.woff2);
  font-weight: 300;
  font-display: optional;
}
@font-face {
  font-family: yekan;
  src: url(../font/iranyekan/woff2/IRANYekanXFaNum-Regular.woff2);
  font-weight: 400;
  font-display: optional;
}
@font-face {
  font-family: yekan;
  src: url(../font/iranyekan/woff2/IRANYekanXFaNum-Medium.woff2);
  font-weight: 500;
  font-display: optional;
}
@font-face {
  font-family: yekan;
  src: url(../font/iranyekan/woff2/IRANYekanXFaNum-DemiBold.woff2);
  font-weight: 600;
  font-display: optional;
}
@font-face {
  font-family: yekan;
  src: url(../font/iranyekan/woff2/IRANYekanXFaNum-Bold.woff2);
  font-weight: 700;
  font-display: optional;
}

* {
  font-family: yekan;
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
body {
  color: #263238;
}
.ll a {
  text-decoration: none;
  color: #33230d;
  padding: 0 10px 0 10px;
  border-right: 2px solid #d4d4d4;
}
a {
  text-decoration: none;
  color: #33230d;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #1f5c36;
  outline-offset: 2px;
}
h5 {
  margin: 0 10px;
}
p {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto; /* برای مرورگرهای قدیمی */
  -moz-hyphens: auto;
  hyphens: auto;
  line-height: 1.8;
  word-spacing: 0.05em; /* فاصله کلمات */
  font-feature-settings: "kern" 1; /* کرنینگ بهتر */
  color: #4b5563;
}
.lom{
  max-width: 1700px;width: 85%; margin: 0 auto 0 auto;
}
@media(max-width:1400px){
  .lom{
    width: 100%;
  }
}
    /* ───── HEADER WRAPPER ───── */
    header {
      background: var(--bg);
      border-bottom: 1px solid var(--border);
      width: 100%;
      position: sticky;
      top: 0;
      z-index: 1000;
    }
 
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: 30px auto 0;
      height: 72px;
      gap: 16px;
      background-color: #f0f3de;
      border-top: 1px solid #aeaeaea7;
      border-bottom: 1px solid #aeaeaea7 ;
    }
 
    /* ───── LOGO ───── */
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 44px;
      text-decoration: none;
      flex-shrink: 0;
    }
 
    .logo-icon {
      width: 48px;
      height: 48px;
      flex-shrink: 0;
    }
 
    .logo-text {
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--logo-color);
      letter-spacing: -0.5px;
      line-height: 1.2;
      white-space: nowrap;
    }
 
    /* ───── NAV ───── */
    nav {
      display: flex;
      align-items: center;
      gap: 4px;
      flex: 1;
      justify-content: center;
      flex-wrap: nowrap;
    }
 
    .nav-item {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 8px 14px;
      min-height: 44px;
      border-radius: 8px;
      font-size: 0.88rem;
      font-weight: 500;
      color: var(--text);
      text-decoration: none;
      white-space: nowrap;
      cursor: pointer;
      transition: background 0.2s;
      position: relative;
    }
 
    .nav-item:hover { background: rgba(0,0,0,0.06); }
 
    .nav-item svg { flex-shrink: 0; }
 
    /* dropdown arrow */
    .nav-item.has-dropdown::after {
      content: '▾';
      font-size: 0.7rem;
      opacity: 0.6;
      margin-right: 2px;
    }
 
    /* ───── RIGHT ACTIONS ───── */
    .header-actions {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
    }
 
    .icon-btn {
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      cursor: pointer;
      color: var(--icon-color);
      transition: background 0.2s;
      border: none;
      background: transparent;
    }
    .icon-btn:hover { background: rgba(0,0,0,0.07); }
 
    .track-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      background: #d7ba63;
      color: var(--btn-text);
      border: none;
      border-radius: 10px;
      padding: 10px 18px;
      min-height: 44px;
      font-family: 'Vazirmatn', sans-serif;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      white-space: nowrap;
      transition: background 0.2s, transform 0.15s;
    }
    .track-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
    .track-btn:active { transform: translateY(0); }
 
    /* ───── MOBILE HAMBURGER ───── */
    .hamburger {
      display: none;
      width: 44px;
      height: 44px;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 6px;
      border: none;
      background: transparent;
    }
    .hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: #33230d;
      border-radius: 2px;
      transition: all 0.3s;
    }
 
    /* ───── MOBILE MENU ───── */
    .mobile-menu {
      display: none;
      flex-direction: column;
      background: rgba(255, 255, 255, 0.65);
      backdrop-filter: blur(20px);
      border-top: 1px solid var(--border);
      padding: 12px 20px 20px;
      gap: 4px;
    }
    .mobile-menu .nav-item {
      font-size: 1rem;
      padding: 12px 16px;
      border-radius: 10px;
    }
    .mobile-menu.open { display: flex; }
 
    /* ───── RESPONSIVE ───── */
    @media (max-width: 1024px) {
      .nav-item { padding: 8px 10px; font-size: 0.82rem; }
    }
 
    @media (max-width: 820px) {
      nav { display: none; }
      .hamburger { display: flex; justify-content: center; align-items: center; }
      .header-inner { padding: 0 16px; }
    }
 
    @media (max-width: 480px) {
      .logo-text { font-size: 1.1rem; }
      .track-btn { display: none; }
      .track-btn { padding: 10px 12px; }
    }
.footer {
  background-color: #3f6832;
  color: #fff;
  padding: 25px 0;
  position: relative;
  font-family: Tahoma, sans-serif;
  border-radius: 20px;
  min-height: 300px;
  margin-top: 150px;
  margin-bottom: 50px;
}
.footer p {
  color: #fff;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 50px;
  gap: 20px;
}

/* استایل کادر لوگو در وسط */
.footer-center {
  background: var(--site-background-color);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  padding: 15px 40px;
  margin-top: -40px;
  /* برای بالا آمدن از سطح فوتر */
  text-align: center;
  width: 200px;
}

.footer-col {
  flex: 1;
}

.contact-item {
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  border: 1px rgb(236, 236, 236) solid;
}

.copyright {
  text-align: center;
  border-top: 1px solid #e2e2e2;
  border-bottom: 1px solid #e6e6e6;
  margin: 40px auto;
  padding: 15px;
  font-size: 12px;
  width: 90%;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
  }

  .footer-center {
    margin-top: 0;
    border-radius: 0;
  }
}

.footer-col > h3,
.footer-col > span {
  color: #ffeb7c;
}

.bar {
  border: #5c8d49 1px solid;
  border-radius: 15px;
  background-color: #5f974d1a;
  padding: 20px;
  color: #33230d;
}

.bigbar {
  width: 55%;
}

@media (max-width: 768px) {
  .bigbar {
    width: 100%;
  }
}

.window {
  display: flex;
  max-width: 295px;
  min-width: 200px;
  border: 1px solid #5c8d49;
  align-items: center;
  flex-wrap: wrap;
  margin: auto;
}

.window > img {
  width: 60px;
  height: 60px;
  margin: 12px;
}

.window p {
  font-size: 14px;
  color: #5f6368;
}

.window h3 {
  color: #5c8d49;
}

.window > div {
  width: 190px;
}

.window > button {
  border-radius: 10px;
  width: 270px;
  padding: 7px;
  background-color: #eecf44c4;
  margin: 10px auto;
  color: #263238;
  border: 0;
  font-size: medium;
}

.callBox {
  display: flex;
  justify-content: space-around;
  max-width: 650px;
  flex-wrap: wrap;
  border-radius: 15px;
  background-color: #5f974d1a;
  width: 100%;
  padding: 50px 20px;
  align-items: center;
  gap: 10px;
}

.callBox svg {
  width: 40px;
  height: 40px;
}

.callBox > div {
  width: 100px;
  background-color: #e9ead994;
  border-radius: 13px;
  box-shadow: 0 0 11px 0 #5f974d1a;
  color: orange;
  max-height: 80px;
}

.ACalUS {
  display: flex;
  justify-content: space-around;
  background-color: #5c8d49;
  text-decoration: none;
  color: white;
  padding: 10px 30px 4px;
  height: max-content;
  border-radius: 10px;
  margin: auto;
}
.product-card {
  width: 300px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.4s ease;
  margin-top: 20px;
}
@media (max-width: 650px) {
  .product-card {
    width: 170px;
    height: 170px;
  }
}
.product-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.7s ease;
}

.product-card:hover img {
  transform: scale(1.18);
  opacity: 0.75;
}

/* لیبل وسط */
.label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #eecf44c4;
  color: #333;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  z-index: 2;
}

.product-card:hover .label {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
}

/* متن موجودی که موقع هاور ظاهر میشه */
.inventory {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 2;
  pointer-events: none;
}

.product-card:hover .inventory {
  opacity: 1;
}

/* لایه تاریک برای خوانایی بیشتر */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-card:hover .overlay {
  opacity: 1;
}
.category-section {
  position: relative;
  margin: 32px 0 40px;
  padding: 0 16px;
}
.category-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 24px);
}
.category-card-grid .category-card {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
}
@media (max-width: 1000px) {
  .category-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .category-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.loc svg {
  margin: 11px 0 0 0;
  border-right: #c9c9c9 solid 2px;
  text-align: center;
  padding: 0 5px;
}
.soilFirst {
  display: flex;
  flex-wrap: wrap;
  max-width: 1300px;
  background-color: white;
  justify-content: space-between;
  margin: 50px auto 0 auto;
  border-radius: 20px;
  padding: 40px;
}
.soilSubFirst {
  border: 1px solid #5c8d49;
  max-width: 1125px;
  padding: 20px;
  margin: 0 auto;
  border-radius: 0 0 15px 15px;
  border-top: none;
  display: flex;
  justify-content: space-between;
}
.soilsecond2 {
  display: flex;
  padding: 40px;
  max-width: 800px;
  background-color: white;
  border-radius: 15px;
  gap: 5px;
  justify-content: space-between;
  margin: 20px 0;
}
.soilsecond1 {
  padding: 5px 40px;
  max-width: 800px;
  background-color: white;
  border-radius: 15px;
  margin: 20px 0;
}
.soilsecond1 > h3 {
  color: #5c8d49;
  border-bottom: #5c8d49 dashed 1px;
  padding: 9px;
}
h4 {
  margin: 0;
}
.carousel {
  overflow-x: auto; /* اسکرول افقی */
  overflow-y: hidden;
  display: flex;
  gap: 15px;
  padding: 15px 0;
  scroll-behavior: smooth; /* اسکرول نرم */
  scrollbar-width: thin; /* برای فایرفاکس */
  -webkit-overflow-scrolling: touch; /* بهتر شدن اسکرول در موبایل */
}
@media (max-width:600px){
  .carousel{
    max-width: 320px;
  }
}
.carousel::-webkit-scrollbar {
  height: 8px;
}

.carousel::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.carousel-item {
  flex: 0 0 auto; /* جلوگیری از کوچک شدن تصاویر */
  width: 190px; /* عرض هر تصویر - می‌تونی تغییر بدی */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* اختیاری: اسنپ کردن به هر تصویر */
.carousel {
  scroll-snap-type: x mandatory;
}
.carousel-item {
  scroll-snap-align: center;
}
.container {
  display: flex;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px;
  flex-wrap: wrap;
}

.left-sidebar {
  width: 320px; /* عرض دلخواه */
  position: sticky;
  top: 30px; /* فاصله از بالا - می‌تونی تنظیم کنی */
  align-self: flex-start;
  height: fit-content;
  z-index: 100;
  margin: 19px 0;
}

/* برای بهتر شدن در موبایل */
@media (max-width: 992px) {
  .left-sidebar {
    position: static; /* در موبایل ثابت نباشد */
    width: 100%;
  }
}
button {
  background-color: #00000000;
  border: none;
  cursor: pointer;
}
.left-sidebar button {
  color: #5f6368;
}
.leftboxnum {
  background-color: white;
  padding: 30px;
  border-radius: 15px;
  min-width: 300px;
  margin: 20px 0;
  color: #5c8d49;
  fill: #5c8d49;
}
.leftboxnum div {
  margin: 20px 0;
}
.leftboxnum svg {
  background-color: #ffeb7c;
  padding: 10px;
  border-radius: 12px;
  width: 20px;
}
.leftboxnum a {
  font-size: larger;
  color: #5c8d49;
}
.leftboxnum h3 {
  border-bottom: #5c8d49 1px dashed;
  padding-bottom: 15px;
  margin: 0;
}
.weblog-middle .blog-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
  align-items: start;
  margin-top: 30px;
  margin-bottom: 30px;
}
.weblog-middle figure {
  margin: 0;
}
.weblog-middle img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  max-height: 200px;
}
.weblog-middle h1 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}
.weblog-middle .meta {
  color: #666;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.weblog-middle p {
  margin: 0 0 12px;
  line-height: 1.8;
  color: #222;
  text-align: justify;
}
.weblog-middle .read-more {
  display: inline-block;
  padding: 10px 16px;
  background: #000;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}
@media (max-width: 800px) {
  .weblog-middle .blog-row {
    grid-template-columns: 1fr;
  }
}
.search-container3 {
  max-width: 720px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.search-wrapper3 {
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border-radius: 9999px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s ease;
}

.search-wrapper3:focus-within {
  box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.3);
  transform: translateY(-3px);
}

.search-wrapper3 input {
  flex: 1;
  padding: 22px 70px 22px 25px;
  font-size: 18px;
  border: none;
  outline: none;
  background: transparent;
  direction: rtl;
  text-align: right;
}

.search-btn3 {
  width: 58px;
  height: 58px;
  background: #8b5cf6;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 4px;
  border-radius: 9999px;
}

.search-btn3:hover {
  background: #7c3aed;
  transform: scale(1.08);
}

.search-btn3 svg {
  transition: transform 0.3s ease;
}

.search-btn3:hover svg {
  transform: scale(1.1);
}

/* placeholder فارسی */
.search-wrapper3 input::placeholder {
  color: #9ca3af;
}
.single-product{
    display:grid;
    grid-template-columns:370px 1fr;
    gap:30px;
}

/* --------------------- */
/* خرید */
/* --------------------- */

.buy-box{
    background:#fff;
    border-radius:20px;
    padding:22px;
    height:fit-content;
}

.product-meta{
    display:flex;
    flex-direction:column;
    gap:28px;
}

.product-meta .row{
    display:flex;
    justify-content:space-between;
    color:#5f6368;
    font-size:15px;
}

.product-meta span{
    font-weight:700;
    color:#4a4a4a;
}

.price-section{
    margin-top:35px;
    border-top:1px dashed #cfcfcf;
    padding-top:25px;
}

.price-section span{
    color:#444;
    font-weight:600;
}

.price-section h2{
    margin-top:12px;
    color:#5d8f3f;
    font-size:34px;
}

.cart-actions{
    margin-top:25px;
    display:flex;
    align-items:center;
    gap:10px;
}

.add-cart{
    flex:1;
    height:50px;
    border:none;
    background:#d7ba63;
    color:#263238;
    font-weight:700;
    border-radius:8px;
    cursor:pointer;
}

.qty{
    display:flex;
    gap:6px;
}

.qty button{
    width:38px;
    height:50px;
    border:1px solid #ddd;
    background:#fff;
}

.qty input{
    width:40px;
    text-align:center;
    border:1px solid #ddd;
}

/* --------------------- */
/* محتوا */
/* --------------------- */

.content-box{
    background:#fff;
    border-radius:20px;
    padding:30px;
    display:grid;
    grid-template-columns:1fr 530px;
    gap:40px;
}

.product-info h1{
    text-align:center;
    font-size:36px;
    color:#2f2f2f;
    margin-bottom:25px;
}

.product-info p{
    text-align:center;
    line-height:2.3;
    color:#666;
    font-size:17px;
}

.product-info hr{
    margin:35px 0;
    border:none;
    border-top:1px dashed #ccc;
}

.features-title{
    color:#d58b34;
    font-size:30px;
    font-weight:700;
    margin-bottom:25px;
}

.features-wrapper{
    display:grid;
    grid-template-columns:180px 1fr;
    gap:20px;
}

.rate-box{
    border:1px solid #ececec;
    border-radius:14px;
    overflow:hidden;
}

.rate-box .item{
    height:72px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    border-bottom:1px solid #eee;
    color:#666;
}

.rate-box .item:last-child{
    border-bottom:none;
}

.feature-table{
    border:1px solid #e7e7e7;
    border-radius:16px;
    overflow:hidden;
}

.feature-row{
    display:flex;
    justify-content:space-between;
    padding:22px;
    border-bottom:1px solid #eee;
}

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

.feature-row span{
    color:#666;
}

.feature-row strong{
    color:#4f7f37;
}

/* --------------------- */
/* گالری */
/* --------------------- */

.gallery{
    display:grid;
    grid-template-columns:1fr 120px;
    gap:14px;
}

.main-image{
    border-radius:18px;
    overflow:hidden;
    background:#f8f8f8;
}

.main-image img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.thumbs{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.thumbs img{
    width:100%;
    height:120px;
    border-radius:14px;
    border:1px solid #ececec;
    object-fit:cover;
    cursor:pointer;
}

/* --------------------- */
/* ریسپانسیو */
/* --------------------- */

@media(max-width:1200px){

    .single-product{
        grid-template-columns:1fr;
    }

    .content-box{
        grid-template-columns:1fr;
    }

    .gallery{
        order:-1;
    }

}
body{
    background:#e9ead9;
    font-family:YekanBakh,Tahoma;
    direction:rtl;
}

.single-product{
    max-width:1600px;
    margin:auto;
    display:grid;
    grid-template-columns:340px 1fr;
    gap:25px;
}

.buy-box{
    background:#fff;
    border-radius:22px;
    padding:30px;
    box-shadow:0 0 0 1px #ececec;
}

.content-box{
    background:#fff;
    border-radius:22px;
    padding:35px;
    display:grid;
    grid-template-columns:1fr 520px;
    gap:40px;
}

.product-info h1{
    font-size:42px;
    font-weight:700;
    text-align:center;
    margin-bottom:30px;
}

.product-info p{
    text-align:center;
    line-height:2.4;
    color:#666;
}

.features-title{
    color:#d38a34;
    font-size:32px;
    font-weight:700;
}

.feature-table{
    border:1px solid #ececec;
    border-radius:18px;
    overflow:hidden;
}

.feature-row{
    padding:24px;
    border-bottom:1px solid #eee;
}

.gallery{
    display:grid;
    grid-template-columns:1fr 110px;
    gap:14px;
}

.main-image{
    border-radius:20px;
    overflow:hidden;
    border:1px solid #ececec;
}

.thumbs img{
    border-radius:14px;
    border:1px solid #ececec;
}
.product-box{
    background:#fff;
    border-radius:18px;
    padding:30px;
    margin:40px auto;
    box-shadow:0 1px 3px rgba(0,0,0,.05);
}

.custom-table{
    margin-bottom:0;
}

.custom-table th,
.custom-table td{
    padding:14px 18px;
    text-align:center;
    vertical-align:middle;
    border-bottom:1px solid #d9d9d9;
    color:#222;
}

.custom-table td:last-child,
.custom-table th:last-child{
    text-align:right;
}

.section-headeri th{
    background:#d7e6ee;
    color:#111;
    font-size:20px;
    font-weight:700;
    border-bottom:none;
}

.gap-row td{
    height:50px;
    border:none;
    background:#fff;
}

.custom-table tbody tr:last-child td{
    border-bottom:none;
}

@media(max-width:768px){

    .product-box{
        padding:15px;
    }

    .custom-table th,
    .custom-table td{
        font-size:14px;
        padding:10px;
        white-space:nowrap;
    }
}
  .slider-section {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    margin-bottom: 56px;
  }
 
  /* Header row (عنوان + دکمه مشاهده همه) */
  .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
  }
  .section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a2e0f;
  }
  .view-all-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #4a7c2f;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px 8px 10px;
    min-height: 44px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
  }
  .view-all-btn:hover { background: #3a6222; }
  .view-all-btn .btn-icon {
    width: 26px; height: 26px;
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
  }
  .view-all-btn svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
 
  /* Outer (نسبت به این position:absolute می‌شه) */
  .slider-outer { position: relative; }
 
  /* Wrapper */
  .slider-wrapper {
    position: relative;
    overflow: hidden;
    cursor: grab;
    user-select: none;
  }
  .slider-wrapper:active { cursor: grabbing; }
  .slider-wrapper::before,
  .slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 70px;
    z-index: 10;
    pointer-events: none;
  }
  .slider-wrapper::before { right: 0; }
  .slider-wrapper::after  { left:  0; }
 
  /* Track */
  .slider-track {
    display: flex;
    gap: 16px;
    will-change: transform;
    padding: 10px 2px 16px;
  }
 
  /* Arrow buttons (مشترک) */
  .arrow-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 20;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    transition: background 0.2s, transform 0.2s;
  }
  .arrow-btn:hover { background: #fff; transform: translateY(-50%) scale(1.1); }
  .arrow-btn svg { width: 15px; height: 15px; stroke: #2d4a2d; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
  .arrow-prev { right: -16px; }
  .arrow-next { left:  -16px; }
 
  /* ════════════════════════════════════════
     VIDEO CARDS
  ════════════════════════════════════════ */
  .video-card {
    flex: 0 0 calc(25% - 12px);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    aspect-ratio: 4/3;
    background: #1a2e1a;
  }
  .video-card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
  .card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  }
  .card-info {
    position: absolute;
    bottom: 0; right: 0; left: 0;
    padding: 14px 14px 12px;
    color: #fff;
  }
  .card-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
  .card-title { font-size: 15px; font-weight: 700; }
  .play-btn {
    width: 28px; height: 28px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.85);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .play-btn svg { width: 10px; height: 10px; fill: #fff; margin-right: -1px; }
  .card-divider { border: none; border-top: 1px dashed rgba(255,255,255,0.45); margin-bottom: 8px; }
  .card-date-row { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: rgba(255,255,255,0.85); }
  .card-date-row .labeli { display: flex; align-items: center; gap: 5px; }
  .card-date-row svg { width: 13px; height: 13px; fill: rgba(255,255,255,0.7); }

  .slider-section .view-all-btn { text-decoration: none; }

  .blog-banner {
    background: linear-gradient(120deg, #e8efd6, #f7f8ef);
    border-top: 2px solid #9caf5c;
    padding: 28px 16px;
    margin: 20px 0;
    text-align: center;
  }
  .blog-banner h2 { color: #294b25; margin: 0 0 8px; }
  .blog-banner p { color: #62705a; margin: 0; }
  .blog-search-wrap { text-align: center; margin: 28px 0; }
  .blog-search-wrap .search-container3 { margin-bottom: 0; }
  .weblog-middle { width: 93%; max-width: 1100px; margin: 24px auto 48px; padding: 16px; }
  .weblog-middle .blog-row {
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.6fr);
    align-items: center;
    padding: 20px;
    border: 1px solid #e7eadf;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(39, 67, 32, 0.07);
  }
  .blog-video-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #1a2e1a;
    aspect-ratio: 16 / 10;
  }
  .blog-video-thumb img { width: 100%; height: 100%; max-height: none; transition: transform 0.25s; }
  .blog-video-thumb:hover img { transform: scale(1.04); }
  .blog-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(36, 74, 38, 0.78);
    transform: translate(-50%, -50%);
  }
  .blog-video-play svg { width: 16px; height: 18px; fill: #fff; margin-right: -3px; }
  .blog-video-label {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 5px 10px;
    border-radius: 20px;
    background: #ffeb7c;
    color: #31472a;
    font-size: 12px;
    font-weight: 700;
  }
  .weblog-middle .blog-row article { direction: rtl; text-align: right; }
  .weblog-middle .blog-row h1 { color: #294b25; font-size: 1.35rem; line-height: 1.7; }
  .weblog-middle .blog-row .meta { color: #77806d; font-size: 0.85rem; }
  .weblog-middle .blog-row p { color: #454a40; }
  .weblog-middle .blog-row .read-more {
    background: #4a7c2f;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: background 0.2s;
  }
  .weblog-middle .blog-row .read-more:hover { background: #3a6222; }
  .blog-detail-page { width: 100%; margin: 32px 0; }
  .blog-detail-row { display: flex; flex-wrap: wrap; gap: 24px 0; }
  .blog-detail-page .single-thumb { margin: 0 0 16px; }
  .blog-detail-page .single-thumb img { display: block; width: 100%; max-height: 460px; object-fit: cover; border-radius: 14px; }
  .blog-detail-page .single-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin: 16px 0;
    color: #66705f;
    direction: rtl;
  }
  .blog-detail-page .single-meta > div { display: flex; flex-wrap: wrap; gap: 14px; }
  .blog-detail-page .single-content {
    padding: 24px;
    border-radius: 14px;
    background: #fff;
    color: #30352d;
    line-height: 2;
    text-align: right;
  }
  .blog-detail-page .single-content h1 { color: #294b25; margin-top: 0; font-size: 1.6rem; }
  .blog-detail-page .widget { margin-bottom: 16px; padding: 18px; border-radius: 12px; background: #fff; color: #30352d; }
  .blog-detail-page .widget h4 { margin: 0 0 10px; color: #294b25; }
  .blog-detail-page .widget ul { list-style: none; padding: 0; margin: 0; }
  .blog-detail-page .widget li { padding: 7px 0; border-bottom: 1px solid #edf0e8; }
  .blog-detail-page .widget a { color: #4a7c2f; text-decoration: none; }
  .blog-video-player { position: relative; margin: 0 0 18px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #172417; }
  .blog-video-player video { position: absolute; inset: 0; width: 100%; height: 100%; background: #172417; }
  .blog-video-missing { margin: 0 0 18px; padding: 12px 16px; border-radius: 8px; background: #f6f8f0; color: #63705b; text-align: right; }
  .empty-state { padding: 28px; border-radius: 12px; background: #f6f8f0; color: #63705b; text-align: center; }

  @media (max-width: 800px) {
    .weblog-middle .blog-row { grid-template-columns: 1fr; }
    .weblog-middle { width: 100%; padding: 10px; }
    .weblog-middle .blog-row { padding: 14px; }
  }
 
  /* ════════════════════════════════════════
     PRODUCT CARDS
  ════════════════════════════════════════ */
  .product-card2 {
    flex: 0 0 calc(20% - 13px);
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: box-shadow 0.25s;
  }
  .product-card2:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.13); }
 
  .card-actions {
    position: absolute; top: 10px; left: 10px;
    display: flex; flex-direction: column; gap: 6px;
    opacity: 0; transform: translateX(-6px);
    transition: opacity 0.25s, transform 0.25s;
    z-index: 5;
  }
  .product-card2:hover .card-actions { opacity: 1; transform: translateX(0); }
  .action-icon {
    width: 32px; height: 32px; background: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12); cursor: pointer; transition: background 0.2s;
  }
  .action-icon:hover { background: #f0f4ec; }
  .action-icon svg { width: 15px; height: 15px; stroke: #4a7c2f; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
 
  .card-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #f0f3e8;
    overflow: hidden;
  }
  .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    display: block;
    transition: transform 0.35s ease;
  }
  .product-card2:hover .card-img-wrap img {
    transform: scale(1.06);
  }
 
  .card-body { padding: 12px 14px 16px; }
  .card-name {
    font-size: 12.5px; font-weight: 600; color: #1a2e0f;
    line-height: 1.6; margin-bottom: 4px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .card-category { font-size: 11px; color: #5f6368; margin-bottom: 10px; }
  .card-price { font-size: 13px; font-weight: 700; color: #4a7c2f; }
  .card-price span { font-size: 11px; font-weight: 500; color: #666; margin-right: 2px; }
 
  @media (max-width: 1024px) {
    .video-card   { flex: 0 0 calc(33.333% - 11px); }
    .product-card2 { flex: 0 0 calc(33.333% - 11px); }
  }
 
  @media (max-width: 640px) {
    body { padding: 0; }
    .slider-section { padding: 0; margin-bottom: 40px; }
    .section-title { font-size: 17px; }
    .view-all-btn { font-size: 12px; padding: 7px 12px 7px 8px; }
    .view-all-btn .btn-icon { width: 22px; height: 22px; }
    .arrow-btn { display: none; }
    .slider-wrapper::before,
    .slider-wrapper::after { width: 32px; }
 
    .video-card   { flex: 0 0 calc(75% - 8px); }
    .product-card2 { flex: 0 0 calc(50% - 8px); }
 
    .card-actions { opacity: 1; transform: translateX(0); }
    .card-img-wrap { padding: 0; }
    .card-body { padding: 10px 12px 14px; }
    .card-name { font-size: 11.5px; }
    .card-price { font-size: 12px; }
  }
 
  @media (max-width: 400px) {
    .video-card   { flex: 0 0 calc(88% - 8px); }
    .product-card2 { flex: 0 0 calc(65% - 8px); }
  }
  /* سرچ بار  */
      .search-hero {
      background-color: #d4e0ae;
      position: relative;
      padding: 64px 20px 72px;
      text-align: center;
      overflow: hidden;
    }
 
    .deco-figure {
      position: absolute;
      bottom: 0;
      width: 200px;
      pointer-events: none;
    }
    .deco-figure.left  { left: 0; }
    .deco-figure.right { right: 0; transform: scaleX(-1); }
    .deco-figure svg { width: 100%; height: auto; display: block; }
 
    .search-hero h2 {
      font-size: 1.65rem;
      font-weight: 700;
      color: #29451f;
      margin-bottom: 28px;
      position: relative;
      z-index: 1;
    }
 
    .search-bar-wrap {
      position: relative;
      z-index: 1;
      max-width: 680px;
      margin: 0 auto;
    }
 
    .search-bar {
      display: flex;
      align-items: center;
      background: #fff;
      border-radius: 50px;
      padding: 5px 5px 5px 6px;
      border: 1px solid #c9d8a4;
    }
 
    .s-input {
      flex: 1 1 auto;
      border: none;
      outline: none;
      background: transparent;
      font-family: 'Vazirmatn', sans-serif;
      font-size: 0.93rem;
      padding: 9px 18px;
      min-height: 44px;
      text-align: right;
      direction: rtl;
      color: #333;
      min-width: 0;
    }
    .s-input::placeholder { color: #737b86; }
 
    .s-divider {
      width: 1px;
      height: 26px;
      background: #dde5cc;
      flex-shrink: 0;
      margin: 0 2px;
    }
 
    .s-select {
      border: none;
      outline: none;
      background: transparent;
      font-family: 'Vazirmatn', sans-serif;
      font-size: 0.88rem;
      padding: 9px 14px;
      min-height: 44px;
      direction: rtl;
      color: #555;
      cursor: pointer;
      min-width: 130px;
      flex-shrink: 0;
    }
 
    .s-btn {
      background: #426b34;
      border: none;
      border-radius: 50%;
      width: 44px;
      height: 44px;
      min-width: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 0.18s;
      flex-shrink: 0;
    }
    .s-btn:hover  { background: #36592b; }
    .s-btn:active { transform: scale(0.96); }
 
    @media (max-width: 600px) {
      .deco-figure { width: 110px; }
      .search-hero h2 { font-size: 1.2rem; }
      .s-select { min-width: 100px; font-size: .8rem; }
    }
    @media (max-width: 420px) {
      .deco-figure { display: none; }
    }
    #overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.45);
      z-index: 2000;
      animation: fadeIn 0.2s ease;
    }

    #overlay.open { display: block; }

    @keyframes fadeIn {
      from { opacity: 0; }
      to   { opacity: 1; }
    }

    /* ─── MODAL ─── */
    #searchModal {
      display: none;
      position: fixed;
      top: 15%;
      left: 50%;
      transform: translateX(-50%);
      width: 560px;
      max-width: calc(100vw - 32px);
      background: #ffffff;
      border-radius: 16px;
      z-index: 2001;
      overflow: hidden;
      animation: slideDown 0.22s ease;
    }

    #searchModal.open { display: block; }

    @keyframes slideDown {
      from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
      to   { opacity: 1; transform: translateX(-50%) translateY(0); }
    }

    /* ─── SEARCH ROW ─── */
    .search-row {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 18px 20px;
      border-bottom: 1px solid #efefef;
    }

    .search-form {
      display: block;
      margin: 0;
    }

    .search-row svg {
      width: 20px;
      height: 20px;
      stroke: #aaa;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
    }

    .search-row input {
      flex: 1;
      border: none;
      outline: none;
      font-size: 16px;
      color: #1a1a1a;
      font-family: inherit;
      background: transparent;
      direction: rtl;
    }

    .search-row input::placeholder { color: #737b86; }

    .search-submit {
      border: 0;
      border-radius: 8px;
      padding: 9px 14px;
      background: #5c8d49;
      color: #fff;
      font: inherit;
      cursor: pointer;
      white-space: nowrap;
    }

    .search-submit:hover { background: #4a713b; }

    .close-btn {
      background: #f4f4f4;
      border: none;
      border-radius: 6px;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: #666;
      font-size: 18px;
      flex-shrink: 0;
      transition: background 0.15s;
    }

    .close-btn:hover { background: #e8e8e8; }

    /* ─── MODAL BODY ─── */
    .modal-body { padding: 18px 20px 24px; }

    .section-titlee {
      font-size: 12px;
      font-weight: 600;
      color: #5f6368;
      letter-spacing: 0.5px;
      margin-bottom: 12px;
      text-transform: uppercase;
    }

    /* tags */
    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 20px;
    }

    .tag {
      font-size: 13px;
      padding: 6px 14px;
      border-radius: 20px;
      background: #f0f3de;
      color: #4a5a2a;
      border: 1px solid #d8dcc5;
      cursor: pointer;
      transition: background 0.15s;
      font-family: inherit;
    }

    .tag:hover { background: #e2e7c8; }

    .search-hint {
      margin: 0;
      color: #5f6368;
      font-size: 13px;
    }

    /* recent items */
    .recent-list { display: flex; flex-direction: column; gap: 2px; }

    .recent-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 10px;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.12s;
      color: #555;
      font-size: 14px;
    }

    .recent-item:hover { background: #f7f7f7; }

    .recent-item svg {
      width: 16px;
      height: 16px;
      stroke: #bbb;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
    }
    .nob{
      display: grid;gap: 20px;margin-top: auto;
    }
    @media (max-width:1400px){
      .nob{
        display: none;
      }
    }
/* ════════════════════════════════════════
   MOBILE FIXES – رفع به‌هم‌ریختگی موبایل
════════════════════════════════════════ */

/* padding و عرض کلی */
@media (max-width: 768px) {
  .lom {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }

  /* هدر */
  .header-inner {
    margin-top: 0;
    height: 64px;
    padding: 0 8px !important;
    gap: 8px;
  }
  .logo-icon {
    width: 40px;
    height: 40px;
  }
  .icon-btn {
    width: 44px;
    height: 44px;
  }

  /* هیرو */
  .hero-wrap {
    height: 220px !important;
    overflow: hidden;
  }
  .hero-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* سرچ */
  .search-hero {
    padding: 36px 12px 40px !important;
  }
  .search-hero h2 {
    font-size: 1.05rem !important;
    margin-bottom: 18px !important;
    line-height: 1.5;
    padding: 0 8px;
  }
  .search-bar {
    flex-wrap: wrap;
    border-radius: 16px !important;
    padding: 8px !important;
    gap: 6px;
  }
  .s-input {
    flex: 1 1 100%;
    padding: 10px 14px !important;
    font-size: 0.9rem !important;
    min-width: 0;
    order: 1;
  }
  .s-divider {
    display: none;
  }
  .s-select {
    flex: 1 1 auto;
    min-width: 0 !important;
    max-width: none;
    font-size: 0.82rem !important;
    padding: 8px 10px !important;
    order: 2;
  }
  .s-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    order: 3;
  }

  /* کارت‌های دسته (بذر، کود و ...) */
  .cats-row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 10px 0 20px;
  }
  .product-card {
    width: calc(50% - 12px) !important;
    max-width: 160px;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin-top: 8px !important;
  }
  .label {
    padding: 8px 14px !important;
    font-size: 11px !important;
  }
  .inventory {
    font-size: 12px !important;
  }

  /* اسلایدر محصولات */
  .slider-section {
    margin-bottom: 32px !important;
    padding: 0 !important;
  }
  .section-header {
    padding: 0 4px;
    margin-bottom: 14px !important;
    gap: 8px;
  }
  .section-title {
    font-size: 16px !important;
  }
  .view-all-btn {
    font-size: 11px !important;
    padding: 6px 10px 6px 6px !important;
    white-space: nowrap;
  }
  .view-all-btn .btn-icon {
    width: 20px !important;
    height: 20px !important;
  }
  .product-card2 {
    flex: 0 0 calc(70% - 8px) !important;
    min-width: 0;
  }
  .card-body {
    padding: 10px 10px 12px !important;
  }
  .card-name {
    font-size: 11px !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }
  .card-category {
    font-size: 10px !important;
    margin-bottom: 6px !important;
  }
  .card-price {
    font-size: 12px !important;
    white-space: nowrap;
  }
  .card-price span {
    font-size: 10px !important;
  }
  .action-icon {
    width: 28px !important;
    height: 28px !important;
  }
  .action-icon svg {
    width: 13px !important;
    height: 13px !important;
  }

  /* ویدیو */
  .video-card {
    flex: 0 0 calc(85% - 8px) !important;
  }
  .card-title {
    font-size: 13px !important;
  }
  .card-info {
    padding: 10px !important;
  }

  /* بخش درباره ما */
  .about-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    margin-top: 24px !important;
    padding: 0 4px;
  }
  .about-visual {
    width: 100% !important;
    max-width: 100% !important;
  }
  .about-visual-box {
    width: 100% !important;
    min-height: 180px !important;
    border-radius: 12px !important;
  }
  .about-content {
    max-width: 100% !important;
    width: 100% !important;
    margin-top: 0 !important;
  }
  .about-content > p {
    max-width: 100% !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
  }
  .about-why-box {
    flex-direction: column !important;
    padding: 16px !important;
    gap: 12px !important;
  }
  .about-why-title {
    min-width: 0 !important;
    border-left: none !important;
    border-bottom: 2px solid #d4d4d4;
    padding-bottom: 12px !important;
    margin-bottom: 4px;
  }
  .about-why-title h3 {
    font-size: 14px !important;
    margin: 0 0 8px !important;
  }
  .about-why-title span {
    font-size: 36px !important;
    display: block;
    line-height: 1.1;
  }
  .about-why-text p {
    font-size: 13px !important;
    line-height: 1.7 !important;
  }
  .about-btn {
    width: auto !important;
    display: inline-block;
  }

  /* فوتر */
  .footer {
    margin-top: 60px !important;
    margin-bottom: 20px !important;
    border-radius: 16px !important;
    min-height: auto !important;
    padding: 20px 0 10px !important;
  }
  .footer-wrapper {
    flex-direction: column !important;
    padding: 0 16px !important;
    gap: 28px !important;
    align-items: stretch !important;
  }
  .footer-center {
    margin: 0 auto !important;
    border-radius: 12px !important;
    width: auto !important;
    padding: 12px 24px !important;
  }
  .footer-col h3 {
    font-size: 15px !important;
    margin-bottom: 12px;
  }
  .contact-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    padding: 10px 12px !important;
    word-break: break-word;
  }
  .contact-item span {
    font-weight: 600;
    color: #ffeb7c;
    font-size: 13px;
  }
  .footer-col.address p {
    max-width: 100% !important;
    font-size: 13px !important;
    color: #e8e8e8 !important;
    line-height: 1.7;
  }
  .copyright {
    width: 95% !important;
    font-size: 11px !important;
    margin: 24px auto 10px !important;
    padding: 12px 8px !important;
    line-height: 1.6;
  }
  .enamad-box p {
    color: #ffeb7c;
    font-size: 13px;
  }
  .enamad-icon img {
    max-width: 120px;
    height: auto;
  }
}

@media (max-width: 420px) {
  .product-card {
    width: calc(50% - 10px) !important;
    max-width: 155px;
  }
  .product-card2 {
    flex: 0 0 calc(80% - 8px) !important;
  }
  .video-card {
    flex: 0 0 calc(92% - 8px) !important;
  }
  .search-hero h2 {
    font-size: 0.95rem !important;
  }
  .logo-text {
    font-size: 1rem !important;
  }
}

/* ════════════════════════════════════════
   HERO SLIDER
════════════════════════════════════════ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #1a2e0f;
}
.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.hero-slide.active img {
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(20, 40, 15, 0.75) 0%,
    rgba(20, 40, 15, 0.45) 45%,
    rgba(20, 40, 15, 0.25) 100%
  );
  z-index: 1;
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 8%;
  max-width: 900px;
  margin-right: auto;
  color: #fff;
  text-align: right;
  direction: rtl;
}
.hero-badge {
  display: inline-block;
  background: rgba(238, 207, 68, 0.9);
  color: #2a1f0a;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 14px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin: 0 0 28px;
  max-width: 520px;
  text-align: right;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  background: #426b34;
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.hero-btn:hover {
  background: #36592b;
  transform: translateY(-2px);
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  transition: background 0.2s, transform 0.15s;
  color: #2d4a2d;
}
.hero-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}
.hero-arrow svg {
  width: 18px;
  height: 18px;
}
.hero-prev { right: 18px; }
.hero-next { left: 18px; }
.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.hero-dot::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.85);
  background: transparent;
  transition: background 0.25s, transform 0.2s;
}
.hero-dot.active {
  background: transparent;
}
.hero-dot.active::before {
  background: #eecf44;
  border-color: #eecf44;
  transform: scale(1.2);
}
.hero-dot:hover::before {
  background: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
  .hero-slider {
    height: 380px;
  }
  .hero-content {
    padding: 0 20px;
    align-items: center;
    text-align: center;
  }
  .hero-title {
    font-size: 1.45rem;
  }
  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-align: center;
  }
  .hero-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
  }
  .hero-btn {
    font-size: 0.85rem;
    padding: 10px 22px;
  }
  .hero-arrow {
    width: 44px;
    height: 44px;
  }
  .hero-arrow svg {
    width: 18px;
    height: 18px;
  }
  .hero-prev { right: 10px; }
  .hero-next { left: 10px; }
  .hero-dots {
    bottom: 14px;
  }
  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(15, 30, 10, 0.85) 0%,
      rgba(15, 30, 10, 0.4) 50%,
      rgba(15, 30, 10, 0.25) 100%
    );
  }
}

@media (max-width: 420px) {
  .hero-slider {
    height: 320px;
  }
  .hero-title {
    font-size: 1.2rem;
  }
  .hero-desc {
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ════════════════════════════════════════
   CONTACT PAGE – MOBILE FIXES
════════════════════════════════════════ */
@media (max-width: 768px) {
  .contact-top {
    flex-direction: column !important;
    margin: 24px 0 16px 0 !important;
    gap: 16px !important;
  }
  .contact-intro {
    width: 100% !important;
    min-width: 0 !important;
    padding: 18px !important;
  }
  .contact-intro h2 {
    font-size: 1.25rem !important;
  }
  .contact-intro p {
    font-size: 13px !important;
    line-height: 1.8 !important;
  }
  .contact-intro > div {
    width: 100% !important;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 13px;
  }

  .callBox {
    max-width: 100% !important;
    width: 100% !important;
    padding: 24px 12px !important;
    gap: 12px !important;
    justify-content: center !important;
  }
  .callBox > div {
    width: calc(33.33% - 10px) !important;
    min-width: 90px;
    max-height: none !important;
    padding: 12px 6px !important;
  }
  .callBox > div h4 {
    font-size: 12px !important;
    margin: 6px 0 0 !important;
  }
  .callBox svg {
    width: 32px !important;
    height: 32px !important;
  }

  .contact-social-row {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .contact-map-placeholder {
    width: 100% !important;
    min-width: 0 !important;
    height: 160px !important;
  }
  .contact-social-info {
    width: 100% !important;
    min-width: 0 !important;
    padding: 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .contact-social-info > div[style*="width: 60px"] {
    width: 48px !important;
  }
  .contact-social-info h2 {
    font-size: 1.15rem !important;
  }
  .contact-social-info p {
    font-size: 13px !important;
    line-height: 1.8 !important;
  }
  .ACalUS {
    max-width: none !important;
    width: auto !important;
    padding: 10px 20px 8px !important;
    margin: 8px 0 0 !important;
  }
}

@media (max-width: 420px) {
  .callBox > div {
    width: calc(50% - 8px) !important;
  }
}
