.tf-sellers-grid-container{
  display:flex;
  flex-direction: column;
  position:relative;
}

.no-shops{
  grid-column: span 3;
  text-align: center;
  font-size: 1.2rem;
  color: #555;
}

.tf-sellers-search-input-wrapper{
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.5rem 1rem;
  flex-grow: 1;
  gap:4px;
  height: 100%;
}

.tf-sellers-search-box{
  display: flex;
  width: 100%;
  border: 1px solid #D6D6D6;
  border-radius: 16px;
  overflow: hidden;
  background-color: white;
  height: 60px;
}

.tf-sellers-search-box input{
  flex-grow: 1;
  border: none;
  font-size: 1rem;
  outline: none;
  padding:0px;
}

#sellers-load-more{
  align-self: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top:1.5rem;
}

.tf-sellers-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap:1rem;
  margin-top:4rem;
}

.tf-seller-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.tf-seller-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.tf-sellers-card-img-container {
  position: relative;
  height: 230px;
  width: 100%;
}

.tf-sellers-card-img {
  width: 100%;
  height: 100%;
  background-color: red;
}

.tf-sellers-card-store-logo {
  background-color: white;
  border-radius: 12px;
  padding: 1rem;
  position: absolute;
  bottom: 0;
}

.tf-sellers-card-title {
  font-weight: 600;
}

.tf-seller-info{
  font-size: 13px;
  margin: 0;
}

.tf-seller-image-container{
  position: relative;
  width: 100%;
  height: 245px;
}

.tf-seller-info-container{
    padding: 1rem;
    flex-grow: 1;
}

.tf-seller-name{
    font-size: 1rem;
    margin:0;
}

.tf-seller-skeleton {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
}

.tf-seller-skeleton-img {
  height: 230px;
  background-color: #e2e2e2;
}

.tf-seller-skeleton-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tf-seller-skeleton-line {
  height: 12px;
  border-radius: 4px;
  background-color: #d0d0d0;
  animation: pulse 1.5s ease-in-out infinite;
}

.tf-seller-skeleton-line.short {
  width: 50%;
}

.tf-seller-skeleton-line.medium {
  width: 80%;
}

.tf-seller-skeleton-line.long {
  width: 100%;
}

.tf-sellers-filter-box{
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-top:2rem;
}

.form-switch-field {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.custom-switch {
  position: relative;
  flex-shrink: 0;
  width: 50px;
  height: 25px;
  border-radius: 25px;
  background: #ccc;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.custom-switch.active {
  background-color: #0D6EFD;
}

.switch-handle {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background-color: #fff;
  transition: left 0.3s ease;
}

.custom-switch.active .switch-handle {
  left: 27px;
}

.custom-switch-label {
  cursor: pointer;
  user-select: none;
  font-size: 15px;
  color: #212121;
}

.tf-seller-image{
  object-fit: cover;
  width: 100%;
}

.tf-sellers-search-box{
  position:sticky;
  transition:top 0.3s ease;
  z-index:10;
}

.tf-sellers-search-box.scroll-down {
  top: 35px;
}

.tf-sellers-search-box.scroll-up {
  top: 95px;
}

#sellers-city-filter{
  height: 100%;
  border: none;
  border-right: 1px solid #D6D6D6;
  border-radius: 0;
  max-width: 160px;
}

.tf-seller-name-wrapper{
  display:flex;
  align-items: center;
  gap:0.5rem;
  margin-bottom: 1rem;
}

.tf-verified-icon{
  width: 25px;
  height: 25px;
}

.skeleton {
  border-radius: 4px;
  background-color: #d0d0d0;
  animation: pulse 1.5s ease-in-out infinite;
}

/* Skeleton animation */
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .tf-sellers-grid {
    grid-template-columns: 1fr;
  }

  .tf-sellers-filter-box {
    gap: 1.5rem;
  }

  #sellers-load-more {
    width: 100%;
    font-size: 0.95rem;
  }

  .tf-sellers-search-box.scroll-down {
    top: 10px;
  }

  .tf-sellers-search-box.scroll-up {
    top: 70px;
  }
}
