/* Tenuta Linazza — estilos de las piezas que antes ponía el creador web por JS */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.video__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
[data-embed-src] { position: relative; }

.tl-form-msg { font-family: var(--font-primary, inherit); font-size: 18px; text-align: center; padding: 16px 0; margin: 0; }
.tl-form-error { color: #c62828; font-size: 14px; margin: 8px 0 0; width: 100%; text-align: center; }

/* Galería ampliable */
.tl-lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(29, 30, 32, .9); padding: 24px 64px; }
.tl-lightbox[hidden] { display: none; }
.tl-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); }
.tl-lb-btn { position: absolute; width: 52px; height: 52px; border: 0; background: transparent; color: #f2f3f6; font-size: 40px; line-height: 1; cursor: pointer; border-radius: 50%; transition: background-color .2s; }
.tl-lb-btn:hover, .tl-lb-btn:focus-visible { background: rgba(255, 255, 255, .12); outline: none; }
.tl-lb-btn[hidden] { display: none; }
.tl-lb-close { top: 12px; right: 12px; }
.tl-lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.tl-lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .tl-lightbox { padding: 56px 8px; } .tl-lb-prev, .tl-lb-next { top: auto; bottom: 8px; transform: none; } }

/* Botón de WhatsApp */
/* Medidas tomadas del original: 64px, a 20px/24px del borde, verde #008361 */
.tl-whatsapp { position: fixed; right: 20px; bottom: 24px; z-index: 19; width: 64px; height: 64px; border-radius: 100px; display: block; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); transition: transform .2s; }
.tl-whatsapp svg { display: block; width: 64px; height: 64px; }
.tl-whatsapp:hover { transform: scale(1.06); }

/* Copyright traducido (más largo que el original): una sola línea y centrado */
.tl-copy { display: flex; justify-content: center; }
.tl-copy p { white-space: nowrap; }

