@font-face {
    font-family: "iranyekan-bold";
    src: url("./assets/fonts/IRANYekanXFaNum-Bold.woff") format("woff");
  }

  @font-face {
    font-family: "iranyekan-normal";
    src: url("./assets/fonts/IRANYekanXFaNum-Medium.woff") format("woff");
  }

  body {
    font-family: iranyekan-normal, iranyekan-bold;
    display: flex;
    direction: rtl;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .top-bar {
    position: fixed;
    top: 1%; 
    left: 0;
    width: 98%;
    z-index: 1000;
    margin-left: 14px;
     margin-right: 10px;
     height: 60px;
     background-color: white;
     border-radius: 10px; 
     border: 1px solid #000;}

  .left-text,
  .right-text {
    color: black;
    font-size: 16px;
    margin: 0;
    white-space: nowrap;
    padding-top: 1px;
  }

  .header {
    position: fixed;
    top: 7%;
    left: 1%;
    width: 98%;
    height: 50px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #4caf50;
    z-index: 1000;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .header-center {
    display: flex;
    align-items: center;
  }

  .header-left {
    display: flex;
    align-items: center;
  }

  .logo-container {
    display: flex;
    align-items: center;
  }

  .logo-container img {
    height: 40px;
    width: auto;
  }

  .content-container {
   margin-top: 100px;
    height: 83vh;
    display: flex; 
     border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    margin-right: 230px;
    width: 82%;
    padding: 10px;
    gap: 20px;
overflow-y: auto;    }
   
  .slider-column {
    flex: 2;
  }

  .box {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex; 
    align-items: center; 
    margin-bottom: 10px }

.parent-container {
    position: relative;
}
.gift-message {
   position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;

    }


.fa-gift{font-size: 20px;
     color: #4caf50;
      margin-left: 10px}

.content-box{height:752px;}

.request-btn-form{margin-top: 20px;}

  .request-btn {
    width: 100%;
    background: #303030;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
  }

  .request-btn:hover {
    background: #303030;
  }

  .request-btn-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
  }

  .request-btn-form input:focus {
    border-color: #4caf50;
    outline: none;
  }

  /* ===== Logos ===== */
  .logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 120px;
  }

  .logos img {
    width: 20%;
    max-height: 60px;
    object-fit: contain;
    margin: 5px;
  }

  .box-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* ===== دکمه‌های کارت ===== */
  .btncard {
    height: 50px;
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
  }

  .btncard button {
    flex: 1;
    margin: 0 5px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #fff;
    color: black;
    transition: all 0.3s ease;
  }

  .btncard button:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  /* ===== Box User ===== */
  .user-container {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
  }

  .user-box {
    position: relative;
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .user-box:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  }

  .user-box i {
    font-size: 22px;
    position: relative;
    color: #333;
    top: 4px;
  }

  .user-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
  }

  .status-indicator {
    position: absolute;
    bottom: 62px;
    right: 61px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.7);
    animation: statusBlink 1s infinite alternate;
  }

  .mobile-status-indicator {
    position: absolute;
    bottom: 42px;
    right: 40px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.7);
    animation: statusBlink 1s infinite alternate;
  }

  @keyframes statusBlink {
    0% {
      opacity: 1;
      transform: scale(1);
    }
    100% {
      opacity: 0.5;
      transform: scale(1.2);
    }
  }

  .status-open {
    background-color: green;
    box-shadow: 0 0 8px rgba(0, 200, 83, 0.8);
  }

  .status-closed {
    background-color: red;
    box-shadow: 0 0 8px rgba(211, 47, 47, 0.8);
  }

  /* ===== Bannnr Desctop ===== */
  .desktop-banner {
   display: block;
    margin-top: 5px;
    height: auto;
    width: 100%;
    
     border-radius: 8px; }

  .fixed-banner3 {
    display: none;
  width: 100%;
  height:auto;
  border-radius: 8px;
  margin-top: 15px;}

  /* ===== Banner Main ===== */
  .nav {
  margin-top: 100px;
    margin-right: 15px;
    width: 210px;
    height: calc(101vh - 111px);
    background: #fff;
    position: fixed;
    padding: 15px;
    border: 1px solid #ddd;
    display: flex;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 999999999;
  }

  .nav-list { 
    margin-right: 10px;
    margin: 0;
    padding: 0px;
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-list + .nav-list {
    border-top: 1px solid #ddd;
    margin-top: 10px;
    padding-top: 10px;
  }

  .nav-item {
    margin-right: 10px;
    position: relative;
    min-height: 40px;
    margin-bottom: 5px;
    list-style-type: none;
color:#000;  }

  .nav-item::before {
    content: "";
    position: absolute;
    right: -15px;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: transparent;
    transition: background-color 0.3s, width 0.3s;
  }

  .nav-item.active::before {
    background-color: #00b13f;
    width: 4px;
    border-radius: 30px;
  }

  .nav-button {
    margin-right: 1px;
    font: inherit;
    border: none;
    outline: none;
    padding: 10px 2px;
    width: 100%;
    border-radius: 8px;
    text-align: right;
    display: flex;
    align-items: center;
    position: relative;
    background-color: transparent;
    transition: all 0.3s ease;
 color: #000; }

  .nav-button:hover {
    background-color: #f8f9fa;
  }

  .nav-button i {
    margin-left: 10px;
    font-size: 18px;
  }

  .nav-button--delete:hover {
    color: #dc3545;
  }

  /* ===== Cart User ===== */
  .user-card {
    width: 100%;
    height: 150px;
    background-color: #4caf50;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .user-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
    margin-bottom: 10px;
  }

  .user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
  }

  .avatar-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 25px;
    height: 25px;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 50%;
  }

 

  .username {
    color: white;
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }

  /* ===== دکمه تماس ===== */
  .contact-btn {
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
  }

  .contact-btn:hover {
    background-color: #3d8b40;
    transform: translateY(-2px);
  }

  .contact-btn:active {
    transform: translateY(0);
  }

  .contact-btn i {
    font-size: 16px;
  }

  /* ===== منوی موبایل ===== */
  .mobile-header {
    display: none;
    padding: 15px;
    background-color: white;
    position: fixed;
    top: 0%;
    right: 1%;
    width: 98%;
    height: 70px;
    border: 1px solid green;
    z-index: 999;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    align-items: center;
  }

  .mobile-menu-toggle {
    background: none;
    display: flex;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #333;
  }


.payment-container {
        width: 100%;
     
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        overflow: hidden;
      }

      .payment-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
  gap: 10px;
}

