.smx-rev-inline-box,
.smx-rev-box {
  background: #141414;
  color: #fff;
  border-radius: 10px;
  padding: 40px;
  box-sizing: border-box;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.smx-rev-header h2 {
  margin: 40px 0 12px;
  font-size: 37px;
  line-height: 1.27;
  font-weight: 700;
  color: #fff;
  max-width: 520px;
}

.smx-rev-header p {
  margin: 0 0 24px;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
}

.smx-rev-label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #fff;
}

.smx-rev-form-row {
  display: flex;
  gap: 0px;
  align-items: center;
  border-radius: 10px;
  border: 1px solid var(--Color-Black-black-5, #d9d9d9);
  background: #f5f5f5;
  padding: 5.5px 10px;
}

.smx-rev-form-row button {
  gap: 6px;
}
@media (max-width: 768px) {
  .smx-rev-form-row button span {
    display: none;
  }
}

.smx-rev-input {
  width: calc(100% - 206px) !important;
  min-height: 52px;
  padding: 0 16px !important;
  border: 0 !important;
  outline: none;
  font-size: 16px;
  background: transparent;
  color: #1f1f1f;
}

.smx-rev-input:-webkit-autofill,
.smx-rev-input:-webkit-autofill:hover,
.smx-rev-input:-webkit-autofill:focus,
.smx-rev-input:-webkit-autofill:active {
  /* Define el color del texto cuando se autocompleta (cámbialo por el tuyo) */
  -webkit-text-fill-color: #1f1f1f !important;

  /* Obliga al navegador a retrasar la aparición de su fondo por más de una hora */
  transition: background-color 5000s ease-in-out 0s;
}

.smx-rev-results {
  margin-top: 40px;
}

.smx-rev-results-title {
  margin: 0 0 17px;
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  font-family: "Manrope", Sans-serif !important;
}

.smx-rev-nearby-copy__sorry {
  margin: 0 0 5px;
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  font-family: "Manrope", Sans-serif !important;
}

.smx-rev-nearby-copy__title {
  margin: 0 0 17px;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  font-family: "Manrope", Sans-serif !important;
}

.smx-rev-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.smx-rev-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px;
  background: #fff;
  border-radius: 10px;
}

.smx-rev-card-title {
  margin: 0 0 8px;
  font-size: 18px;
  color: #1b1b1b;
  font-weight: 800;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.smx-rev-card-line {
  margin: 0;
  font-size: 16px;
  color: #1f1f1f;
  line-height: 1.5;
  font-weight: 500;
}

.smx-rev-card-line a {
  color: #2d2d2d;
  word-break: break-word;
}

.smx-rev-no-wa {
  display: inline-block;
  font-size: 14px;
  color: #666;
}

.smx-rev-empty,
.smx-rev-loading {
  padding: 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 15px;
}

.smx-rev-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.smx-rev-modal.is-open {
  display: block;
  display: flex;
  align-items: center;
}

.smx-rev-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.smx-rev-modal-dialog {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  width: 100%;
  margin: 20px auto;
  padding: 0px;
}

.smx-rev-close {
  width: 38px !important;
  height: 38px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
}

.smx-rev-close:hover,
.smx-rev-close:focus {
  background: transparent !important;
}

body.smx-rev-modal-open {
  overflow: hidden;
}

.mode-inline .smx-rev-inline-box {
  width: 100%;
  box-shadow: none;
}

.smx-info {
  max-width: 517px;
  width: 100%;
}

.smx-rev-image-wrap {
  width: 100%;
  max-width: 393px;
}

@media (max-width: 1024px) {
  .smx-rev-inline-box,
  .smx-rev-box {
    gap: 20px;
  }
  .smx-info {
    max-width: calc(55% - 10px);
  }
  .smx-rev-image-wrap {
    max-width: calc(45% - 10px);
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
  }
  .smx-rev-modal-dialog {
    max-width: 95vw;
  }
  .smx-rev-header h2 {
    margin: 16px 0;
    font-size: 24px;
  }
  .smx-rev-input {
    padding: 0 !important;
  }
  .smx-rev-input {
    width: calc(100% - 89px) !important;
  }
  .smx-rev-form-row button {
    width: 89px !important;
  }
  .smx-rev-form-row button span {
    display: none;
  }

  .smx-rev-results {
    margin-top: 32px;
  }

  .smx-rev-results-title {
    font-size: 16px;
  }

  .smx-rev-card {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 20px;
  }

  .smx-rev-card-action {
    text-align: right;
  }
}

@media (max-width: 767px) {
  .smx-info {
    max-width: 100%;
  }

  .smx-rev-header h2 {
    font-size: 22px;
    margin: 14px 0 16px;
  }

  .smx-rev-header p {
    font-size: 16px;
  }

  .smx-rev-inline-box,
  .smx-rev-box {
    padding: 22px;
    gap: 32px;
  }

  .smx-rev-image-wrap {
    max-width: 100%;
    height: auto;
    width: 100%;
  }

  .smx-rev-form-row {
    align-items: stretch;
  }

  .smx-rev-modal-dialog {
    padding: 50px 16px;
    overflow-y: auto;
    max-height: 100dvh;
    border-radius: 10px;
  }

  .smx-rev-close {
    margin-left: auto;
    margin-right: 0;
    display: block;
    width: 24px !important;
    height: 24px;
  }

  .smx-rev-close {
    width: 24px;
    height: 24px;
  }

  .mode-inline .smx-rev-inline-box {
    padding: 0;
  }
}
