/* تنظیم بدنه برای فوتر چسبیده به پایین */
html, body {
    font-family: Vazirmatn;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: #f9f9f9;
    color: #333;

}

/*body > main, body > section {
    flex: 1;
}*/
.black-text {
    color: black !important;
}
/*
.sticky-header {
    background-color: #fff;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.influencer-photo-wrapper {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
}

.influencer-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
*/
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    /*background: linear-gradient(to right, #4F46E5, #7C3AED);*/
    padding: 0rem 0rem 0rem;
   /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
  }
  
  .header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }
  
  .influencer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .influencer-photo-wrapper {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .influencer-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.header-title {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    color: white;
}

/* فوتر جدید */
.footer {
    background-color: #f9f9f9;
    padding: 10px 0;
    text-align: center;
    position: sticky;
    bottom: 0;
    width: 100%;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    border-radius: 50%;
    width: 30px; /* لوگوی کوچک */
    height: 30px;
    object-fit: contain;
}

.logo-wrapper{
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* تصویر به صورت پوششی پر می‌کند */
}

.campaign-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding-bottom: 100px;
}

.campaign-tile {
    background: white;
    border-radius: 8px;
    padding: 10px;
    width: 350px;
    height: 400px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
    overflow: hidden;
}

.product-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.left-aligned {
    text-align: left;
}

.image-slider {
    position: relative;
    width: 100%;
    height: 200px;
    /*overflow: hidden;*/
}

.slide-container {
    width: 100%;
    height: 100%;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
    border-radius: 8px;
}

.slide-image.active {
    display: block;
}
.dots-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #333;
}


.tile-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 14px;
}

.status.ended {
    color: red;
    font-weight: bold;
}

.campaign-link {
   /* background-color: #2A39C6;*/
    /*color: white;*/
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .campaign-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .campaign-tile {
        width: 100%;
        height: auto;
    }

    .product-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .price-box {
        align-items: flex-start;
    }

    .tile-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.small-font {
    font-size: 0.8rem; /* اندازه فونت را کاهش می‌دهد */
}
/*
.tab {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    font-weight: bold;
}
.active-tab {
    border-bottom: 2px solid #000;
}
*/
.tab-content {
    display: none;
}
.tab-content.active {
    display: flex;
}

.store-title {
    /*color: white;*/
    font-size: 1.25rem;
    font-weight: bold;
  }
  
  .header-tabs {
    display: flex;
    gap: 1rem;
  }
  
  .tab {
    display: inline-block;
    /*color: rgba(255, 255, 255, 0.8);*/
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    position: relative;
  }
  
  .tab:hover {
    /*color: white;*/
    /*background: rgba(255, 255, 255, 0.1);*/
  }
  
  .active-tab {
   /* color: white;*/
    font-weight: bold;
  }
  
  .active-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    /*background: white;*/
    border-radius: 2px;
    animation: tabIndicator 0.3s ease-in-out;
  }
  
  @keyframes tabIndicator {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }
  
  /* Responsive Design */
  @media (max-width: 640px) {
    .header-content {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }
    
    .header-tabs {
      width: 100%;
      justify-content: center;
    }
  }

  .admin-button {
    background-color: #2A39C6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-align: center;
    width: 100%;
    font-size: 1rem;
    margin-top: 10px;
    text-decoration: none;
}