.back-btn {
    background: rgba(255, 255, 255, 0.3); /* پس‌زمینه شیشه‌ای */
    border: 1px solid rgba(0, 0, 255, 0.4); /* حاشیه آبی کم‌رنگ */
    color: blue; /* رنگ آیکن */
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.input-group {
    display: flex;
    flex-direction: row-reverse; /* ترتیب معکوس برای راست‌چین بودن */
    align-items: center;
    border: 1px solid #bbb;
    border-radius: 5px;
    padding:5px;
    width: 40%;
    left: -1%;
    background: white;
    direction: rtl; /* متن ورودی راست‌چین می‌ماند */
}

.input-group input { margin-top:10px;
    flex: 1;
    border: none;
    background: transparent;
    color: #555;
    padding: 1px;
    font-size: 1rem;
    outline: none;
    text-align: right; /* متن راست‌چین */
}

.input-group input::placeholder {
    color: #aaa;
    font-size: 0.9rem;
}

/* "ریال" در سمت چپ */
.currency {
    color: #777;
    padding:5px 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    position: relative;
}

/* خط عمودی نازک و خط‌چین */
.currency::before {
    content: "";
    position: absolute;
    top: 20%;
    left: 40px;
    height: 60%;
    width: 1px;
    background: repeating-linear-gradient(
        to bottom,
        #bbb,
        #bbb 2px,
        transparent 2px,
        transparent 4px
    );
}
 .text-preview { 
        color: red;
        margin-top: 8px; /* فاصله از اینپوت */
        display: block; }
        
  .payment-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* ایجاد فاصله بین گزینه‌ها */
    justify-content: flex-end; /* راست‌چین کردن */
    flex-direction: row-reverse;
    width: 100%;
    align-items: center;
}

.payment-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border-color 0.3s;
    width: 33%; /* دو ستون */
    max-width: 150px; /* محدودیت عرض */
    justify-content: center;
    text-align: center;
    font-size: 0.9em;
    box-sizing: border-box;
}



.payment-option img {
    width: 40px;
    height: auto;
    margin-left: 10px;
}

.payment-option:hover {
    border-color: #3498db;
}

.payment-option.active {
    border-color: #2ecc71;
}

