/* SALON MARCHANT - SERVICIOS PREMIUM */

.services-page {
  --sm-gold: #ad9170;
  --sm-brown: #35291f;
}

.services-filters {
  gap: 16px;
  align-items: stretch;
}

.services-filters > label:last-child {
  position: relative;
  min-width: 0;
}

.services-filters input[type="search"] {
  width: 100%;
  min-height: 54px;
  border-color: #ded0be;
  background: #fffdfa;
  transition: border-color .2s, box-shadow .2s;
}

.services-filters input[type="search"]:focus {
  outline: none;
  border-color: #a88a68;
  box-shadow: 0 0 0 3px rgba(168,138,104,.12);
}

/* Selector personalizado */
.services-filters .sm-select-enhanced > select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.services-filters .sm-select-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 54px;
  padding: 12px 23px;
  border: 1px solid #d8cbb9;
  border-radius: 28px;
  background: #fffdfa;
  color: #35291f;
  font: 400 15px/1.4 "Geist Servicios", Arial, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}

.services-filters .sm-select-button:hover,
.services-filters .sm-select-button[aria-expanded="true"] {
  border-color: #aa8c69;
}

.services-filters .sm-select-button:focus-visible {
  outline: 2px solid #a88a68;
  outline-offset: 3px;
}

.services-filters .sm-chevron {
  display: block;
  width: 9px;
  height: 9px;
  margin-right: 3px;
  border-right: 1.7px solid #765d43;
  border-bottom: 1.7px solid #765d43;
  transform: translateY(-3px) rotate(45deg);
  transition: transform .2s;
  flex-shrink: 0;
}

.services-filters .sm-select-button[aria-expanded="true"] .sm-chevron {
  transform: translateY(2px) rotate(225deg);
}

.services-filters .sm-select-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 9px);
  right: 0;
  left: 0;
  max-height: 340px;
  overflow-y: auto;
  padding: 7px;
  border: 1px solid #e1d2bf;
  border-radius: 17px;
  background: #fffdf9;
  box-shadow: 0 17px 38px rgba(53,41,31,.13);
}

.services-filters .sm-select-menu[hidden] {
  display: none !important;
}

.services-filters .sm-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 43px;
  padding: 11px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #35291f;
  font: 400 14px/1.4 "Geist Servicios", Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.services-filters .sm-select-option:hover,
.services-filters .sm-select-option:focus-visible {
  background: #f6efe6;
  outline: none;
}

.services-filters .sm-select-option[aria-pressed="true"] {
  background: #f1e7da;
  font-weight: 600;
}

.services-filters .sm-select-option[aria-pressed="true"]::after {
  content: "✓";
  color: #896a48;
  font-size: 16px;
}

/* Tarjetas y listados */
.services-card-copy {
  max-width: 370px;
}

.services-details {
  margin-top: 17px;
}

.services-details summary {
  min-height: 45px;
  padding: 11px 25px;
  background: #f4eadc;
  border: 1px solid #d6bfa4;
  font-weight: 500;
  transition: background-color .2s, border-color .2s;
}

.services-details summary:hover {
  background: #ebddcb;
  border-color: #bca081;
}

.services-details summary:focus-visible {
  outline: 2px solid #967352;
  outline-offset: 4px;
}

.services-details[open] summary {
  background: #35291f;
  color: #fffaf3;
  border-color: #35291f;
}

.services-details .services-list {
  margin: 15px 0 0;
  padding: 9px 16px;
  border: 1px solid #e7daca;
  border-radius: 13px;
  background: #fffdf9;
  box-shadow: 0 7px 20px rgba(75,57,38,.035);
  text-align: left;
}

.services-details .services-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid #f0e8de;
  color: #43372d;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.services-details .services-list li:last-child {
  border-bottom: none;
}

.services-details .services-list li::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: #ad9170;
  flex: 0 0 6px;
}

@media (max-width: 620px) {
  .services-filters {
    gap: 12px;
  }

  .services-filters .sm-select-menu {
    max-height: 290px;
  }

  .services-details .services-list {
    padding: 7px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-page .sm-select-button,
  .services-page .sm-chevron,
  .services-page .services-details summary {
    transition: none;
  }
}