/*
Theme Name: LBN Child Theme
Template: LBN
Version: 1.0
*/

body { font-size: 18px; }

.tip-48 { font-size: 48px; line-height: 1.1; }
.tip-100 { font-size: 100px; line-height: 1.1; }

.fraunces { font-family: 'Fraunces'; }
.bg-beige { background: #ECE3DC; }

.blanco { color: #fff; }
.gris { color: #f3f3f3 !important; }

.light { font-weight: 300 !important; }
.regular { font-weight: 400 !important; }
.italic { font-style: italic !important; }

.p-60 { padding: 60px; }

.py-150 { padding-top: 150px; padding-bottom: 150px; }
.py-500 { padding-top: 500px; padding-bottom: 500px; }

.pt-100 { padding-top: 100px; }
.pt-150 { padding-top: 150px; }
.pt-200 { padding-top: 200px; }
.pt-300 { padding-top: 300px; }

.pb-100 { padding-bottom: 100px; }
.pb-150 { padding-bottom: 150px; }
.pb-200 { padding-bottom: 200px; }

.pl-30 { padding-left: 30px; }
.pl-10 { padding-left: 10%; }

.pr-10 { padding-right: 10%; }

.mt-100 { margin-top: 100px; }

.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
.mb-100 { margin-bottom: 100px; }

.page-id-38,
.page-id-39 { color: #ffffff !important; }


.page-header .page-header-title { line-height: 1; }
.page-header-content .page-subheading {
    border-top: 1px solid #fff;
    width: 70%;
    margin: 45px auto;
    padding-top: 40px;
    color: #fff;
}

.btn-circulo {
    border-radius: 100%;
    width: 150px;
    height: 150px;
    border: 1px solid #D5152A;
    align-items: center;
    display: flex;
    justify-content: center;
	margin-top: 60px;
	margin-left: 30px;
}

.btn-circulo:hover { background: #D5152A; color: #fff; border: 1px solid #D5152A !important; }
.btn-circulo.rojo { color: #D5152A; }
.btn-circulo.rojo:hover { color: #ECE3DC !important; }

#site-header-sticky-wrapper.is-sticky #site-header { background: transparent; box-shadow: none; mix-blend-mode: difference; }


/* INICIO */
a.marquee-wrap { transition: all 0.3s ease; }
a.marquee-wrap:hover { text-decoration: none !important; opacity: 0.5; }
.marquee-wrap.gris .marquee-track span { color: #969696; }

.marquee-wrap.gris .marquee-track { animation: marqueeMove 100s linear infinite; }
  @keyframes marqueeMove {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }

.marquee-wrap {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  will-change: transform;
}

.marquee-track span {
  flex-shrink: 0;
  padding-right: 2rem;
  font-size: 150px;
  font-weight: 700;
  color: #fff;
  font-family: 'Fraunces';
  font-style: italic;
}

.foto1, .foto2, .sec-napolitana {
  will-change: transform;
  position: relative;
}

.sec-napolitana { overflow: hidden; }

.marquee-wrap {
  overflow: hidden;
  position: relative;
}
.foto2 { z-index: -1; }


.subrayado {
  position: relative;
}

.subrayado::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -50px;
  width: 0;
  height: 1px;
  background: #D5152A;
  transition: width 3s ease;
}

/* cuando entra en viewport */
.subrayado.visible::after {
  width: 100%;
}

.grilla1 {
  position: relative;
  gap: 0;
}
.grilla1 > * {
  will-change: transform;
  transition: transform 0.08s linear;
}

.grilla1::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0; /* clave */
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid #D5152A;
  border-radius: 50%;
  transform: translateY(-50%) scale(0);
  transform-origin: 26% center; /* clave */
  transition: transform 3s ease;
  pointer-events: none;
}

.grilla1.v2::before {
  transform: translateY(-50%) scale(0);
  transform-origin: 200% center;
}

.grilla1.visible::before {
  transform: translateY(-50%) scale(1.2);
}

.grilla1 figure:last-child img,
.grilla1 .wpb_raw_html:last-child video { margin-left: -30px; }

/* --------------------------
   ACORDEÓN CARTA
--------------------------- */
.acordeon-carta.oculto { display: none; }
.acordeon-carta { margin: 0; background-color: #fff; border-radius: 30px; }
.acordeon-carta .vc_tta-panels-container,
.acordeon-carta .vc_tta-panels { background: transparent !important; }
.acordeon-carta .vc_tta-panels-container .vc_tta-panel { border-bottom: 1px solid #D5152A; }
.acordeon-carta .vc_tta-panel {	margin: 0 !important; }
.acordeon-carta .vc_tta-panel-heading { font-family: 'Fraunces', sans-serif;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.acordeon-carta h4.vc_tta-panel-title,
.acordeon-carta .vc_tta-panel-title {
	border-left: 0 !important;
	border-right: 0 !important;
	border-top: 0 !important;
	border-bottom: 0 !important;
	font-size: 50px;
	line-height: 1.1;
	position: relative;
	font-weight: 500 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.acordeon-carta .vc_tta-panel:last-child .vc_tta-panel-title > a { padding-bottom: 50px !important; }
.acordeon-carta .vc_tta-panels-container .vc_tta-panel:last-child { border-bottom: 0 !important; }

.acordeon-carta .vc_tta-panel-title > a {
	background: transparent !important;
	display: block;
	padding: 30px 45px !important;
	box-sizing: border-box;
	text-decoration: none !important;
	color: inherit !important;
	position: relative;
	transition: color .2s ease-in-out;
	border-bottom: 0 !important;
	box-shadow: none !important;
	outline: none !important;
}

.acordeon-carta .vc_tta-title-text { position: relative; z-index: 1; display: inline-block; padding: 0; }
.acordeon-carta .vc_tta-title-text .num { font-size: 22px; }
.acordeon-carta .vc_tta-panel-body { padding: 20px 5% !important; background: transparent !important; border: 0 !important; margin: 0 !important; box-shadow: none !important; }

/* Quitar estilos base molestos de WPBakery */
.acordeon-carta.vc_tta.vc_general .vc_tta-panel-title > a,
.acordeon-carta.vc_tta.vc_general .vc_tta-panel-heading,
.acordeon-carta.vc_tta.vc_general .vc_tta-panel-body { border: 0 !important; box-shadow: none !important; background: transparent !important; }


/* --------------------------
   LISTADO DE PLATOS
--------------------------- */
.plato {
	display: flex;
	flex-direction: column;
	font-size: 16px;
	line-height: 1.5;
	color: #000;
	margin-bottom: 30px;
}

.plato:last-child {
	margin-bottom: 0;
}

.plato-info {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	font-family: 'Fraunces', sans-serif;
	font-size: 20px;
	line-height: 1.2;
	position: relative;
	margin-bottom: 15px;
}

.plato-nombre {
    display: flex;
	align-items: flex-end;
	flex: 1 1 auto;
	min-width: 0;
	color: #D5152A;
}
.plato-nombre::after {
	content: "";
	flex: 1;
	border-bottom: 1px dotted #D5152A; /* cambia dotted por solid si la quieres continua */
	margin: 0 12px 4px;
}
.plato-precio {
	flex: 0 0 auto;
	text-align: right;
	white-space: nowrap;
    color: #D5152A;
}

.plato-descripcion {
	width: 85%;
	font-size: 16px;
	line-height: 1.5;
	color: #000;
}

.plato-descripcion p:last-child {
	margin-bottom: 0;
}

.plato-descripcion strong {
	font-weight: 800;
}

.plato-descripcion a {
	color: inherit;
	text-decoration: underline;
}

/* Icono oferta */
.plato-info.oferta::before,
.oferta::before {
	content: '';
	background-image: url('https://labellanapoli1970.es/wp-content/uploads/2020/11/50-bw.png');
	position: absolute;
	top: 5px;
	left: -60px;
	width: 50px;
	height: 50px;
	background-repeat: no-repeat;
	background-size: 50px 50px;
}

/* Evitar que HTML raro dentro del contenido reviente el diseño */
.plato-descripcion .plato {
	margin: 0;
	font-size: inherit;
	font-family: inherit;
}

.plato-descripcion .plato-info {
	margin-bottom: 0;
	font-size: inherit;
	font-family: inherit;
	display: block;
}

.plato-descripcion .plato-precio {
	text-align: left;
	white-space: normal;
}

.plato-descripcion div,
.plato-descripcion span {
	max-width: 100%;
}

/* Si aparecen bloques raros pegados desde editores/chat */
.plato-descripcion .flex,
.plato-descripcion .markdown,
.plato-descripcion .prose,
.plato-descripcion .text-message,
.plato-descripcion .min-h-8,
.plato-descripcion .items-center,
.plato-descripcion .justify-start,
.plato-descripcion .rounded-xl,
.plato-descripcion .empty\:hidden,
.plato-descripcion .dark\:prose-invert {
	display: block;
	width: auto;
	min-height: 0;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}


.plato,
.plato-info,
.vc_tta-panel-body {
    overflow: visible !important;
}

/* ==========================
   ESTRUCTURA
========================== */

.plato {
    position: relative;
}

.plato-descripcion-wrap {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* ==========================
   TOOLTIP DESKTOP
========================== */

.plato-tooltip-imagen {
    position: absolute;
    top: 0;
    right: 50px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease;
    z-index: 999;
    background: #fff;
    padding: 6px;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.plato:hover .plato-tooltip-imagen {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.plato-tooltip-imagen img {
    display: block;
    width: 220px;
    max-width: 220px;
    height: auto;
    border-radius: 6px;
}

/* ==========================
   THUMB SOLO MÓVIL
========================== */

.plato-thumb {
    display: none;
    position: relative;
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    cursor: pointer;
}

.plato-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.plato-thumb-lupa {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    background: rgba(0,0,0,.25);
    border-radius: 8px;
    opacity: 1;
    transition: opacity .2s ease;
}

/* ==========================
   MODAL MÓVIL
========================== */

.plato-modal-img {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, background .25s ease;
}

.plato-modal-img.activo {
    opacity: 1;
    visibility: visible;
    background: rgba(0,0,0,.75);
}

.plato-modal-img-contenido {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(.92) translateY(10px);
    transition: transform .25s ease;
}

.plato-modal-img.activo .plato-modal-img-contenido {
    transform: scale(1) translateY(0);
}

.plato-modal-img img {
    display: block;
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 10px;
}

.plato-modal-cerrar {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    font-size: 22px;
    cursor: pointer;
}


#footer-builder .vc_section > .vc_row:first-child { border-top: none; border-bottom: 1px solid #fff; }
#footer-builder .vc_section .vc_row .vc_col-sm-6,
#footer-builder .vc_section .vc_row .vc_col-sm-4 { border-right: 1px solid #fff; }
#footer-builder .vc_section .vc_row .vc_col-sm-6:last-child,
#footer-builder .vc_section .vc_row .vc_col-sm-4:last-child { border-right: 0; }



#footer-builder .vc_section .vc_row {
  display: flex;
}

#footer-builder .vc_section .vc_row > .wpb_column {
  display: flex;
}

#footer-builder .vc_section .vc_row .vc_column-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px 15px;
  color: #fff;
}
#footer-bottom { border-top: 1px solid #fff; }

.social-links-custom {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-link-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px; /* mismo alto para los 3 */
  text-decoration: none;
}

.social-link-custom img {
  display: block;
  height: 100%;
  width: auto;
  max-height: 30px;
}

/* CONTACTO */
/* CONTENEDOR */
.lbn-form {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #2f2430;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* GRID */
.lbn-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 34px;
  margin-bottom: 26px;
}

.lbn-form__field--full {
  margin-bottom: 26px;
}

/* LABELS */
.lbn-form label {
  display: block;
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.2;
  color: #3b2a34;
  letter-spacing: 0.02em;
}

/* INPUTS Y TEXTAREA */
.lbn-form .lbn-input,
.lbn-form .lbn-textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(120, 79, 96, 0.35);
  background: transparent;
  border-radius: 0;
  padding: 12px 0;
  font-size: 15px;
  line-height: 1.5;
  color: #2f2430;
  box-shadow: none;
  outline: none;
  transition: border-color 0.25s ease, opacity 0.25s ease;
}

.lbn-form .lbn-textarea {
  max-height: 100px;
  resize: vertical;
}

.lbn-form .lbn-input:focus,
.lbn-form .lbn-textarea:focus {
  border-bottom-color: #6d3a4d;
}

.lbn-form .lbn-input::placeholder,
.lbn-form .lbn-textarea::placeholder {
  color: rgba(47, 36, 48, 0.45);
}

/* CHECK */
.lbn-form__check {
  margin: 18px 0 28px;
  font-size: 14px;
  line-height: 1.6;
  color: #4b3a43;
}

.lbn-form__check .wpcf7-list-item {
  margin: 0;
}

.lbn-form__check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0 10px 0 0;
  border: 1px solid rgba(120, 79, 96, 0.55);
  background: transparent;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.lbn-form__check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #6d3a4d;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.lbn-form__check a {
  color: #6d3a4d;
  text-decoration: none;
  border-bottom: 1px solid rgba(109, 58, 77, 0.3);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.lbn-form__check a:hover {
  border-bottom-color: #6d3a4d;
}

/* BOTÓN */
.lbn-form__submit {
  margin-top: 10px;
}

.lbn-form .lbn-submit {
  display: inline-block;
  min-width: 180px;
  padding: 14px 28px;
  border: 1px solid #6d3a4d;
  background: transparent;
  color: #6d3a4d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lbn-form .lbn-submit:hover {
  background: #6d3a4d;
  color: #fff;
}

/* MENSAJES CF7 */
.lbn-form .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 13px;
  color: #9f3d3d;
}

.lbn-form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 18px;
  border: 1px solid rgba(120, 79, 96, 0.25);
  font-size: 14px;
  color: #3b2a34;
}

/* SPINNER */
.lbn-form .wpcf7-spinner {
  margin: 12px 0 0 12px;
}

/* RESPONSIVE */
@media (max-width: 767px) {
  .lbn-form {
    padding: 30px 16px;
  }

  .lbn-form__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .lbn-form .lbn-submit {
    width: 100%;
  }
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 767px) {
    .plato-thumb {
        display: block;
    }

    .plato-tooltip-imagen {
        display: none !important;
    }
}

/* ==========================
   RESPONSIVE GLOBAL
   - Laptop 14": ~1366px
   - Tablet: ~1024/768
   - Móvil: <=540
========================== */

/* Tipografías fluidas para evitar saltos bruscos */
.tip-100 { font-size: clamp(56px, 6.8vw, 100px); }
.tip-48 { font-size: clamp(28px, 3.2vw, 48px); }

/* Marquee: 150px rompe en laptop/tablet */
.marquee-track span { font-size: clamp(56px, 10vw, 150px); }

/* Espaciados extremos: que no “revienten” en pantallas pequeñas */
.py-500 { padding-top: clamp(140px, 26vw, 500px); padding-bottom: clamp(140px, 26vw, 500px); }
.py-150 { padding-top: clamp(70px, 10vw, 150px); padding-bottom: clamp(70px, 10vw, 150px); }
.pt-300 { padding-top: clamp(60px, 13vw, 300px); }
.pt-100 { padding-top: clamp(60px, 8vw, 100px); }
.pb-150 { padding-bottom: clamp(40px, 10vw, 150px); }
.pb-100 { padding-bottom: clamp(60px, 8vw, 100px); }
.p-60 { padding: clamp(22px, 4.2vw, 60px); }


/* Subrayado: bajar menos en pantallas pequeñas */
.subrayado::after { bottom: clamp(-26px, -3.6vw, -50px); }

@media (max-width: 1540px) {
	.marquee-track span { font-size: clamp(56px, 10vw, 100px); }
  .acordeon-carta .vc_tta-panel-title > a { padding: 20px 45px !important; }
  .acordeon-carta .vc_tta-title-text { font-size: 30px; }

  .wpml-ls-menu-item a { padding-inline: 10px !important; }
  
  .pr-10 { padding-right: 5%; }
  .pl-10 { padding-left: 5%; }
  
  .pb-200 { padding-bottom: 120px; }
  .pt-200 { padding-top: 120px; }
}

@media (max-width: 1366px) {
	body { font-size: 17px; }
	.plato-tooltip-imagen { right: 24px; }
}

@media (max-width: 1100px) {
  .wpml-ls-menu-item { display: none; }
}

@media (max-width: 1024px) {
	body { font-size: 16px; }
	/* Icono oferta: que no se salga a la izquierda */
	.plato-info.oferta::before,
	.oferta::before { left: -44px; width: 42px; height: 42px; background-size: 42px 42px; }
}

@media (max-width: 540px) {
	/* Asegurar legibilidad en móvil */
	body { font-size: 16px; }
	.plato-info.oferta::before,
	.oferta::before { left: -36px; width: 38px; height: 38px; background-size: 38px 38px; }
}


/* --------------------------
   RESPONSIVE
--------------------------- */
@media (max-width: 1182px) {
	.acordeon-carta .vc_tta-panel-title,
	.acordeon-carta h4.vc_tta-panel-title {
		font-size: 40px;
	}
}

@media (max-width: 970px) {
	.acordeon-carta .vc_tta-panel-title,
	.acordeon-carta h4.vc_tta-panel-title {
		font-size: 20px;
		line-height: 1.2;
	}

	.acordeon-carta .vc_tta-panel-title > a {
		padding-left: 5% !important;
		padding-right: 5% !important;
	}

	.plato-info {
		font-size: 18px;
		gap: 15px;
	}

	.plato-descripcion {
		width: 100%;
	}
}

@media (max-width: 767px) {
  .grilla1 figure:last-child img, .grilla1 .wpb_raw_html:last-child video { argin-left: -30px; margin-top: -80px; }
  .btn-circulo { margin-top: 30px; margin-bottom: 40px; }
  .mb-100 { margin-bottom: 60px; }
  #footer .vc_section .vc_row { display: flex; flex-direction: column; }
  #footer .vc_section .vc_column_container { width: 100% !important; }
  #footer-builder .vc_section .vc_row .vc_col-sm-6, #footer-builder .vc_section .vc_row .vc_col-sm-4 { border-right: 0; }
  #copyright { justify-content: center; display: flex; }
  #footer-builder .vc_section .vc_row .vc_column-inner { padding: 8px 15px; }
  .grilla1 figure:last-child img, .grilla1 .wpb_raw_html:last-child video { margin-top: 40px; }
  
  
}

@media (max-width: 540px) {
	.acordeon-carta h4.vc_tta-panel-title::before,
	.acordeon-carta .vc_tta-panel-title::before {
		display: none;
	}

	.acordeon-carta .vc_tta-panel-title,
	.acordeon-carta h4.vc_tta-panel-title {
		font-size: 30px;
		line-height: 30px !important;
	}

  .acordeon-carta .vc_tta-panel-body {
    padding: 10px 5% !important; }


	.acordeon-carta .vc_tta-title-text {
		background: transparent !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
	}

	.plato-info {
		flex-direction: row;
		align-items: flex-start;
		font-size: 17px;
	}

	.plato-precio {
		margin-left: 10px;
	}

	.plato-descripcion {
		width: 100%;
		font-size: 15px;
	}
  #site-header .theme-button { padding: 3px 12px !important; }
  .wpex-mobile-toggle-menu-icon_buttons :where(.header-seven,.header-eight,.header-nine,.header-ten) #mobile-menu { margin-inline-start: var(--wpex-mobile-menu-toggle-side-margin, 20px); }
  .wpml-ls-legacy-list-horizontal a { padding: 5px 7px 6px !important; }
  .header-seven-aside, .header-ten-aside { margin-inline-start: var(--wpex-site-header-gutter, 0) !important; }

}