.payment-option.active img {
    opacity: 0.7;
}


      .payment-details {
       
        border-top: 1px dashed #ddd;
        border-bottom: 1px dashed #ddd;
        width: 40%;
        max-width: 820px;
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        position: relative;
        left: -1%;
         padding: 15px 20px;
        font-weight: bold;
       
        justify-content: space-between;
        
      }
      .payment-title {
        font-weight: bold;
        color: #4caf50;
        margin-bottom: 10px;
      }

      .payment-item {
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
      }

      .payment-note {
        padding: 15px 20px;
        font-size: 14px;
        color: #666;
        text-align: center;
      }

      .toman {
        font-size: 12px;
        color: #777;
      }

.payment-btn {
    width: 40%;
    background: #303030;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    left: -2%;
    transition: background-color 0.3s;
  }
  /* ===== Menu Mobile new ===== */
  .mobile-nav-container {
    display: none;
  }

  .mobile-nav {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 15px 0 10px;
    border-top: 1px solid #ddd;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999999999;
  }

  .mobile-nav a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
  }

  .mobile-nav a:hover {
    color: #007bff;
  }

  .mobile-nav i {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .center-btn {
    background: #00c853;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 5px 10px rgba(0, 200, 83, 0.4);
    transform: translateY(-5px) rotate(45deg);
    transition: all 0.2s ease-in-out;
    position: relative;
    z-index: 2;
  }

  .bi-telephone {
    transform: rotate(-45deg);
  }

  /* ===== منوی کشویی جدید ===== */
  .drawer-menu {
    position: fixed;
    bottom: 200px;
    left: 0;
    width: 100%;
    background: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    padding: 30px 20px 20px;
    transform: translateY(calc(100% + 80px));
    transition: transform 0.3s ease-out;
    z-index: 980;
  }

  .drawer-menu.active {
    transform: translateY(calc(40% + 80px));
  }

  .drawer-toggle {
    position: absolute;
    top: 5px;
    left: 52%;
    transform: translateX(-50%);
    background: #000000;
    border-radius: 35px;
    color: #fff;
    width: 52px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 981;
    transition: all 0.3s ease;
  }

  .drawer-toggle i {
    font-size: 14px;
    transition: transform 0.3s ease;
  }

  .drawer-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }

  .drawer-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s;
  }

  .drawer-menu-item:hover {
    background-color: #f8f9fa;
  }

  .drawer-menu-item i {
    font-size: 18px;
    margin-bottom: 5px;
  }

  .drawer-menu-item span {
    font-size: 12px;
    text-align: center;
  }

  /* ===== System Messege ===== */
  .message-counter {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff5252;
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
  }

  .message-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    display: none;
  }

  .message-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    max-height: 800vh;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    padding: 20px;
  }

  .message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
  }

  .message-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
  }

  .message-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
  }

  .message-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
  }

  .message-title {
    padding: 12px 15px;
    background-color: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
  }

  .message-title:hover {
    background-color: #f1f1f1;
  }

  .message-title h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
  }

  .message-title .toggle-icon {
    transition: transform 0.3s;
  }

  .message-content {
    padding: 15px;
    display: none;
    border-top: 1px solid #eee;
  }

  .message-content p {
    margin: 0 0 10px;
    line-height: 1.6;
  }

  .message-content a {
    display: inline-block;
    margin-top: 10px;
    color: #4caf50;
    text-decoration: none;
    font-weight: bold;
  }

  .message-content a:hover {
    text-decoration: underline;
  }

  .message-date {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
    display: block;
  }

  .message-item.active .message-content {
    display: block;
  }

  .message-item.active .toggle-icon {
    transform: rotate(180deg);
  }

  .message-notification {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
  }

  .message-notification i {
    margin-left: 10px;
    color: #4caf50;
  }

  .message-notification span {
    font-size: 14px;
    color: #333;
  }

  .message-time {
    font-size: 12px;
    color: #777;
    margin-right: auto;
  }

  /* ===== User Card ===== */
  .user-profile-container {
    display: flex;
    align-items: center;
  
    padding: 10px 5px;
    border-radius: 10px;
    position: relative;
  }

  .user-profile-icon {
    width: 37px;
    position: relative;
    right: 2px;
    height: 36px;
    background-color:white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
   box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.15);}

  .user-profile-icon i {
    color: #00bcd4;
    font-size: 30px;
  }

  .user-profile-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
  }

 

  /* ===== Style Search ===== */
  .search-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 8px;
    border-radius: 5px;
    transition: background-color 0.3s;
  }

  .search-button:hover {
    background-color: #f0f0f0;
  }

  .search-button i {
    margin-left: 8px;
  }

  .search-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1200;
    display: none;
  }

  .search-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    padding: 20px;
  }

  .search-header {
    text-align: right;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
  }

  .search-input-container {
    position: relative;
    margin-bottom: 20px;
  }

  .search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
  }

  .search-input:focus {
    border-color: #4caf50;
    outline: none;
  }

  .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
  }

  .search-recent {
    margin-bottom: 20px;
  }

  .search-recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }

  .search-recent-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
  }

  .search-clear {
    font-size: 12px;
    color: #777;
    cursor: pointer;
    display: flex;
    align-items: center;
  }

  .search-clear i {
    margin-left: 5px;
    font-size: 10px;
  }

  .search-results {
    margin-top: 15px;
  }

  .search-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
  }

  .search-result-item:last-child {
    border-bottom: none;
  }

  .search-result-item:hover {
    background-color: #f8f9fa;
  }

  .search-result-left {
    display: flex;
    align-items: center;
  }

  .search-result-icon {
    margin-left: 10px;
    color: #4caf50;
    font-size: 18px;
  }

  .search-result-text {
    font-size: 14px;
    color: #333;
  }

  .search-result-subtext {
    font-size: 12px;
    color: #777;
    display: block;
    margin-top: 2px;
  }

  .search-result-actions {
    display: flex;
    align-items: center;
  }

  .search-result-star {
    color: #ffc107;
    cursor: pointer;
    font-size: 18px;
    margin-left: 5px;
  }

  .search-result-menu {
    color: #777;
    cursor: pointer;
    font-size: 18px;
  }

  .search-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
  }

  .search-status {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: 5px;
  }

  .search-status-online {
    background-color: #4caf50;
  }

  /* ===== Responsive ===== */
  @media (max-width: 992px) {
    .content-container {
      margin-right: 0;
      width: 100%;
      padding: 15px;
    }

    .nav {
      display: none;
    }

    .mobile-header {
      display: flex;
    }

    .header {
      display: none;
    }

    .mobile-nav-container {
      display: block;
    }
  }
  .box-clumn {
    display: none;
  }
  @media (max-width: 768px) {
    .desktop-card {
      display: none;
    }

    .mobile-card {
      display: block;
    }
.box{margin-top: -15px}
    .card-slider {
      height: 200px;
    }
    .box-clumn {
      display: none;
    }
    .content-container {
      flex-direction: column;
      margin-top: 70px;
    }

    .desktop-banner {
      display: none;
    }

    .fixed-banner3 {
      display: block;
      margin-bottom: 15px;
    }

    .btncard {
      margin-top: -11px;
      flex-wrap: wrap;
      height: auto;
    }

    .btncard button {
      margin-bottom: 10px;
    }

    .message-counter {
      display: none;
    }
  }
  .top-bar {
    display: none;
  }
  @media (min-width: 769px) {
    .desktop-card {
      display: block;
    }

    .mobile-card {
      display: none;
    }
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 970;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
left: 0;    }
.headeravatar-overlay{width: 27px;
    height: 25px;
    background: rgba(0, 0, 0, 0.7);
    display: flex
;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 50%;position: absolute;top:1; bottom: 0; right: 0; z-index: 2;}
    .mobile-notification-icon {
        position: absolute;
        right: 55px; 
        top:55%;
        transform: translateY(-50%);
        font-size:27px;
        color: #333;
        cursor: pointer;
    }
    
    .left-notification-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    
    .notification-item {
        padding: 10px;
        border-bottom: 1px solid #eee;
    }
    
    .notification-item:last-child {
        border-bottom: none;
    }
    
    .notification-text {
        font-size: 14px;
        color: #333;
        text-align: right;
    }
    
    .notification-time {
        font-size: 12px;
        color: #777;
        text-align: left;
    }
    
         .user-profile-container {
        display: flex;
        align-items: center;
        padding: 10px 5px;
        border-radius: 10px;
        position: relative;
    }
    
    .mobile-login-register-button {
        background-color: #fff;
        color: #333;
      border:none;
        border-radius: 50%;
        width:30px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        font-size: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-left: 1px;
        box-sizing: border-box;
       
    }
    
    .mobile-login-register-button i {
        font-size: 40px;
        line-height: 1;
    }
    
    
    
    
    
    .user-profile-info {
        display: flex;
        align-items: center;
        margin-left: 10px; /* فاصله از سمت چپ */
    }
    
    .user-profile-icon {
        width: 27px;
        position: relative;
        right: 2px;
        height: 27px;
        background-color: white;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 10px;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.15);
    }
    
    .user-profile-icon i {
        color: #00bcd4;
        font-size: 30px;
    }
    
    .user-profile-name {
        font-size: 16px;
        font-weight: bold;
        color: #333;
    }
    .header-avatar-container img {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        object-fit: cover;
        margin-top:-1px;
    }
    .user-profile-container {
        display: flex;
        align-items: center;
        padding: 10px 5px;
        border-radius: 10px;
        position: relative;
    }
    
    .login-register-button {
        background-color: #4caf50;
        color: white;
        border: none;
        border-radius: 5px;
        padding: 8px 15px;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-left: 10px; /* فاصله از سمت چپ */
    }
    
    .login-register-button:hover {
        background-color: #3d8b40;
    }
    
           .search-container {
            width: 100%; /* عرض کامل */
            padding: 10px 0; /* حذف فضای اضافی */
        }

        .search-input-container {
            position: relative;
        }

        .search-input {
            width: 100%; /* عرض کامل */
            padding: 10px 40px 10px 15px; /* فضای داخلی */
            border: 1px solid #ddd; /* حاشیه */
            border-radius: 5px; /* گوشه‌های گرد */
            font-size: 14px; /* اندازه فونت */
        }

        .search-icon {
            position: absolute;
            right: 15px; /* موقعیت آیکون */
            top: 50%;
            transform: translateY(-50%);
            color: #777; /* رنگ آیکون */
        }

        .recent-searches {
            margin-top: 15px;
            padding: 10px;
         
            border-radius: 5px; /* گوشه‌های گرد */
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* سایه */
            display: flex;
            flex-direction: column;
        }

        .recent-search-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: bold;
        }

        .search-clear {
            background: none;
            border: none;
            font-size: 12px;
            color: #007bff;
            cursor: pointer;
        }

        .recent-search-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px;
            border-bottom: 1px solid #eee; /* جداکننده */
            color: #333; /* رنگ متن */
            cursor: pointer; /* نشانه اشاره‌گر */
            transition: background-color 0.3s; /* انیمیشن تغییر رنگ */
        }

        .recent-search-item:hover {
            background-color: #f8f9fa; /* رنگ پس‌زمینه حالت هاور */
        }

        .item-actions {
            position: relative;
        }

        .action-btn {
            background: none;
            border: none;
            cursor: pointer;
        }

        .action-btn i {
            color: #777;
            font-size: 18px;
        }

        .dropdown-menu {
            padding: 0;
        }

        .dropdown-item {
            padding: 0.5rem 1rem;
            cursor: pointer;
        }

       
        @media (max-width: 768px) {
    .search-input {
        margin-top: -10px; /* حذف مارجین بالا برای موبایل */
    }
}
      button {
    
      color: white;
      border: none;
      padding: 10px 15px;
      border-radius: 5px;
      cursor: pointer;
      font-family: inherit;
      font-size: 14px;
      transition: background-color 0.3s;
    }

 
    .categories-list {
      margin-top: 30px;
      border: 2px solid #333;
      padding-top: 20px;
    }

    .category-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px;
      border-bottom: 1px solid #eee;
    }

    .category-info {
      display: flex;
      align-items: center;
    }

    .category-icon {
      margin-left: 10px;
      width: 30px;
      height: 30px;
      background-color: #f8f9fa;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .category-name {
      font-weight: bold;
    }

    .category-actions {
      display: flex;
      gap: 10px;
    }

  
    .empty-message {
      padding: 20px;
      text-align: center;
      color: #777;
      font-style: italic;
    }
    
    .icon-help {
      margin-top: 20px;
      padding: 15px;
      background-color: #f8f9fa;
      border-radius: 5px;
      border-right: 3px solid #4caf50;
    }
    
    .icon-help h3 {
      margin-top: 0;
      color: #333;
    }
    
    .icon-help p {
      margin-bottom: 10px;
      color: #555;   }
    
    .icon-examples {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin-top: 15px;
    }
    
    .icon-example {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 10px;
      border: 1px solid #eee;
      border-radius: 5px;
    }
    
    .icon-example i {
      font-size: 24px;
      margin-bottom: 5px;
    }
    
    .icon-example code {
      font-size: 12px;
      color: #555;}