/* Aviso de cookies */
.tl-cookies { position: fixed; left: 24px; bottom: 24px; z-index: 950; max-width: 420px; background: #fff; color: #1d1e20; border-radius: 12px; box-shadow: 0 8px 32px rgba(0, 0, 0, .18); padding: 20px; font: 14px/1.5 Poppins, system-ui, sans-serif; }
.tl-cookies p { margin: 0 0 16px; }
.tl-cookies__btns { display: flex; gap: 8px; justify-content: flex-end; }
.tl-cookies button { font: inherit; font-weight: 500; border-radius: 999px; padding: 8px 20px; cursor: pointer; border: 1px solid #1d1e20; }
.tl-cookies__decline { background: #fff; color: #1d1e20; }
.tl-cookies__accept { background: #1d1e20; color: #fff; }
@media (max-width: 600px) { .tl-cookies { left: 16px; right: 16px; bottom: 88px; max-width: none; } }

/* Popup de reserva del restaurante */
.tlb { position: fixed; inset: 0; z-index: 1100; background: rgba(29, 30, 32, .6); display: flex; align-items: center; justify-content: center; padding: 16px; font-family: Poppins, system-ui, sans-serif; color: #1d1e20; }
.tlb[hidden] { display: none; }
.tlb__box { position: relative; background: #fff; border-radius: 16px; width: 100%; max-width: 560px; max-height: calc(100dvh - 32px); overflow-y: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.tlb__body { padding: 32px 32px 28px; }
.tlb__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 30px; line-height: 1; cursor: pointer; border-radius: 50%; color: #1d1e20; }
.tlb__close:hover, .tlb__close:focus-visible { background: #f2f2f0; outline: none; }
.tlb__title { font-size: 28px; font-weight: 600; margin: 0; line-height: 1.2; }
.tlb__sub { margin: 4px 0 20px; color: #6b6b6b; font-size: 14px; }
.tlb__form { display: flex; flex-direction: column; gap: 14px; }
.tlb__row { display: flex; gap: 12px; }
.tlb__row > * { flex: 1; min-width: 0; }
.tlb__field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.tlb__field--s { flex: 0 0 110px; }
.tlb__field > span, .tlb__field legend { font-size: 13px; font-weight: 500; padding: 0; }
.tlb__field em { font-weight: 300; color: #6b6b6b; font-style: normal; }
.tlb input:not([type=checkbox]), .tlb select, .tlb textarea { font: inherit; font-size: 16px; width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid #c9c9c6; border-radius: 8px; background: #fff; color: inherit; }
.tlb input:focus, .tlb select:focus, .tlb textarea:focus { outline: 2px solid #007f99; outline-offset: 0; border-color: #007f99; }
.tlb textarea { resize: vertical; }
.tlb__slots { display: flex; flex-wrap: wrap; gap: 8px; }
.tlb__slot { font: inherit; font-size: 15px; font-weight: 500; padding: 9px 16px; border-radius: 999px; border: 1px solid #1d1e20; background: #fff; color: #1d1e20; cursor: pointer; min-width: 76px; }
.tlb__slot:hover:not(:disabled) { background: #f2f2f0; }
.tlb__slot[aria-checked=true] { background: #1d1e20; color: #fff; }
.tlb__slot:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.tlb__hint { margin: 0; font-size: 13px; color: #6b6b6b; }
.tlb__hint:empty { display: none; }
.tlb__check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; cursor: pointer; }
.tlb__check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: #1d1e20; }
.tlb__err { color: #c62828; font-size: 12px; margin: 0; }
.tlb__err:empty { display: none; }
.tlb__submit { font: inherit; font-size: 16px; font-weight: 500; margin-top: 6px; padding: 14px 24px; border: 0; border-radius: 999px; background: #1d1e20; color: #fff; cursor: pointer; }
.tlb__submit:hover:not(:disabled) { background: #3a3b3e; }
.tlb__submit:disabled { opacity: .6; cursor: wait; }
.tlb__ok { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tlb__ok p { margin: 0; }
.tlb__okicon { width: 64px; height: 64px; border-radius: 50%; background: #008361; color: #fff; font-size: 34px; line-height: 64px; }
.tlb__code { display: flex; flex-direction: column; gap: 2px; background: #f4f2ec; border-radius: 10px; padding: 12px 24px; }
.tlb__code span { font-size: 12px; color: #6b6b6b; }
.tlb__code strong { font-size: 24px; letter-spacing: 2px; }
.tlb__summary { font-weight: 500; }
.tlb__done { min-width: 160px; }
@media (max-width: 600px) {
  .tlb { padding: 0; align-items: flex-end; }
  .tlb__box { border-radius: 16px 16px 0 0; max-height: 94dvh; }
  .tlb__body { padding: 28px 20px 24px; }
  .tlb__title { font-size: 24px; }
  .tlb__row { flex-direction: column; gap: 14px; }
  .tlb__field--s { flex: 1; }
}
.tlb__help { background: #f4f2ec; border-radius: 10px; padding: 12px 14px; margin-top: 8px; }
.tlb__help[hidden] { display: none; }
.tlb__helptitle { font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.tlb__dates { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tlb__date { font: inherit; font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid #1d1e20; background: #fff; color: #1d1e20; cursor: pointer; }
.tlb__date:hover, .tlb__date:focus-visible { background: #1d1e20; color: #fff; outline: none; }
.tlb__sched { font-size: 13px; line-height: 1.5; }
.tlb__sched p { margin: 0 0 6px; }

/* Bloque de horario en móvil: reloj pequeño al lado del título (como en escritorio), en los 3 idiomas */
@media (max-width: 920px) {
  .layout-element:has(> #zvQKjZ) { display: none !important; }
  /* la fila del reloj grande (320px fijos en el creador) desaparece */
  .block-layout:has(#zvQKjZ) { grid-template-rows: 40px auto 16px auto 16px 0 24px 200px 0 !important; }
  #zoH3Si h3 { display: flex; align-items: center; gap: 4px; }
  #zoH3Si h3::after {
    content: ""; flex: none; width: 68px; height: 68px; margin: -10px 0;
    background: url("/assets/img/75fe425c-d999-43b1-a96e-d8b392ee2066-qH2AdRodme9G1Fwj-7518b9bb.avif") center / contain no-repeat;
  }
}
