/* ============================================================
   Kho Hải Sản — Vendor Shop Storefront
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.vs-hero {
  position: relative;
  background: #041b2e;
  overflow: hidden;
}
.vs-banner-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  opacity: .42;
}
.vs-banner-fallback {
  height: 260px;
  background: linear-gradient(135deg, #041b2e 0%, #073d66 55%, #0e5fa8 100%);
}
.vs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 20%, rgba(4,27,46,.85) 100%);
  pointer-events: none;
}
.vs-hero-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 32px 32px;
  display: flex;
  align-items: flex-end;
  gap: 22px;
}

/* ── Avatar ───────────────────────────────────────────────── */
.vs-avatar {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}
.vs-avatar img,
.vs-avatar-initials {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.9);
  box-shadow: 0 4px 24px rgba(0,0,0,.4);
  object-fit: cover;
  display: block;
}
.vs-avatar-initials {
  background: linear-gradient(135deg, #17d3e4, #0877c9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
}
.vs-avatar-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.vs-pkg-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f5a623;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* ── Shop info ────────────────────────────────────────────── */
.vs-info {
  flex: 1;
  min-width: 0;
}
.vs-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.vs-name {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.vs-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #12b875;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
  letter-spacing: .4px;
}
.vs-pkg-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(245,166,35,.2);
  border: 1px solid rgba(245,166,35,.5);
  color: #f5a623;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
}
.vs-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}
.vs-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 500;
}
.vs-meta-item svg {
  width: 14px;
  height: 14px;
  opacity: .8;
  flex-shrink: 0;
}
.vs-stars-inline {
  display: inline-flex;
  gap: 1px;
  color: #fbbf24;
  font-size: 13px;
  line-height: 1;
}

/* ── Hero action buttons ──────────────────────────────────── */
.vs-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  align-items: flex-end;
}
.vs-btn-zalo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0068FF;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .18s;
}
.vs-btn-zalo:hover { opacity: .88; color: #fff; }
.vs-btn-hotline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.25);
  white-space: nowrap;
  transition: background .18s;
}
.vs-btn-hotline:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ── Stats strip ──────────────────────────────────────────── */
.vs-stats-strip {
  background: #fff;
  border-bottom: 1px solid #e8f0f7;
  box-shadow: 0 2px 12px rgba(4,27,49,.06);
}
.vs-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: stretch;
}
.vs-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  border-right: 1px solid #eef4fa;
  gap: 3px;
  min-width: 0;
}
.vs-stat:last-child { border-right: none; }
.vs-stat__value {
  font-size: 22px;
  font-weight: 800;
  color: #041b31;
  line-height: 1;
}
.vs-stat__label {
  font-size: 12px;
  color: #6b8193;
  text-align: center;
  line-height: 1.3;
}
.vs-stat__stars {
  display: flex;
  gap: 2px;
  color: #fbbf24;
  font-size: 15px;
}

