/* ریست اولیه */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@font-face {
  font-family: 'yekan';
  src: url('../fonts/BYekan.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'yekan', sans-serif;
  background-color: #ffffff;
  color: #333;
  direction: rtl;
  line-height: 1.6;
  padding-bottom: 200px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* هدر */
.site-header {
  background-color: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  width: 120px;
  height: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main-nav ul li a {
  font-weight: 500;
  color: #00B38F;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

.main-nav ul li a:hover {
  color: #008a70;
  border-bottom: 2px solid #00B38F;
}
.blink-warning {
  color: red;
  font-weight: bold;
  animation: blink 1s linear infinite;
  padding: 5%;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}







        .btn-cta {
          background-color: #00bcd4;
          border: none;
          color: white;
          padding: 0.65rem 1.5rem;
          font-size: 1rem;
          border-radius: 8px;
          transition: background-color 0.3s ease;
        }

        .btn-cta:hover {
          background-color: #009faf;
          color: #fff;
        }



        .hero-img img {
          max-width: 100%;
          height: auto;
          margin: 0 auto;
          display: block;
        }

        /* بهبود مودال */
        #loginModal .modal-content {
          border-radius: 14px;
          box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
          padding: 0.5rem 1rem;
        }

        #loginModal label {
          font-weight: 500;
          margin-top: 8px;
          display: block;
        }

        #loginModal input {
          font-size: 0.95rem;
          direction: ltr;
          
        }

        #loginModal .btn {
          font-size: 0.95rem;
        }

        @media (max-width: 576px) {
          .hero-banner h1 {
            font-size: 1.5rem;
          }

          .hero-banner p {
            font-size: 0.95rem;
          }
        }

        .home-hero {
          background: linear-gradient(135deg, #3b3dbb, #4657e2);
          color: #fff;
          padding: 100px 20px 60px;
          text-align: center;
          border-radius: 24px;
          margin: 10px;
        }


        .home-btn {
          background-color: #ff5722;
          color: #fff;
          padding: 12px 32px;
          font-size: 1.1rem;
          border-radius: 40px;
          text-decoration: none;
          box-shadow: 0 0 14px rgba(255, 87, 34, 0.4);
          transition: all 0.3s ease-in-out;
          display: inline-block;
          margin-top: 30px;
        }

        .home-btn:hover {
          background-color: #e64a19;
          transform: scale(1.05);
          box-shadow: 0 0 24px rgba(255, 87, 34, 0.6);
        }

        .home-box {
          background: #fff;
          padding: 24px 16px;
          margin: -40px auto 0;
          border-radius: 15px;
          max-width: 860px;
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
        }

        .home-list {
          padding-right: 1.5rem;
          list-style: none;
        }

        .home-list li {
          position: relative;
          padding-right: 24px;
          margin-bottom: 12px;
        }

        .home-list li::before {
          content: "✔";
          position: absolute;
          right: 0;
          color: #0d6efd;
          font-weight: bold;
        }
















.user-section .btn-login {
  background-color: #00B38F;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.user-section .btn-login:hover {
  background-color: #008a70;
}

.product-card {
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 12px;
}

.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 179, 143, 0.3);
}

.btn-glow {
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 0px 10px rgba(0, 179, 143, 0.5);
}

.btn-glow:hover {
  background-color: #00B38F;
  box-shadow: 0px 0px 15px rgba(0, 179, 143, 0.8);
  transform: scale(1.1);
}

.product-card {
  max-width: 280px; /* 🚀 جلوگیری از کشیدگی کارت‌ها */
  min-width: 250px;
  flex-grow: 1;
  margin-bottom: 20px; /* 🚀 فاصله بین کارت‌ها */
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 12px;
}

.container-lg {
  max-width: 1200px; /* 🚀 جلوگیری از کشیدگی بیش‌ازحد در صفحه‌های بزرگ */
}

.row {
  gap: 24px; /* 🚀 فاصله استاندارد بین کارت‌ها */
}

.card-img-top {
  max-height: 180px;
  object-fit: cover;
}

.welcome-message {
    font-size: 12px;  /* 👈 فونت کوچک‌تر */
    color: red;  /* 👈 رنگ قرمز */
    font-weight: bold;  /* 👈 متن برجسته */
}
.hover-link {
  transition: all 0.3s ease-in-out;
  position: relative;
}

.hover-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0d6efd;
  transition: width 0.3s;
}

.hover-link:hover {
  color: #0d6efd !important;
}

.hover-link:hover::after {
  width: 80%;
}
.site-footer {
  box-shadow: 0 -4px 10px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  font-size: 14px;
  opacity: 0.95;
  transition: all 0.3s ease-in-out;

}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 15px;
}

.footer-links li {
  display: inline;
}

.footer-hover {
  position: relative;
  transition: color 0.3s ease-in-out;
}

.footer-hover::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffc107;
  transition: width 0.3s ease-in-out;
}

.footer-hover:hover {
  color: #ffc107 !important;
}

.footer-hover:hover::after {
  width: 100%;
}

.text-gradient {
  background: linear-gradient(45deg, #0d6efd, #6f42c1);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}








  .auth-wrapper {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 32px 24px;
    animation: fadeInDown 0.6s ease both;
  }

  .auth-wrapper h4 {
    color: #374b8c;
    font-weight: 800;
    margin-bottom: 1.5rem;
  }

  label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
  }

  .form-control {
    border-radius: 8px;
    height: 44px;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
  }

  .btn-primary {
    background: #0d6efd;
    border: none;
    border-radius: 8px;
    padding: 0.65rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
  }

  .btn-primary:hover {
    background: #0b5ed7;
  }

.otp-inputs {
  direction: ltr;
  display: flex;
  justify-content: center;
  gap: 6px;
}

  .otp-box {
    width: 36px;
    height: 44px;
    font-size: 1.25rem;
    text-align: center;
    direction: ltr;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #fdfdfd;
    transition: 0.25s;
  }

  .otp-box:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
    outline: none;
  }

  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (max-width: 420px) {
    .otp-box {
      width: 32px;
      height: 40px;
    }
  }


  #enamad-container {
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 1050;
}

#enamad-container img {
  width: 90px; /* اندازه مناسب */
  opacity: 0.9; /* کمی شفافیت برای مزاحم نبودن */
  transition: opacity 0.3s ease-in-out;
}

#enamad-container img:hover {
  opacity: 1; /* وقتی موس روش رفت، کامل واضح بشه */
}


.card-img-top-wrapper {
  aspect-ratio: 16/10; /* یا هر نسبت دلخواه */
  overflow: hidden;
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
}