/* === Contenedor === */
.svc-single {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 32px 24px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

@media (min-width: 1024px) {
  .svc-single {
    max-width: 2000px;
    padding: 40px 70px;
  }
}

/* === Top (2 columnas) === */
.svc-single__top {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: flex-start;
}

.svc-media {
  flex: 1 1 34%;
  min-width: 280px;
  /* max-width: 520px; */
}

.svc-info {
  flex: 1 1 56%;
  min-width: 280px;
}

/* === Media === */
.svc-media__box {
  position: relative;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .07);
}

.svc-media__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* === Título + proveedor bajo título === */
.svc-title {
  font-size: 2rem;
  margin: 0 0 .25rem;
  color: #111;
}

.svc-providerline {
  margin: .1rem 0 .6rem;
  color: #555;
  font-size: .95rem;
}

.svc-providerline__link {
  color: #748573;
  text-decoration: none;
}

.svc-providerline__link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* === Precio === */
.svc-price {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  margin: .6rem 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.svc-price__was {
  text-decoration: line-through;
  color: #999;
  font-weight: 600;
}

.svc-price__now,
.svc-price__solo {
  color: #748573;
}

.svc-price__iva {
  font-size: .95rem;
  font-weight: 500;
  color: #666;
}

.svc-excerpt {
  font-size: 1rem;
  margin-bottom: 1.1rem;
  color: #555;
}

/* === Botones === */
.btn-svc {
  display: inline-block;
  padding: .8rem 1.4rem;
  border-radius: .6rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .06s ease, box-shadow .12s ease, filter .2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

.btn-svc:active {
  transform: translateY(1px);
}

.btn-svc--t1 {
  background: #748573;
  color: #fff;
  border-color: #c6b194;
}

.btn-svc--t1:hover {
  filter: brightness(.97);
}

.btn-svc--t2 {
  background: #fff;
  color: #748573;
  border: 2px solid #748573;
}

.btn-svc--t2:hover {
  background: #748573;
  color: #fff;
}

.btn-svc--t3 {
  background: linear-gradient(90deg, #748573, #c6b194);
  color: #fff;
  border: none;
}

.btn-svc--t3:hover {
  background: linear-gradient(90deg, #c6b194, #748573);
}

.svc-actions {
  display: flex;
  gap: .75rem;
  flex-flow: column wrap;
  margin: 1rem 0 1.25rem;
  align-items: flex-start;
}

/* === Formulario === */
.svc-formwrap {
  margin-top: .5rem;
  width: 100%;
}

.form-svc {
  display: grid;
  gap: .6rem;
  max-width: 560px;
}

.form-svc__row {
  display: grid;
  gap: .35rem;
}

.form-svc input,
.form-svc textarea {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid #dcdcdc;
  border-radius: .6rem;
  background: #fff;
  font-size: 1rem;
}

.form-svc label {
  font-size: .95rem;
  color: #444;
  font-weight: 600;
}

.form-svc__errors {
  color: #cc0000;
  font-weight: 600;
  margin: .2rem 0 .4rem;
  min-height: 1.2em;
}

/* Skins */
.form-svc--t2 input,
.form-svc--t2 textarea {
  border: 2px solid #748573;
  background: #f9f9f9;
}

.form-svc--t3 input,
.form-svc--t3 textarea {
  border-radius: 1rem;
  border: 1px solid #ccc;
  padding: .8rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .08);
}

/* === Meta / Compartir === */
.svc-meta {
  margin-top: .5rem;
  color: #666;
  font-size: .95rem;
}

.svc-meta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.svc-share {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: .6rem;
}

.svc-share a {
  color: #748573;
  text-decoration: none;
}

.svc-share a:hover {
  text-decoration: none;
}

.svc-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #f5f5f5;
}

.svc-share a+a {
  margin-left: 6px;
}

.svc-share i {
  font-size: 16px;
  line-height: 1;
}

.svc-share a:hover {
  background: #ebebeb;
}

/* === Tabs === */
.svc-tabs {
  margin-top: 2.2rem;
}

.svc-tab {
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  margin-bottom: .8rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .03);
}

.svc-tab__title {
  position: relative;
  display: block;
  padding: .9rem 1rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.svc-tab__title::-webkit-details-marker {
  display: none;
}

.svc-tab__title::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  width: 12px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 12px 8px;
  background-repeat: no-repeat;
  transition: transform .15s ease;
}

.svc-tab[open] .svc-tab__title::after {
  transform: translateY(-50%) rotate(180deg);
}

.svc-tab__content {
  padding: 1rem 1.1rem 1.2rem;
  line-height: 1.8;
  color: #333;
}

.svc-tab__content h2,
.svc-tab__content h3 {
  margin-top: 1.2rem;
}

/* === Relacionados (Swiper) === */
.svc-related {
  margin-top: 2.2rem;
  position: relative;
}

.svc-related__title {
  margin: 0 0 1.6rem;
  font-size: 1.25rem;
}

/* Botones navegación Swiper */
.brm-servicios-nav {
  position: relative;
  right: 0;
  display: flex;
  gap: 8px;
}

.brm-servicios-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .12);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.brm-servicios-btn[disabled] {
  opacity: .4;
  cursor: default;
}

/* Card relacionada igual a tu shortcode */
.brm-servicios .swiper {
  overflow: hidden;
}

.brm-servicios-card {
  padding: 10px;
  display: block;
  overflow: hidden;
  position: relative;
  background: #fff;
  text-decoration: none;
  border: 1px solid #eee;
  border-radius: 12px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.brm-servicios-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
  border-color: #e6e6e6;
}

.brm-servicios-card__cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-indent: -9999px;
  overflow: hidden;
}

.brm-servicios-card__media {
  position: relative;
  width: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: auto 300 / 300;
  background-color: #f6f6f6;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.brm-servicios-card__name {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
  padding: 12px 10px 6px;
  text-align: center;
  color: #111;
}

:root {
  --marron: #c6b194;
}

.brm-servicios-card__vendor {
  position: absolute;
  right: -10px;
  top: -10px;
  border-radius: 5px;
  padding: 7px 5px;
  background: var(--marron);
  color: #fff;
  font-size: 12px !important;
  z-index: 101;
  line-height: 1;
  white-space: nowrap;
  max-width: 85%;
  text-overflow: ellipsis;
  overflow: hidden;
  display: inline-block;
}

.brm-servicios-card__vendor:hover {
  color: #fff;
}

/* === Barra fija CTA (móvil) === */
.svc-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .9rem;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
}

.svc-bar[hidden] {
  display: none !important;
}

.svc-bar__title {
  flex: 1;
  font-weight: 600;
  font-size: .95rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.svc-bar__price {
  font-weight: 700;
  margin-right: .4rem;
}

.btn-svc--bar {
  padding: .6rem 1rem;
}

/* Solo móvil */
@media (min-width: 900px) {
  .svc-bar {
    display: none !important;
  }
}

/* === Responsive === */
@media (max-width:768px) {

  .svc-media,
  .svc-info {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.svc-related-container-top {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

/* Alertas de estado */
.svc-alert {
  padding: .75rem 1rem;
  border-radius: 10px;
  margin: .5rem 0 1rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.svc-alert--ok {
  background: #eef9f0;
  color: #1b6b2c;
  border-color: #d2efd9;
}

.svc-alert--err {
  background: #fff2f2;
  color: #a11b1b;
  border-color: #f3d6d6;
}

/* Honeypot: oculto visualmente pero presente en el DOM */
.svc-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
