/**/

.tpl-condiciones {
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
    line-height: 1.6;
    font-size: 16px;
}

.tpl-condiciones h2,
.tpl-condiciones h3 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 700;
}

.tpl-condiciones h2 {
    font-size: 1.8rem;
    color: #177E5F; /* verde principal */
    border-bottom: 2px solid #177E5F;
    padding-bottom: 0.3em;
}

.tpl-condiciones h3 {
    font-size: 1.3rem;
    color: #D70035; /* rojo de énfasis */
}

.tpl-condiciones p {
    margin-bottom: 1em;
}

.tpl-condiciones ul {
    margin: 1em 0;
    padding-left: 1.5em;
}

.tpl-condiciones ul li {
    margin-bottom: 0.5em;
}

.tpl-condiciones .highlight-green {
    color: #177E5F;
    font-weight: 600;
}

.tpl-condiciones .highlight-red {
    color: #D70035;
    font-weight: 600;
}

.tpl-condiciones .bg-highlight {
    background-color: #fbe329;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-weight: 600;
}

/*Preparacion de pedidos*/
.tpl-preparacion {
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
    line-height: 1.6;
    font-size: 16px;
}

.tpl-preparacion__video {
    text-align: center;
    margin: 1.5em auto;
}

.tpl-preparacion__video iframe {
    width: 100%;
    max-width: 600px;
    min-height: 300px;
    height: auto;
    border: none;
}

.tpl-preparacion h2,
.tpl-preparacion h3 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 700;
}

.tpl-preparacion h2 {
    font-size: 1.6rem;
    color: #177E5F; /* Verde principal */
}

.tpl-preparacion h3 {
    font-size: 1.3rem;
    color: #D70035; /* Rojo de énfasis */
}

.tpl-preparacion p {
    margin-bottom: 1em;
}

@media (max-width: 768px) {
    .tpl-preparacion h2 {
        font-size: 1.4rem;
    }

    .tpl-preparacion h3 {
        font-size: 1.2rem;
    }
}

/*aviso legal*/
.tpl-legal {
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
    line-height: 1.6;
    font-size: 16px;
    margin: 1em 0;
}

.tpl-legal__titulo {
    color: #177E5F; /* verde principal */
    font-weight: 700;
}

.tpl-legal p {
    margin-bottom: 1em;
}

.tpl-legal__link {
    color: #D70035; /* rojo de énfasis para links */
    text-decoration: underline;
}

.tpl-legal__link:hover {
    color: #177E5F;
}



  table.table,
  table.table-bordered {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;          /* horizontal scroll when needed */
    -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
  }

  table.table td,
  table.table th,
  table.table-bordered td,
  table.table-bordered th {
    white-space: normal;       /* allow wrapping to avoid excessive width */
    word-break: break-word;
    overflow-wrap: anywhere;
    min-height: 44px;          /* minimum height per cell/column */
    line-height: 1.4;
  }


/* Prevent line breaks in table headers */
table.table thead th,
table.table-bordered thead th {
  white-space: nowrap;
}



/* Compact rows on small screens to reduce excessive height */
@media (max-width: 764px) {
  /* Apply only to the requested classes */
  table.table td,
  table.table th,
  table.table-bordered td,
  table.table-bordered th {
    white-space: nowrap;       /* prefer horizontal scroll over vertical growth */
    word-break: normal;        /* reset any aggressive breaking */
    overflow-wrap: normal;     /* avoid breaking long words */
    min-height: 28px;          /* compact row height */
    line-height: 1.2;          /* tighter line spacing */
    padding-top: 6px;          /* reduced vertical padding */
    padding-bottom: 6px;       /* reduced vertical padding */
  }

  /* Keep headers in one line as requested */
  table.table thead th,
  table.table-bordered thead th {
    white-space: nowrap;
  }
}
