.tgwv-fs {
  --tgwv-fs-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --tgwv-fs-duration: 0.3s;

  background-color: #fdf9f8;
  padding: 50px 0;
}

.tgwv-fs__container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .tgwv-fs__container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 991.98px) {
  .tgwv-fs__container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.tgwv-fs__header {
  margin-bottom: 8px;
}

.tgwv-fs__title {
  color: #241818;
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.tgwv-fs__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #374586, #283c85);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.tgwv-fs__header:hover .tgwv-fs__title::after,
.tgwv-fs__header.aos-animate .tgwv-fs__title::after {
  width: 56px;
}

.tgwv-fs__intro-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.tgwv-fs__desc {
  margin: 0;
  font-size: 14px;
  color: gray;
  flex: 1;
  min-width: 0;
}

.tgwv-fs__view-all {
  color: #374586;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s ease, gap 0.25s ease;
}

.tgwv-fs__view-all i {
  font-size: 12px;
  transition: transform 0.25s ease;
}

.tgwv-fs__view-all:hover {
  color: #283c85;
}

.tgwv-fs__view-all:hover i {
  transform: translateX(4px);
}

.tgwv-fs__view-all:focus-visible {
  outline: 2px solid #283c85;
  outline-offset: 3px;
  border-radius: 4px;
}

.tgwv-fs__empty-msg {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.tgwv-fs__grid .row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .tgwv-fs__view-all i {
    transition: none;
  }
}

@media (max-width: 991.98px) {
  .tgwv-fs {
    padding: 40px 0;
  }
}

@media (max-width: 767.98px) {
  .tgwv-fs__intro-row {
    margin-bottom: 28px;
  }
}

@media (max-width: 575.98px) {
  .tgwv-fs {
    padding: 32px 0;
  }

  .tgwv-fs__intro-row {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .tgwv-fs__view-all {
    white-space: normal;
  }
}

/* Thẻ trong khối Showroom nổi bật (độc lập với .tgwv-showroom-card trên danh sách/danh mục) */
.tgwv-fs__card {
  background-color: #fff;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 20px rgba(20, 16, 15, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.tgwv-fs__card-media {
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  position: relative;
}

.tgwv-fs__card-media-link {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  text-decoration: none;
  line-height: 0;
  color: inherit;
}

.tgwv-fs__card-media-link:focus-visible {
  outline: 2px solid #374586;
  outline-offset: -2px;
}

.tgwv-fs__card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 16, 15, 0.4) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.tgwv-fs__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.tgwv-fs__card-label {
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  background-color: #364a85;
  padding: 5px 10px;
  border-radius: 999px;
  position: absolute;
  left: 15px;
  top: 20px;
  z-index: 2;
  max-width: calc(100% - 30px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.35s ease;
}

a.tgwv-fs__card-label:hover,
a.tgwv-fs__card-label:focus {
  color: #fff;
  text-decoration: none;
}

a.tgwv-fs__card-label:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.tgwv-fs__card-body {
  padding: 20px 15px;
}

.tgwv-fs__card-title {
  font-size: 18px;
  color: #14100f;
  margin: 0 0 8px;
  transition: color var(--tgwv-fs-duration) var(--tgwv-fs-ease);
}

.tgwv-fs__card-link {
  color: inherit;
  text-decoration: none;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.tgwv-fs__card-link:focus-visible {
  outline: 2px solid #374586;
  outline-offset: 2px;
  border-radius: 2px;
}

.tgwv-fs__card-desc {
  font-size: 14px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tgwv-fs__card-company,
a.tgwv-fs__card-company {
  display: block;
  text-transform: uppercase;
  color: #374586;
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 5px;
  text-decoration: none;
  transition: color var(--tgwv-fs-duration) var(--tgwv-fs-ease);
}

a.tgwv-fs__card-company:focus-visible {
  outline: 2px solid #374586;
  outline-offset: 2px;
  border-radius: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .tgwv-fs__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(20, 16, 15, 0.12);
  }

  .tgwv-fs__card:hover .tgwv-fs__card-img {
    transform: scale(1.06);
  }

  .tgwv-fs__card:hover .tgwv-fs__card-media::after {
    opacity: 1;
  }

  .tgwv-fs__card:hover .tgwv-fs__card-label {
    transform: translateY(-2px);
  }

  .tgwv-fs__card:hover .tgwv-fs__card-title,
  .tgwv-fs__card:hover .tgwv-fs__card-link,
  .tgwv-fs__card-link:hover {
    color: #1607ab;
    text-decoration: none;
  }

  .tgwv-fs__card:hover .tgwv-fs__card-company,
  a.tgwv-fs__card-company:hover {
    color: #283c85;
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tgwv-fs__card,
  .tgwv-fs__card-img,
  .tgwv-fs__card-label {
    transition: none;
  }

  @media (hover: hover) and (pointer: fine) {
    .tgwv-fs__card:hover {
      transform: none;
    }

    .tgwv-fs__card:hover .tgwv-fs__card-img {
      transform: none;
    }

    .tgwv-fs__card:hover .tgwv-fs__card-label {
      transform: none;
    }
  }
}
