

/* Asegurar que el contenedor de la imagen sea relativo */
.carousel-item {
    position: relative; /* Contexto para posicionamiento absoluto */
}

/* Botón de lupa en la esquina superior derecha */
.carousel-inner .btn-zoom {
    position: absolute; /* Posición relativa al contenedor de la imagen */
    top: 10px; /* Distancia desde la parte superior */
    right: 10px; /* Distancia desde la parte derecha */
    z-index: 10; /* Asegura que esté sobre la imagen */
    background-color: rgba(0, 0, 0, 0.7); /* Fondo semitransparente */
    color: white; /* Color del icono */
    font-size: 18px; /* Tamaño del icono */
    padding: 12px; /* Tamaño del botón */
    border: none; /* Sin borde */
    border-radius: 50%; /* Botón circular */
    cursor: pointer; /* Cambia el cursor a tipo mano */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Efecto al pasar el ratón */
}

/* Cambios al pasar el ratón */
.carousel-inner .btn-zoom:hover {
    background-color: rgba(0, 0, 0, 0.9); /* Fondo más oscuro */
    transform: scale(1.1); /* Agrandar ligeramente */
}


/* Estilos para H1 mejorado */

  .boat_title_wrap {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
  }

  .boat_price {
    font-weight: bold;
    font-size: 22px;
    color: #384158;
  }

  .boat_old_price {
    color: #888;
    margin-right: 0.5em;
    font-weight: normal;
    font-size: 20px;
  }
  
  .floating-contact-btn {
  position: fixed;
  bottom: 20px;
  right: 30px;
  background-color: #ff5722;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 16px;
  z-index: 999;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;

  /* 👇 Añadido para logo + texto alineados */
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-contact-btn:hover {
  background-color: #e64a19;
}

@media (max-width: 767px) {
  .floating-contact-btn {
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    text-align: center;
    display: none; /* ya lo tienes, correcto */
  }
}

@media (min-width: 768px) {
  .floating-contact-btn {
    font-size: 18px;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: bold;
  }
}

/* 👇 Nuevo estilo para el logo dentro del botón */
.floating-contact-btn .btn-logo {
  height: 26px;
  width: auto;
  border-radius: 4px;
  background: white;
  padding: 2px;
  box-shadow: 0 0 2px rgba(0,0,0,0.2);
}
  
.floating-contact-btn {
  display: none;
  transition: box-shadow 0.3s ease;
}

.floating-contact-btn.show {
  display: flex !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}



/* Botón grande destacado debajo de la galería */
#more_info_button {
  background-color: #FA5000;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

#more_info_button:hover {
  background-color: #d94700;
}

/* Bloques <details> personalizados */
.boat_info_block {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px 15px;
  margin-bottom: 1rem;
}

/* Estilo para el summary */
.boat_info_block summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #024A7F !important;
  margin-bottom: 8px;
}

/* Ajuste para ítems internos */
.boat_info_item {
  margin-right: 16px;
  margin-bottom: 10px;
}

.boat_info_title {
  /*font-weight: 500;*/
  font-size: 14px;
  color: #384158;
}

.boat_info_text a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #2d4c83;
  text-decoration: none;
}

.boat_info_text a:hover i {
  color: #fa5000;
}



/* Botón de contacto por email */
.btn-contact-sticky {
  background-color: #FDB813;
  color: #024A7F;
  font-weight: bold;
  font-size: 18px;
  margin: 2px;
  cursor: pointer;
  border: none;
}

.btn-contact-sticky:hover {
  background-color: #e6a500;
}

/* Botón de llamada */
.btn-call {
  background-color: #FA5000;
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
  margin: 2px;
  cursor: pointer;
  border: none;
}

.btn-call:hover {
  background-color: #d94700;
}

/* Botón "Más opciones" */
.btn-more-options {
  background-color: #384158;
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
  margin: 2px;
  cursor: pointer;
  border: none;
}

.btn-more-options:hover {
  background-color: #2c3447;
}

/* Botón de WhatsApp */
.btn-whatsapp {
  background-color: #128C7E;
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
  margin: 2px;
  cursor: pointer;
  border: none;
}

.btn-whatsapp:hover {
  background-color: #0e6e62;
}

/* Botón de alerta de precio */
.btn-price-alert {
  background-color: #024A7F;
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
  margin: 2px;
  cursor: pointer;
  border: none;
}

.btn-price-alert:hover {
  background-color: #01375d;
}

details.accordion-block summary {
  cursor: pointer;
  padding: 10px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-weight: bold;
}

details.accordion-block[open] summary {
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}

details.accordion-block .tab_panel_content {
  padding: 10px;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  background-color: #fff;
}

.modal-content {
    border-radius: 1.25rem;
    transition: all 0.3s ease;
}

.modal-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: #007bff;
    border: none;
}

.btn-primary:hover {
    background-color: #0069d9;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(0,123,255,0.25);
    border-color: #80bdff;
}



.floating-contact-btn {
	display: none; /* oculto inicialmente */
	position: fixed;
	bottom: 20px;
	right: 30px;
	background-color: #ff5722;
	color: white;
	padding: 14px 24px;
	border-radius: 30px;
	font-size: 16px;
	z-index: 999;
	text-decoration: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	transition: background-color 0.3s ease;
	flex-direction: column;
	align-items: center;
	text-align: center;
	line-height: 1.3;
	gap: 2px;
}

.floating-contact-btn:hover {
	background-color: #e64a19;
}

@media ( max-width : 767px) {
	.floating-contact-btn {
		display: none !important;
	}
}

.floating-contact-btn.show {
	display: flex !important;
}

.floating-contact-btn:hover {
	background-color: #e64a19;
}

@media ( max-width : 767px) {
	.floating-contact-btn {
		width: calc(100% - 40px);
		left: 20px;
		right: 20px;
		text-align: center;
		display: none; /* ya lo tienes, correcto */
	}
}

@media ( min-width : 768px) {
	.floating-contact-btn {
		font-size: 18px;
		padding: 14px 28px;
		border-radius: 40px;
		font-weight: bold;
		display: none !important;
	}
}

/* 👇 Nuevo estilo para el logo dentro del botón */
.floating-contact-btn .btn-logo {
	height: 26px;
	width: auto;
	border-radius: 4px;
	background: white;
	padding: 2px;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.more-options.hidden {
	display: none;
}

.sticky-contact {
	display: flex;
	position: fixed;
	bottom: 0;
	left: 60px; /* antes estaba en 0 */
	right: 30px; /* igualamos el margen */
	background-color: #fff;
	padding: 8px;
	box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
	z-index: 998;
}

@media ( min-width : 768px) {
	.sticky-contact {
		display: none !important;
	}
}