/* === GLOBAL FONT FAMILY === */
.salon-grid-modern,
.salon-card-modern,
.salon-card-body,
.salon-title,
.salon-address,
.salon-btn-pill,
.salon-btn-viewall {
  font-family: "Just Sans", Sans-serif;
}

/* === GRID LAYOUT === */
.salon-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 30px;
}
@media (max-width: 991px) {
  .salon-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .salon-grid-modern {
    grid-template-columns: 1fr;
  }
}

/* === CARD === */
.salon-card-modern {
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
}
.salon-card-modern:hover {
  transform: translateY(-5px);
}

/* === IMAGE === */
.salon-image-wrapper {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  border-bottom: 1px solid #f0f0f0;
}
.salon-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.salon-card-modern:hover .salon-image-wrapper img {
  transform: scale(1.04);
}

/* === BADGE === */
.salon-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fceecf;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  padding: 4px 12px;
}

/* === CARD BODY === */
.salon-card-body {
  padding: 20px 18px 24px;
  text-align: left;
}
.salon-stars {
  color: #ff6f61;
  font-size: 15px;
  margin-bottom: 6px;
}
.salon-title {
  font-size: 1.2vw;
  font-weight: 600;
  color: #2e2e2e;
  margin-bottom: 8px;
  line-height: 1.4em;
}
.salon-address {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* === BUTTON === */
.salon-btn-pill {
  display: inline-block;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.4px;
  transition: all 0.3s ease;
}

.salon-card-modern-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
}

.salon-card-modern-link:hover .salon-card-modern {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.salon-btn-viewall {
  background-color: #de9eff;
  font-family: "Just Sans", Sans-serif;
  font-size: 1vw;
  font-weight: 400;
  line-height: 1.6em;
  fill: #000000;
  color: #000000;
  border-radius: 1em 1em 1em 1em;
  padding: 10px 20px 10px 20px;
  width: max-content;
  text-decoration: none;
}

.salon-btn-viewall {
  position: relative;
  overflow: hidden;
  display: flex;
}

.salon-btn-viewall span {
  position: relative;
  z-index: 1;
}

.salon-btn-viewall::before {
  content: "";
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #65249b;
  transition: width 0.8s, height 0.8s;
  z-index: 0;
}

.salon-btn-viewall:hover::before {
  width: 1000px;
  height: 1000px;
  color: #fff;
}

.salon-btn-viewall:hover {
  color: #fff;
}

.salon-view-all {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}
