.img-stores{
  object-fit: fill !important ;
}
.store-h2{
  font-size: smaller;
}

.tabs {
  display: flex;
  border-bottom: 2px solid #ddd;
  margin-bottom: 1rem;
}

.tab {
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid #ddd;
  border-bottom: none;
  background: #f7f7f7;
  margin-left: 5px;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
}

.tab:hover {
  background: #e9e9e9;
}

.tab.active {
  background: #28a74594;
  font-weight: bold;
  border-bottom: 2px solid #fff;
}
.tab-content.active {
  display: block;
}
.tab-content {
  display: none;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 0 8px 8px 8px;
  background: #fff;
}
.store-avatar{
  width: 100px;
}
/* comments */
.comments {margin-top:20px}
.comment{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #f1f2f4}
.comment .avatar{width:44px;height:44px;border-radius:50%;overflow:hidden}
.comment .meta{color:var(--muted);font-size:0.9rem}
.comment .body{margin-top:6px;color:#111}

/* comment form */
.comment-form textarea{width:100%;min-height:110px;padding:12px;border-radius:10px;border:1px solid #e6e7ea;resize:vertical}
.comment-form input, .comment-form button{padding:10px 12px;border-radius:8px;border:1px solid #e6e7ea}
.comment-form .row{display:flex;gap:10px;margin-top:10px}
.comment-form button{background:var(--accent);color:#fff;border:none;cursor:pointer}


.user-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.user-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #eee;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.username {
  font-size: 18px;
  font-weight: bold;
}

.badges {
  display: flex;
  gap: 5px;
}

.badge {
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 12px;
  font-weight: bold;
  color: white;
}

.badge.writer { background: #007bff; }
.badge.seller { background: #28a745; }
.badge.admin { background: #ff9800; }

.user-stats {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #555;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}
.status {
    display: inline-block;       
    width: 12px;                 
    height: 12px;                
    border-radius: 50%;          
    margin-right: 5px;
    vertical-align: middle; background-color: gray;     
}



.status-open {
    background-color: #28a745;
}


.status-closed {
    background-color: #dc3545;
}


.status-text {
    vertical-align: middle;
    font-weight: bold;
    color: #333;
}

.status-open + .status-text {
    color: #28a745;
}

.status-closed + .status-text {
    color: #dc3545;
}
.card-tag{
      display: inline-block;
    border-radius: 5px;
    padding: 4px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 6px;
    background: #0aa06a;
    color: #fff;
}
@media (max-width: 768px) {

  .user-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .user-left {
    width: 100%;
  }

  .user-stats {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .stat {
    font-size: 13px;
  }
  .user-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .user-info {
    align-items: center;
  }
  .badges {
    flex-wrap: wrap;
    justify-content: center;
  }

  .badge,
  #followBtn {
    font-size: 11px;
    padding: 5px 8px;
  }


}