*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


body{
    direction: rtl;
    font-family: 'iran';
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 2rem;

  
}

@font-face {
    font-family: 'iran';
    src: url(font/IRAN.ttf);
}

.img-header{
    width: 95%;
    border-radius: 24px;
    margin-left: 2.5%;
    margin-right: 2.5%;
    cursor: pointer;
}


 /* ===== نوار بالایی ===== */

 .top-bar {
  background: #fff;
  padding: 0 2rem;
  position:inherit;
  top: 0;
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  

}

/* ===== منوی دسکتاپ ===== */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
  font-size: 0.75rem;
  border-radius: 8px;
  transition: 0.2s;
}
.nav-menu > li > a:hover { background: #f0f0f0; }

/* ===== منوی کشویی (مگا منو) ===== */
.dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  min-width: 700px;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.nav-menu > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown h4 {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}
.dropdown a {
  display: block;
  color: #333;
  text-decoration: none;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  transition: 0.2s;
}
.dropdown a:hover {
  color: #01579b;
  padding-right: 5px;
}
.dropdown .col { display: flex; flex-direction: column; }

/* ===== دکمه همبرگری ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ===== منوی موبایل ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 25px rgba(0,0,0,0.1);
  padding: 2rem 1.5rem;
  transition: 0.35s ease;
  z-index: 999;
  overflow-y: auto;
  list-style: none;
}
.mobile-menu.open { right: 0; }
.mobile-menu > li { margin-bottom: 0.5rem; }
.mobile-menu > li > a {
  display: block;
  padding: 0.7rem 0;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid #f0f0f0;
}
.mobile-menu > li > a i {
  margin-left: 10px;
  color: #28a745;
}

/* زیرمنو در موبایل */
.mobile-dropdown {
  list-style: none;
  padding-right: 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
}
.mobile-dropdown.open { max-height: 500px; }
.mobile-dropdown a {
  display: block;
  padding: 0.5rem 0;
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid #f8f8f8;
}
.mobile-toggle {
  background: none;
  border: none;
  color: #28a745;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem 0;
  width: 100%;
  text-align: right;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}
.mobile-toggle i { transition: 0.3s; }
.mobile-toggle.active i { transform: rotate(180deg); }

/* ===== اوورلی ===== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
  z-index: 998;
}
.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 670px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .top-bar { padding: 0 1rem; }

}

@media (min-width: 993px) {
  .mobile-menu { display: none !important; }
  .overlay { display: none !important; }
}
 


  .dastebandi-mobile-menu{
    margin-bottom: 3%;
    color: #555;
    font-family: 'iran';
    
  }

  .mobile-menu li a:hover{
   color: #01579b ;
  }

.dastebandi-mobile-sabadkharid{
  width:100% ;
  height: 100%;
  background-color: #f48fb1;
}



        /* ===== دکمه‌های ورود و سبد خرید ===== */
        .btn-login {
          background:#fff;
          color: #01579b;
          font-weight: 500;
          font-size: 0.75rem;
          padding: 0.5rem 1rem;
          border-style: solid;
          border-color: #01579b;
          border-width: 1px;
          border-radius: 20px;
          cursor: pointer;
          transition: background 0.25s, transform 0.15s;
          box-shadow: 0 4px 8px rgba(11, 30, 51, 0.08);
          white-space: nowrap;
          font-family: 'iran';
        }
        .btn-login:hover {

          transform: scale(1.02);
        }
      

      /* آیکن ارسال تیکت*/

   .btn-message {
          background:#01579b;
          color: #fff;
          font-weight: 500;
          font-size: 0.75rem;
          padding: 0.5rem 1rem;
          border-style: solid;
          border-color: #01579b;
          border-width: 1px;
          border-radius: 20px;
          cursor: pointer;
          transition: background 0.25s, transform 0.15s;
          box-shadow: 0 4px 8px rgba(11, 30, 51, 0.08);
          white-space: nowrap;
          font-family: 'iran';
        }
        .btn-login:hover {

          transform: scale(1.02);
        }




.container {
    display: flex;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 90%;
    overflow: hidden;
    max-width: 900px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 3%;
}

/* سمت راست - عکس محصول */
.product-section {
    flex: 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 500px;
}



/* سمت چپ - فرم */
.form-section {
    flex: 1.2;
    padding: 2.5rem;
}

.form-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.form-section p {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    max-width: 75%;
    padding: 0.875rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    max-width: 75%;
    padding: 1rem;
    background:  #01589b54;
    color:#1a1a2e;
    border: none;
    border-radius: 12px;
    font-family: 'iran';
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: #01589b17;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.submit-btn:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .product-section {
        min-height: 250px;
        padding: 1.5rem;
    }

    .form-section {
        padding: 1.5rem;
    }
}
.data::placeholder{
    font-family: 'iran';
}
.data-number{
    font-family: 'iran';
text-align: right;
}