/* Salon listing cards — horizontal poster layout (category mock) */
.sk-salon-listing-grid,
.sk-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.sk-listing-card {
  position: relative;
  min-width: 0;
  height: 333px;
  background: #fff;
  border: 1px solid #eee6e6;
  border-radius: 21px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(66, 28, 40, 0.055);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44%;
  grid-template-rows: 1fr;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.sk-listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(87, 46, 58, 0.09);
  border-color: #e6d1d5;
}

.sk-listing-card__stretch {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.sk-listing-card__media {
  position: relative;
  min-width: 0;
  height: 100%;
  aspect-ratio: unset;
  padding-block: 9px;
  padding-inline-end: 9px;
  padding-inline-start: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  grid-column: 2;
  grid-row: 1;
  box-sizing: border-box;
  overflow: hidden;
}

.sk-listing-card__poster-img,
.sk-listing-card__media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 73%;
  object-fit: contain;
  object-position: center;
  border-radius: 13px;
  clip-path: inset(0 round 13px);
  -webkit-clip-path: inset(0 round 13px);
}

.sk-listing-card__badge {
  position: absolute;
  left: auto;
  right: 14px;
  top: 14px;
  z-index: 2;
  background: var(--sk-primary, #c29287);
  color: #fff;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.sk-listing-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 17px 17px 12px;
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
}

.sk-listing-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.sk-listing-card__title {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.8;
  letter-spacing: -0.3px;
  overflow-wrap: anywhere;
}

.sk-listing-card__featured {
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-inline-start: 3px;
  vertical-align: middle;
  background-color: #c89b59;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m12 2 3.1 6.4 7 .9-5.1 5 1.2 7L12 18l-6.2 3.3 1.2-7-5-5 7-.9L12 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m12 2 3.1 6.4 7 .9-5.1 5 1.2 7L12 18l-6.2 3.3 1.2-7-5-5 7-.9L12 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sk-listing-card__title a {
  color: inherit;
  text-decoration: none;
}

.sk-listing-card__title a:hover {
  color: var(--sk-primary, #c29287);
}

.sk-listing-card__rate {
  flex-shrink: 0;
  background: var(--sk-primary-bg, #fff5f2);
  color: var(--sk-primary, #c29287);
  border-radius: 999px;
  padding: 5px 10px;
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
}

.sk-listing-card__location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8c7f81;
  font-size: 11px;
  margin: 4px 0 0;
  min-width: 0;
}

.sk-listing-card__location::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background-color: #b08390;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s7-4.5 7-11a7 7 0 1 0-14 0c0 6.5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s7-4.5 7-11a7 7 0 1 0-14 0c0 6.5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sk-listing-card__location-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sk-listing-card__meta {
  color: #8c7f81;
  font-size: 11px;
  line-height: 1.55;
  margin-bottom: 0;
}

.sk-listing-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 15px;
  margin-bottom: 0;
  max-height: 58px;
  overflow: hidden;
}

.sk-listing-card__tag {
  background: #fbf2f0;
  color: #885263;
  border-radius: 8px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.sk-listing-card__desc {
  color: #877b7e;
  font-size: 11px;
  line-height: 1.95;
  margin: 13px 0 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.sk-listing-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  width: 100%;
  min-height: 42px;
  border: 0;
  color: #fff;
  background: var(--sk-primary, #791f3d);
  border-radius: 12px;
  padding: 11px 14px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
}

.sk-listing-card__cta:hover {
  background: var(--sk-primary-dark, #59122a);
  color: #fff;
}

.sk-search-page .sk-tax-filters {
  background: #fff;
  border: 1px solid var(--sk-primary-border-light, #eee);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 170px;
  gap: 12px;
  align-items: end;
}

.sk-search-page .sk-tax-filters input,
.sk-search-page .sk-tax-filters select {
  width: 100%;
  height: 52px;
  border: 1px solid #eee;
  border-radius: 15px;
  padding: 0 15px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.sk-search-page .sk-tax-btn {
  height: 52px;
  width: 100%;
  border: none;
  border-radius: 15px;
  padding: 14px 24px;
  background: var(--sk-primary, #c29287);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(194, 146, 135, 0.18);
}

.sk-search-page .sk-tax-empty {
  background: #fff;
  border: 1px dashed var(--sk-primary-border-light, #f0b9ce);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  color: #666;
}

@media (max-width: 700px) {
  .sk-salon-listing-grid,
  .sk-directory-grid,
  .sk-ch-salon-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }

  .sk-listing-card {
    height: 233px;
    border-radius: 17px;
    grid-template-columns: minmax(0, 1fr) 43%;
    box-shadow: 0 8px 26px rgba(82, 36, 50, 0.045);
  }

  .sk-listing-card:hover {
    transform: none;
  }

  .sk-listing-card__body {
    padding: 13px 11px 11px 4px;
  }

  .sk-listing-card__title {
    font-size: 15px;
    line-height: 1.65;
  }

  .sk-listing-card__desc {
    display: none;
  }

  .sk-listing-card__cta {
    min-height: 37px;
    font-size: 11px;
    border-radius: 10px;
  }

  .sk-listing-card__media {
    padding-block: 6px;
    padding-inline-end: 6px;
    padding-inline-start: 0;
  }

  .sk-listing-card__poster-img,
  .sk-listing-card__media img {
    border-radius: 11px;
    clip-path: inset(0 round 11px);
    -webkit-clip-path: inset(0 round 11px);
  }
}
