.containerdetalles {
    width: 40%;
    margin: 40px auto;
    background: #ffffff;
    padding: 25px 30px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    color: #5c5757;
    font-family: "Oswald", sans-serif;
}
.containerdetalles input[type="text"],
.containerdetalles input[type="email"],
.containerdetalles input[type="tel"],
.containerdetalles select { 
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}
.containerdetalles select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292%22%20height%3D%22292%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M287%2C146.5L146%2C287L5%2C146.5H287z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}
.containerdetalles label {
    display: block;
}
.containerdetalles .boton-normal {
    margin-top: 30px; /* Adjust if needed based on the 20px margin-bottom of checkbox-container */
}
.resumen-seccion {
    margin-bottom: 5px; 
    padding-bottom: 5px;
    border-bottom: 1px dashed #eee; 
}
.resumen-seccion:last-of-type {
    border-bottom: none; 
    margin-bottom: 0;
}
.resumen-seccion h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
    border-bottom: 2px solid #00bfba; 
    padding-bottom: 5px;
    display: inline-block; 
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.resumen-item {
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 8px; 
    font-size: 1.05em;
    line-height: 1.4;
}
.resumen-item-top {
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 8px; 
    font-size: 1.05em;
    line-height: 1.4;
}
.resumen-label {
    font-weight: bold;
    color: #555;
    flex-shrink: 0; 
    margin-right: 15px; 
}
.resumen-value {
    color: #5c5757;
    text-align: right; 
    flex-grow: 1; 
}
.resumen-item.resumen-subtotal .resumen-label,
.resumen-item.resumen-subtotal .resumen-value {
    font-weight: bold;
    color: #008c8a; /* Color destacado para subtotales */
}
.resumen-item.resumen-total-seccion {
    border-top: 1px solid #ccc; /* Línea superior para subtotales */
    padding-top: 10px;
    margin-top: 15px;
    font-size: 1.1em;
}
.resumen-total-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #00bfba; /* Línea de separación más gruesa */
    font-size: 1.6em; /* Tamaño de fuente grande para el total */
    font-weight: bold;
    color: #005652; /* Color distintivo para el total */
}
.resumen-total-final .resumen-label {
    font-size: 1em; /* Asegura que la etiqueta del total no sea demasiado grande */
}
.resumen-total-final .resumen-value {
    font-size: 1.2em; /* Hace el valor del total un poco más grande */
}
.checkbox-container {
    display: flex; /* Use flexbox to align checkbox and text horizontally */
    align-items: flex-start; /* Align items to the start of the cross-axis (top) */
    margin-top: 20px; /* Space ABOVE the checkbox container */
    margin-bottom: 20px; /* Space BELOW the checkbox container */
    gap: 8px; /* Space between checkbox input and its label text */
}
.checkbox-container input[type="checkbox"] {
    flex-shrink: 0; /* Prevent the checkbox from shrinking */
    width: 18px; /* Standardize checkbox size if needed */
    height: 18px; /* Standardize checkbox size if needed */
    margin-top: 2px; /* Adjust vertical alignment if needed */
    /* Remove padding/border/width from the general input rule */
    padding: 0;
    border: 1px solid #ccc;
    box-sizing: content-box; /* Revert to default box model for checkbox */
}
.checkbox-container label {
    /* Override display: block from general label rule for checkbox labels */
    display: inline-block;
    font-size: 0.9em; /* Reduce font size for checkbox text */
    font-weight: normal; /* Reset font-weight if needed */
    color: #555; /* Slightly lighter color for checkbox text */
    line-height: 1.4; /* Improve readability for smaller text */
    margin-bottom: 0; /* No extra margin for checkbox label itself */
}
.checkbox-container label a {
    //color: #007bff; /* Example link color */
    text-decoration: none;
}
.error-message {
    color: red;
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.95em;
    font-weight: bold;
}
.error-msg {
    color: red;
    text-align: center;
    margin-bottom: 15px;
    font-size: 0.95em; /* Ensure consistency with other text */
}
.resumen-item-dia {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 1.05em;
  line-height: 1.4;
}
.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 1.05em;
  line-height: 1.4;
}
.total-price {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 2em;
  line-height: 1.4;
  font-weight: bold;
  margin-top: 30px;
}

