/* ✅ Fuente global: Cormorant Garamond */
:root{
    --font-main: "Cormorant Garamond", serif;
    --font-size-max: 14px;
}

/* -------- SPINNER -------- */
.spinner {
    border: 5px solid #e3e3e3;
    border-top: 5px solid #6E5C37;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    margin: 20px auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* -------- FADE IN -------- */
.fade-in {
    animation: fadeIn 1.2s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* ✅ Aplica fuente y limita tamaño a 14px en TODO */
html, body {
    font-family: var(--font-main);
    font-size: var(--font-size-max);
    -webkit-text-size-adjust: 100%;
}

*{
    font-family: inherit;
    font-size: inherit;
}

/* Controls y formularios */
input, select, textarea, button {
    font-family: inherit;
    font-size: var(--font-size-max);
}

select{
    color:black;
}

#copy-text {
    color:black;
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
    color: #4b3f2f;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    display: flex;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    max-width: none;
    background-image: url("assets/bg-texture.png");
    background-repeat: repeat;
    background-size: 400px;
    background-position: top left;
}

img {
    max-width: 100%;
    max-height: 100%;
}

.linea-separadora {
    width: 100%;
    height: 3px;
    background-color: black;
    border-radius: 50px;
}

#countdown{
    display: contents;
}

/* Números del contador */
#countdown td {
    font-family: "Ovo", serif;
    font-size: 30px !important;
    color: #545454;
}

/* Labels (Dias, Hrs, etc.) */
#countdown th {
    font-family: "Ovo", serif;
    font-size: 14px !important;
    font-weight: 400;
}

table {
    border-collapse: collapse;
    width: 90%;
}

/* ✅ antes estaba a 30px!important + Roboto */
th, td {
    color: #545454;
    padding: 0;
    text-align: center;
    padding-right: 25px;
}

/* ✅ antes tenía Martel Sans y 14!important */
th, label {
    font-weight: 400;
}

.separator{
    margin-top: 40px;
}

.btn-save-date{
    padding: 10px 102px;
    color: #211E17;
    border: 0;
    border-radius: 10px;
    font-weight: 400;
    background-color: #E9EBE5;
    text-decoration: none;
    border: 1px solid #939B7F;
    cursor: pointer;
}

button, .btn-google-maps {
    padding: 10px 102px;
    color: #211E17;
    border: 1px solid #211E17;
    border-radius: 10px;
    font-weight: 400;
    background-color: transparent;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.submit-form,
#btn_bus {
    background-color: #E9EBE5;
    color: #211E17;
    border: 1px solid #211E17;
    border-radius: 10px;
    -webkit-appearance: none;
    appearance: none;
}

.titulo_principal{
    color: #777777;
    font-weight: 700;
}

#map {
    height: 400px;
    width: 100%;
}

.lista{
    align-items: center;
    text-align: center;
    .list-content{
        display: inline-flex;
        max-width: 80%;
    }
}

/* ✅ antes estaba a 16px + Open Sans */
.principal{
    font-family: "Ovo", serif;
    font-weight: 500;
    line-height: 1.7;
    align-items: center;
    text-decoration: none;
}

.principal strong {
    margin-right: 10px;
}

.copy-icon {
    vertical-align: sub;
    cursor: pointer;
}

.celebracion{
    margin-top: 40px;
}
 
select.asistir, select.plaza_bus, select.numeroInvitados {
    background-image:
      linear-gradient(45deg, transparent 50%, #CCC 50%),
      linear-gradient(135deg, #CCC 50%, transparent 50%),
      linear-gradient(to right, #ccc, #ccc);
    background-position:
      calc(100% - 17px) calc(1em + 2px),
      calc(100% - 12px) calc(1em + 2px),
      calc(100% - 2.5em) 0.5em;
    background-size:
      5px 5px,
      5px 5px,
      1px 1.5em;
    background-repeat: no-repeat;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;  
}

.container{
    max-width: 80%;
}

.container, .container2 {
    margin: 0 auto;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.container select:focus {
    outline: none;
}

input, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #939B7F;
    border-radius: 10px;
    box-sizing: border-box;
}

input[type="radio"] {
    width: auto; 
    accent-color: #404040;
}


button {
    text-transform: uppercase;
    width: 100%;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

input:focus{
    border-color: #404040;
    outline: none; 
    box-shadow: 0 0 5px rgba(215, 236, 250, 0.5);
}

#guestInfo {
    margin-top:20px;
    display: none;
    width:100%;
}

.hotel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #E9EBE5;
    padding: 16px 14px;
    border-radius: 10px;
    margin: 8px 35px;
}

/* Antes usabas <a>. Ahora usas <span>. Mantengo ambos por si acaso. */
.hotel a,
.hotel span{
    flex: 1;
    text-decoration: none;
    color: #404040;
    font-weight: 500;
}

#respuesta img,
#respuesta_bus img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================
   BUS BLOQUEADO
========================= */
.bus-msg{
    color: #404040;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
}

button:disabled,
select:disabled{
    opacity: 0.55;
    cursor: not-allowed;
}

/* =========================
   HOTELES MODAL (BOTTOM SHEET)
   (ÚNICO BLOQUE, sin duplicados)
========================= */

.modal-hotel{
  position: fixed;
  inset: 0;
  z-index: 99999;

  background: rgba(0,0,0,0.60);

  display: flex;
  justify-content: center;
  align-items: flex-end;

  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.modal-hotel.active{
  opacity: 1;
  pointer-events: auto;
}

/* Panel (sheet) */
.modal-content{
  width: 100%;
  max-width: 380px; /* tu body está capado a 380px */

  background: #E9EBE5;
  border: 1px solid #939B7F;
  border-radius: 22px 22px 0 0;

  padding: 18px 18px 20px;

  box-shadow: 0 -10px 30px rgba(0,0,0,0.22);

  max-height: 78vh;
  overflow: auto;

  transform: translateY(110%);
  transition: transform .42s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}

.modal-hotel.active .modal-content{
  transform: translateY(0);
}

/* Handle (barrita de arriba) */
.modal-handle{
  width: 56px;
  height: 5px;
  border-radius: 999px;
  background: rgba(0,0,0,0.18);
  margin: 6px auto 16px auto;
}

/* Título */
.modal-header{
  margin-bottom: 10px;
}

.modal-header h2{
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  color: #404040;
}

/* Contenido variable del hotel */
#hotelContent{
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  line-height: 1.65;
  color: #404040;
  margin-bottom: 18px;
}

#hotelContent p{
  margin: 0 0 10px 0;
}

#hotelContent ul{
  margin: 0 0 12px 18px;
  padding: 0;
}

#hotelContent li{
  margin: 0 0 6px 0;
}

/* Botón CONTACTAR (aislado del padding global de button) */
.btn-contactar{
  padding: 12px 16px !important; /* pisa el padding global de button */
  width: 100%;

  border: 1px solid #211E17;
  border-radius: 14px;
  background: transparent;
  color: #211E17;

  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  cursor: pointer;
}