/* Servicos WS - Estilo Trivago/Hotel (MESMAS CLASSES ORIGINAIS) */
:root {
  --primary: #1A2B48;
  --secondary: #5191FA;
  --accent: #FF5A5F;
  --success: #00A699;
  --warning: #FFB400;
  --danger: #FF5A5F;
  --light: #F5F5F5;
  --dark: #1A2B48;
  --text: #4A4A4A;
  --text-light: #72809D;
  --border: #E0E0E0;
  --card-bg: #FFFFFF;
  --shadow: 0 2px 8px rgba(26, 43, 72, 0.08);
  --radius: 6px;
}

/* CONTAINER PRINCIPAL - MESMA CLASSE */
.servicos-ws-details-container {
  max-width: 1200px;
  margin: 0 auto;
  
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #F8F9FA;
  min-height: 100vh;
}

/* HEADER COM LAYOUT SIDEBAR - MESMAS CLASSES */
.servicos-ws-details-header {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.servicos-ws-details-left-column {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
}

.servicos-ws-details-info {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 20px;
  height: fit-content;
}

/* IMAGEM PRINCIPAL - MESMA CLASSE */
.servicos-ws-details-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 15px;
}

/* GALERIA - MESMA CLASSE */
.servicos-ws-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 15px;
}

.servicos-ws-gallery-item img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.servicos-ws-gallery-item img:hover {
  border-color: var(--secondary);
  transform: translateY(-2px);
}

/* TÍTULO - MESMA CLASSE */
.servicos-ws-details-title {
  color: var(--dark);
  margin: 0 0 15px 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

/* VERSÃO COM BADGES CIRCULARES */
.info-disponiveis,
.info-visualizacoes {
 display: flex;
    align-items: center;
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin: 12px 0;
    box-shadow: var(--shadow);
    justify-content: center;

}

.info-disponiveis strong,
.info-visualizacoes strong {
  color: var(--dark);
  font-size: 15px;
  font-weight: 600;
}

/* BADGE CIRCULAR PARA NÚMEROS */
.info-disponiveis .disponibilidade-por-dia,
.info-visualizacoes span {
    background: var(--success);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0, 166, 153, 0.2);
    margin: 0px 10px;
    justify-content: space-around;
}

.info-visualizacoes span {
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(255, 90, 95, 0.2);
}

.info-valor {
    display: none;
}

/* STATUS BADGE - MESMAS CLASSES */
.disponibilidade-status {
  margin: 15px 0;
}

.status-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-esgotado {
  background: #FCE8E8;
  color: #A4262C;
  border: 1px solid #F4ABAA;
}

.status-poucas-vagas {
  background: #FFF4CE;
  color: #8C6900;
  border: 1px solid #FFD666;
}

.status-disponivel {
  background: #E6F4EA;
  color: #0E5C2F;
  border: 1px solid #C7E0C4;
}

.disponibilidade-nota {
  display: block;
  color: var(--text-light);
  font-size: 12px;
  margin-top: 8px;
  font-style: italic;
}

/* FORMULÁRIO DE RESERVA - MESMAS CLASSES */
.servicos-ws-reservation-form {
      background: #ffffff00;
    padding: 0px;
    border-radius: var(--radius);
    /* box-shadow: var(--shadow); */
    border: 1px solid #e0e0e000;
}

.servicos-ws-reservation-form h3 {
  margin: 0 0 20px 0;
  color: var(--dark);
  font-size: 20px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
}

/* STATUS CONTAINER - VERSÃO MINIMALISTA */
#disponibilidade-status-container {
  margin: 8px 0;
  padding: 5px 0;
  text-align: center;
  min-height: 30px;
}

/* LOADING SUPER MINIMALISTA (MANTIDO APENAS O ESSENCIAL) */
.servicos-loading-simples {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(81, 145, 250, 0.2);
  border-radius: 50%;
  border-top-color: var(--secondary);
  animation: servicos-spin 0.8s linear infinite;
}

@keyframes servicos-spin {
  to { transform: rotate(360deg); }
}

/* CAMPOS DO FORMULÁRIO - MESMAS CLASSES */
.servicos-ws-form-group {
  margin-bottom: 20px;
}

.servicos-ws-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.servicos-ws-quantidade-input,
.servicos-ws-name-input,
.servicos-ws-surname-input,
.servicos-ws-whatsapp-input {
  width: 100%;
  padding: 5px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  transition: all 0.2s;
  box-sizing: border-box;
  background: #FFFFFF;
}

.servicos-ws-quantidade-input:focus,
.servicos-ws-name-input:focus,
.servicos-ws-surname-input:focus,
.servicos-ws-whatsapp-input:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(81, 145, 250, 0.1);
}

.servicos-ws-quantidade-input:disabled {
  background-color: #F5F5F5;
  cursor: not-allowed;
}

#quantidade-info {
  display: block;
  color: var(--text-light);
  margin-top: 6px;
  font-size: 12px;
  font-style: italic;
}

.servicos-ws-required {
  color: var(--danger);
}

/* RESUMO DA RESERVA - MESMA CLASSE */
.servicos-ws-summary-box {
  display: none;
  margin-top: 25px;
  padding: 20px;
  background: #F8F9FA;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.servicos-ws-summary-box h4 {
  margin: 0 0 15px 0;
  color: var(--dark);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  font-weight: 700;
}