.containerdetalles1 {
    width: 40%;
    margin: 20px auto;
    background: #00bfba;
    padding: 25px 30px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    color: #5c5757;
    font-family: "Oswald", sans-serif;
    flex: 1;
}
.containerdetalles2 {
    width: 40%;
    margin: 20px auto;
    background: #e9eaea;
    padding: 25px 30px;
    box-shadow: 0 0 10px rgba(0,0,0,0.34);
    color: #5c5757;
    font-family: "Oswald", sans-serif;
    flex: 1;
    position: relative;
}
.containerdetalles2 input[type="text"],
.containerdetalles2 input[type="email"],
.containerdetalles2 input[type="tel"],
.containerdetalles2 select { 
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
    background: #FAFAFA;
}
.containerdetalles2 select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292%22%20height%3D%22292%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M287%2C146.5L146%2C287L5%2C146.5H287z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}
.containerdetalles2 label {
    display: block;
    padding-top: 15px;
}
.containerdetalles2 .boton-normal {
    margin-top: 30px; /* Adjust if needed based on the 20px margin-bottom of checkbox-container */
}
.containerdetalles1 strong {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.resumen-item-top strong {
  color: #5c5757;
  text-shadow: none;
}
.checkbox-group {
  display: flex;
  align-items: baseline;
}
.datos button {
  background-color: #00bfba;
  color: #fff;
  font-weight: bold;
  font-size: 1.2em;
  padding: 25px;
  position: absolute;
  bottom: 0;
  right: 0px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.34);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.datos button:hover {
  background-color: #016a68;
  cursor: pointer;
  border: 1px solid #016a68;
}
.discount-input-section  {
  width: 50%;
}
.discount-input-section button {
  color: #5c5757;
  width: 50%;
}
.discount-input-section button:hover {
  cursor: pointer;
}
.containerdetallesmain-resumen h2 {
margin: 0;
font-size: 2.2em;
padding-bottom: 25px;
}
.containerdetalles1 h2 {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.resume-line {
  border: none; /* Elimina el borde por defecto */
  border-top: 1px solid #fff; /* Agrega un nuevo borde superior */
}
.resumen-item-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 1.5em;
  line-height: 1.4;
  font-weight: bold;
}
.resumen-item li {
 
}
.resumen-item-list {
  display: block;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 1.05em;
  line-height: 1.4;
  list-style-type: none;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.checkbox-group a {
  color: inherit; /* Hereda el color del texto del elemento padre */
  text-decoration: none; /* Quita el subrayado */
}

/* Opcional: para asegurar que el color no cambie al visitar o pasar el ratón */
.checkbox-group a:visited, a:hover, a:active {
  color: inherit;
  text-decoration: none;
}
.resumen-header-flex {
    justify-content: flex-end;
  flex: 0.5;
  display: flex;
}
.resumen-header-flex-left {
    align-self: center;
    flex: 0.5;
}
.modelo-resumen-img {
    width: 150px;
    height: auto;
    border-radius: 8px; /* Opcional: para que se vea más moderno */
    margin-bottom: 10px;
    width: 100%;
}
.resumen-seccion-header {
   display: flex;
   gap: 30px;
   background: white;
   margin-bottom: 20px;
   padding: 30px;
   margin: 0 -30px 20px -30px;
}

@media (max-width: 767px) {
    .containerdetalles {
    max-width: 85%;
    margin: auto;
    width: auto;
    padding: 15px 15px;
    }
    .containerdetalles1 {
   width: 85%;
   padding: 20 15 20 15;
}
.containerdetalles2 {
   width: 75%;
}
.containerdetallesmain-resumen h2 {
  font-size: 2em;
}
.total-price {
  flex-direction: column;
  text-align: center;
}
.resumen-seccion-header {
  display: block;
}
.datos button {
  position: inherit;
  margin-top: 20px;
}
{