/* ── Tabs ─────────────────────────────────────────────────── */
.vs-tabs-wrap {
  background: #fff;
  border-bottom: 2px solid #e8f0f7;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 8px rgba(4,27,49,.04);
}
.vs-tabs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 0;
}
.vs-tab {
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #6b8193;
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .18s, border-color .18s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.vs-tab:hover  { color: #0877c9; }
.vs-tab.active { color: #0877c9; border-bottom-color: #0877c9; }
.vs-tab-count {
  background: #e8f5ff;
  color: #0877c9;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 99px;
}

/* ── Body / panel layout ──────────────────────────────────── */
.vs-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 32px 80px;
}
.vs-panel { display: none; }
.vs-panel.active { display: block; }

/* ── Products filter bar ──────────────────────────────────── */
.vs-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8f0f7;
  box-shadow: 0 2px 8px rgba(4,27,49,.04);
}
.vs-filter-bar__label {
  font-size: 13px;
  font-weight: 600;
  color: #6b8193;
  white-space: nowrap;
  margin-right: 4px;
}
.vs-type-btn {
  padding: 6px 16px;
  border-radius: 99px;
  border: 1.5px solid #d5e4ef;
  background: #f4f8fb;
  font-size: 13px;
  font-weight: 600;
  color: #6b8193;
  cursor: pointer;
  transition: all .16s;
}
.vs-type-btn:hover  { border-color: #0877c9; color: #0877c9; }
.vs-type-btn.active { background: #0877c9; border-color: #0877c9; color: #fff; }
.vs-search-wrap {
  flex: 1;
  min-width: 180px;
  max-width: 320px;
  margin-left: auto;
  position: relative;
}
.vs-search-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: #6b8193;
  pointer-events: none;
}
.vs-search {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 34px;
  border: 1.5px solid #d5e4ef;
  border-radius: 99px;
  font-size: 13px;
  background: #f4f8fb;
  color: #10283b;
  outline: none;
  transition: border-color .18s;
}
.vs-search:focus { border-color: #0877c9; background: #fff; }
.vs-products-empty {
  padding: 60px 20px;
  text-align: center;
  color: #6b8193;
  font-size: 15px;
}
.vs-products-empty span { font-size: 48px; display: block; margin-bottom: 12px; }

/* ── About tab ────────────────────────────────────────────── */
.vs-about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
.vs-about-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8f0f7;
  padding: 28px 28px;
  box-shadow: 0 2px 12px rgba(4,27,49,.04);
}
.vs-about-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #041b31;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vs-desc-text {
  font-size: 14px;
  line-height: 1.8;
  color: #374a59;
  white-space: pre-wrap;
}
.vs-info-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.vs-info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
}
.vs-info-row__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eef6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.vs-info-row__body { flex: 1; }
.vs-info-row__label { font-size: 11px; color: #6b8193; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.vs-info-row__value { color: #10283b; font-weight: 500; }
.vs-info-row__value a { color: #0877c9; text-decoration: none; }
.vs-info-row__value a:hover { text-decoration: underline; }
.vs-shipping-text {
  font-size: 13px;
  line-height: 1.7;
  color: #374a59;
  background: #f4f8fb;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 8px;
  white-space: pre-wrap;
}

/* ── Reviews tab ──────────────────────────────────────────── */
.vs-review-summary {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8f0f7;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(4,27,49,.04);
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 24px;
}
.vs-rating-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  min-width: 110px;
}
.vs-rating-num {
  font-size: 56px;
  font-weight: 900;
  color: #041b31;
  line-height: 1;
}
.vs-rating-stars {
  display: flex;
  gap: 3px;
  font-size: 20px;
  color: #fbbf24;
}
.vs-rating-total { font-size: 12px; color: #6b8193; }
.vs-rating-bars { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.vs-rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #6b8193;
}
.vs-rating-bar-row span:first-child { width: 40px; text-align: right; flex-shrink: 0; }
.vs-bar-track {
  flex: 1;
  height: 8px;
  background: #e8f0f7;
  border-radius: 99px;
  overflow: hidden;
}
.vs-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: #fbbf24;
  transition: width .5s ease;
}
.vs-bar-count { width: 30px; text-align: left; flex-shrink: 0; }

/* ── Individual review cards ──────────────────────────────── */
.vs-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vs-review-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8f0f7;
  padding: 22px 24px;
  box-shadow: 0 2px 8px rgba(4,27,49,.04);
}
.vs-review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.vs-review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #17d3e4, #0877c9);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vs-review-card__author { font-size: 14px; font-weight: 700; color: #10283b; }
.vs-review-card__date   { font-size: 12px; color: #6b8193; margin-top: 2px; }
.vs-review-card__stars  { display: flex; gap: 2px; color: #fbbf24; font-size: 14px; margin-left: auto; }
.vs-review-card__product{
  font-size: 12px;
  color: #0877c9;
  background: #e8f5ff;
  padding: 3px 10px;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 10px;
  text-decoration: none;
}
.vs-review-card__text { font-size: 14px; line-height: 1.7; color: #374a59; }
.vs-review-empty { padding: 60px 20px; text-align: center; color: #6b8193; }
.vs-review-empty span { font-size: 48px; display: block; margin-bottom: 12px; }

/* ── Payment methods strip ────────────────────────────────── */
.vs-payment-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.vs-payment-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 8px;
  background: #f4f8fb;
  border: 1px solid #d5e4ef;
  font-size: 12px;
  font-weight: 600;
  color: #374a59;
}

/* ── "Chưa có đánh giá" chip ──────────────────────────────── */
.vs-no-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  border-radius: 99px;
  background: #f4f8fb;
  border: 1px solid #d5e4ef;
  font-size: 12px;
  color: #6b8193;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .vs-hero-body   { padding: 20px 20px 24px; gap: 14px; }
  .vs-avatar, .vs-avatar img, .vs-avatar-initials { width: 80px; height: 80px; font-size: 28px; }
  .vs-name        { font-size: 20px; }
  .vs-actions     { display: none; }
  .vs-stats-inner { padding: 0 16px; }
  .vs-stat__value { font-size: 18px; }
  .vs-tabs        { padding: 0 16px; overflow-x: auto; }
  .vs-tab         { padding: 14px 16px; font-size: 13px; }
  .vs-body        { padding: 24px 16px 60px; }
  .vs-about-grid  { grid-template-columns: 1fr; }
  .vs-review-summary { flex-direction: column; gap: 20px; }
}
@media (max-width: 600px) {
  .vs-hero-body   { align-items: flex-start; flex-wrap: wrap; }
  .vs-avatar, .vs-avatar img, .vs-avatar-initials { width: 68px; height: 68px; font-size: 24px; }
  .vs-banner-img  { height: 220px; }
  .vs-banner-fallback { height: 180px; }
  .vs-name        { font-size: 17px; }
  .vs-stats-inner { flex-wrap: wrap; }
  .vs-stat        { flex: 0 0 50%; border-right: none; border-bottom: 1px solid #eef4fa; }
  .vs-stat:nth-child(odd) { border-right: 1px solid #eef4fa; }
  .vs-stat:nth-last-child(-n+2) { border-bottom: none; }
  .vs-filter-bar  { padding: 12px 14px; gap: 8px; }
  .vs-search-wrap { max-width: 100%; width: 100%; margin-left: 0; }
  .vs-about-card  { padding: 20px 16px; }
  .vs-review-summary { padding: 20px 16px; }
  .vs-review-card { padding: 16px; }
}