.servicos-ws-summary-box p {
  margin: 10px 0;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

/* BOTÃO WHATSAPP - MESMA CLASSE */
.servicos-ws-whatsapp-button {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.servicos-ws-whatsapp-button:enabled {
  background: var(--accent);
  color: white;
  font-size: 12px;
}

.servicos-ws-whatsapp-button:enabled:hover {
  background: #FF4040;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 90, 95, 0.3);
}

.servicos-ws-whatsapp-button:disabled {
  background: #CCCCCC;
  color: white;
  cursor: not-allowed;
  font-size: 12px;
}

/* MENSAGENS - MESMA CLASSE */
.servicos-ws-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: var(--radius);
  display: none;
}

.servicos-ws-message.success {
  background: #E6F4EA;
  color: #0E5C2F;
  border: 1px solid #C7E0C4;
  display: block;
}

.servicos-ws-message.error {
  background: #FCE8E8;
  color: #A4262C;
  border: 1px solid #F4ABAA;
  display: block;
}

/* BOTÃO VOLTAR - MESMA CLASSE */
.servicos-ws-back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 12px 24px;
  background: var(--dark);
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.2s;
}

.servicos-ws-back-button:hover {
  background: var(--secondary);
  color: white;
  transform: translateX(-4px);
}

/* DESCRIÇÃO - MESMA CLASSE */
.servicos-ws-details-description {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
}

/* VIDEO - MESMA CLASSE */
.servicos_ws_details_video iframe {
  width: 100%;
  height: 300px;
  border-radius: var(--radius);
  margin-top: 10px;
  border: 1px solid var(--border);
}

/* RESERVA INFO - MESMA CLASSE */
.reserva-info {
  margin-bottom: 20px;
  padding: 15px;
  background: #F0F7FF;
  border-radius: var(--radius);
  border-left: 4px solid var(--secondary);
}

.reserva-info p {
  margin: 5px 0;
  font-size: 11px;
  color: var(--text);
}

/* ANIMAÇÕES ADICIONAIS */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 90, 95, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 90, 95, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 90, 95, 0);
  }
}

/* DESTAQUE PARA OFERTA ESPECIAL */
.highlight {
  animation: pulse 2s infinite;
  position: relative;
}

/* ESTILO PARA QUANTIDADE (adicione se quiser um seletor visual) */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.quantity-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--dark);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
}

.quantity-btn:hover {
  background: #F8F9FA;
  border-color: var(--secondary);
}

.quantity-value {
  min-width: 40px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

/* ========================================================================
   REMOVER ZOOM EM CAMPOS DE INPUT EM DISPOSITIVOS MÓVEIS
   ======================================================================== */

/* Para todos os dispositivos móveis */
@media screen and (max-width: 768px) {
  /* Ajustes responsivos existentes */
  .servicos-ws-details-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .servicos-ws-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .servicos-ws-details-container {
    padding: 5px;
  }
  
  .servicos-ws-details-image img {
    height: 250px;
  }
  
  .servicos-ws-details-info {
    position: static;
  }
  
  .servicos-ws-details-title {
    padding: 5px;
  }
  
  /* CORREÇÃO PARA REMOVER ZOOM NOS CAMPOS DE INPUT */
  .servicos-ws-quantidade-input,
  .servicos-ws-name-input,
  .servicos-ws-surname-input,
  .servicos-ws-whatsapp-input,
  input[type="tel"],
  input[type="text"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
    /* Previne zoom automático no iOS */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    max-height: 3em;
  }
  
  /* Garantir que o foco também mantenha o tamanho correto */
  .servicos-ws-quantidade-input:focus,
  .servicos-ws-name-input:focus,
  .servicos-ws-surname-input:focus,
  .servicos-ws-whatsapp-input:focus,
  input[type="tel"]:focus,
  input[type="text"]:focus,
  input[type="number"]:focus,
  select:focus,
  textarea:focus {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
}

/* Adicional: Para garantir em todos os dispositivos touch */
@media (hover: none) and (pointer: coarse) {
  .servicos-ws-quantidade-input,
  .servicos-ws-name-input,
  .servicos-ws-surname-input,
  .servicos-ws-whatsapp-input {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
}
/* Estilo CSS para as imagens de pagamento */
.servicos-ws-pagamento-info {
    margin: 15px 0 25px 0;
    
}

.info-pagamento-texto {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.servicos-ws-pagamento-icones {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 10px 0;
flex-wrap: wrap; /* Adicionado: Quebra linha em telas pequenas */
    justify-content: center; /* Adicionado: Centraliza os ícones */
}
/* Ajuste extra para mobile: Reduz tamanho dos ícones se necessário */
@media (max-width: 768px) {
    .pagamento-icone-item img {
        width: 80px; /* Reduz de 100px para caber melhor em telas < 320px */
        height: auto; /* Mantém proporção */
    }
}


.pagamento-icone-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.pagamento-icone-item:hover {
    transform: translateY(-3px);
}

.pagamento-icone-item img {
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pagamento-icone-label {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
    text-align: center;
}

.info-pagamento-detalhes {
    margin-top: 10px;
    color: #6c757d;
    font-style: italic;
}

@media (max-width: 768px) {
    .pagamento-icone-item {
        text-align: left;
    }

    .pagamento-icone-item img {
        width: 100px;
        height: 50px;
        display: block;      /* tira o espaço embaixo que inline costuma deixar */
        margin: 0;           /* remove margens indesejadas */
    }
}