:root {
  --panel: rgb(163, 62, 64);
  --panel-soft: #1f2937;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --brand: #893436;
  --brand-soft: #893436;
  --line: #263244;
  --ok: #22c55e;
}

* {
  box-sizing: border-box;
}

.body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.container {
  width: min(980px, 92%);
  margin: 0 auto;
}

.head {
  position: relative;
  z-index: 0;
  margin-top: 120px;
  background: #FFE7CA;
}

.topbar {
  padding: 18px 0 14px;
}

.pretitle {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
}

.allergen-toolbar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 0 14px;
}

.filter-toggle {
  appearance: none;
  border: 1px solid #c04a4c;
  background: #893436;
  color: #e5edff;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.filter-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  width: min(430px, 92vw);
  height: 100vh;
  border-left: 1px solid #893436;
  background: #582324;
  padding: 18px 14px 14px;
  transform: translateX(102%);
  transition: transform 0.25s ease;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
}

.filter-panel.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.filter-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.filter-panel-header h3 {
  margin: 0;
  font-size: 18px;
  color: #e8f0ff;
}

.filter-close {
  appearance: none;
  border: 1px solid #c04a4c;
  background: #893436;
  color: #e5edff;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.filter-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 14px;
}

.filter-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.filter-option {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid #c04a4c;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  color: #16263f;
  font-size: 14px;
  text-align: left;
  transition: 0.2s ease;
}

.filter-option:hover {
  background: #893436;
  color: #FFF;
}

.filter-option.active {
  border-color: #893436;
  background: #c04a4c;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.filter-option img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.filter-actions {
  display: flex;
  gap: 10px;
}

.filter-reset {
  appearance: none;
  border: 1px solid #c04a4c;
  background: #893436;
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
}

.filter-status {
  margin: 8px 0 14px;
  color: #893436;
  font-size: 14px;
  text-align: right;
}

.filter-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: rgba(3, 8, 17, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.filter-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.main {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 24px 50px 40px;
}

.section {
  margin: 24px 0 36px;
  border-radius: 14px;
  overflow: hidden;
  background-color: #fff;
}

.section-title {
  margin: 0;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 100%);
  font-size: clamp(22px, 3vw, 28px);
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.section-title::after {
  content: "−";
  font-size: 24px;
  line-height: 1;
  opacity: 0.95;
}

.section-title.collapsed::after {
  content: "+";
}

.items.collapsed {
  display: none;
}

.items {
  padding: 8px 14px 10px;
}

.item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  padding: 16px 8px;
  border-bottom: 1px solid rgba(156, 163, 175, 0.15);
}

.item:last-child {
  border-bottom: none;
}

.item.hidden-by-filter {
  display: none;
}

.name {
  margin: 0;
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.desc {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 20px);
}

.price {
  margin: 0;
  align-self: start;
  white-space: nowrap;
  font-size: clamp(23px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #893436;
}

.allergens {
  margin-top: 0px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  clear: both;
}

.tag {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0;
  overflow: hidden;
}

.tag img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.menu-notes {
  margin-top: 20px;
  border-radius: 14px;
  background: var(--panel);
  padding: 14px 18px;
  color: #fff;
  text-align: center;
  font-size: 15px;
}

.menu-notes p {
  margin: 0;
}

.legend {
  margin-top: 26px;
  border-radius: 14px;
  background: var(--panel);
  padding: 18px;
  color: #fff;
}

.legend h3 {
  margin: 0 0 10px;
  font-size: 24px;
}


.legend-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px 10px;
  font-size: 14px;
}

@media (max-width: 640px) {
  .legend-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    font-size: 13px;
  }

  .legend-list span {
    padding: 7px 8px;
  }

  .legend-list img {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
  }
}

.legend-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #893436;
  border: 1px solid #c04a4c;
  border-radius: 8px;
  padding: 7px 10px;
}

.legend-list img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.traces {
  margin-top: 18px;
  border-radius: 14px;
  background: var(--panel);
  padding: 18px;
  color: #fff;
}

.traces h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.traces p {
  margin: 0 0 14px;
  color: var(--muted);
}

.traces-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.traces-icons img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity: 0.95;
}

.comida {
  width: 90px;
  height: 90px;
  object-fit: cover;
  float: right;
  margin: 0 0 8px 14px;
  border-radius: 10px;
  cursor: zoom-in;
  transition: box-shadow 0.2s;
}

.item > div {
  overflow: auto; /* clearfix: contiene la imagen flotante dentro de la tarjeta */
}

@media (max-width: 640px) {
  .nav-row {
    align-items: stretch;
    flex-direction: column;
  }

  .head {
    margin-top: 132px;
  }

  .filter-toggle {
    width: 100%;
  }

  .allergen-toolbar {
    align-items: stretch;
  }

  .filter-panel {
    width: min(430px, 100vw);
  }

  .filter-options {
    grid-template-columns: 1fr;
  }

  .item {
    grid-template-columns: 1fr;
  }

  .comida {
    width: 42%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 0 10px 14px;
  }

  .price {
    margin-top: 4px;
  }

  .desc {
    font-size: 14px;
  }

  .name {
    font-size: 19px;
  }

  br.brk {
    display: none;
  }
}
.comida--modal {
  position: fixed;
  z-index: 1001;
  left: 50%;
  top: 50%;
  max-width: 90%;
  max-height: 90%;
  max-height: 88vh;
  transform: translate(-50%, -50%);
  border-radius: 15px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.65);
  background: #fff;
  cursor: zoom-out;
  margin: 0;
  display: none;
  object-fit: contain;
}



















:root {
--clr-surface-frosted: rgba(255, 255, 255, 0.95);
--clr-border-faint: rgba(36, 36, 36, 0.10);
--clr-bg: #FFF;
--clr-text: #242424;
--clr-brand: #0F71F0;
--clr-shadow: rgba(0, 0, 0, 0.14);
--clr-on-brand: #FFF;
--clr-on-brand-muted: #B2D4FC;
--clr-text-disabled: #919191;
--clr-text-secondary: #5B5B5B;
--clr-brand-deep: #0E68DD;
--clr-btn-disabled-bg: rgba(68, 68, 68, 0.10);
--clr-bg-subtle: #F4F4F4;
--clr-scroll-track: #E8E8E8;
--clr-scroll-thumb: #A1A1A1;
--clr-btn-hover: #E0E0E0;
--clr-danger: #D40404;
}

html[data-gen-theme=dark] {
--clr-surface-frosted: rgba(0, 0, 0, 0.70);
--clr-border-faint: rgba(255, 255, 255, 0.15);
--clr-bg: #272727;
--clr-text: #FFF;
--clr-brand: #3F8DF3;
--clr-shadow: rgba(0, 0, 0, 0.14);
--clr-on-brand: #FFF;
--clr-on-brand-muted: #99C6FB;
--clr-text-disabled: #8F8F8F;
--clr-text-secondary: #C7C7C7;
--clr-brand-deep: #3F8DF3;
--clr-btn-disabled-bg: rgba(68, 68, 68, 0.10);
--clr-btn-hover: rgba(255, 255, 255, 0.1);
--clr-danger: #FF4242;
--clr-bg-subtle: #323232;
--clr-scroll-track: #323232;
--clr-scroll-thumb: #505050;
}
body {
background-color: #FFE7CA;
margin: 0;
min-height: 100vh;
}
@font-face {
font-family: "Inter";
src: url(https://restaurante-el-trabuquete.menu-world.com/assets/fonts/Inter-Regular.woff2) format("woff2");
font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
font-family: "Inter";
src: url(https://restaurante-el-trabuquete.menu-world.com/assets/fonts/Inter-Medium.woff2) format("woff2");
font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
font-family: "Inter";
src: url(https://restaurante-el-trabuquete.menu-world.com/assets/fonts/Inter-SemiBold.woff2) format("woff2");
font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
font-family: "Inter";
src: url(https://restaurante-el-trabuquete.menu-world.com/assets/fonts/Inter-Bold.woff2) format("woff2");
font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
font-family: "Inter";
src: url(https://restaurante-el-trabuquete.menu-world.com/assets/fonts/Inter-ExtraBold.woff2) format("woff2");
font-weight: 800; font-style: normal; font-display: swap;
}

/* Header: siempre sólido */
.header-transparent .navbar-fixed-top,
.header-transparent .navbar-fixed-top.affix-top,
.header-transparent .navbar-fixed-top.affix {
background-color: #fff !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

/* Carrusel de portada */
.slider {
padding-top: 120px;
position: relative;
width: 100%;
height: 700px;
overflow: hidden;
background: #1a1a1a;
}

.slider .slide-frame {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0;
transform: translateX(100%);
transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
            opacity   0.7s cubic-bezier(0.4, 0, 0.2, 1);

}

.slider .slide-frame.no-anim { transition: none !important; }

.slider .slide-frame.is-active {
opacity: 1;
transform: translateX(0);

}

.slider .slide-nav {
position: absolute;
bottom: 18px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 8px;
}

.slider .slide-nav button {
width: 10px;
height: 10px;
border-radius: 50%;
border: none;
padding: 0;
background: rgba(255, 255, 255, 0.45);
cursor: pointer;
}

.slider .slide-nav button.is-active { background: #fff; }

@media (max-width: 700px) {
  .slider {
    padding-top: 140px;
  }
  .main {
    padding-top: 18px;
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Horario */
#horario .tab-content-home {
display: flex;
justify-content: center;
padding-bottom: 60px;
margin: 10%;
}

#horario .sched-wrap {
width: min(100%, 560px);
background: #fff;
border: 1px solid rgba(137, 52, 54, 0.18);
border-radius: 14px;
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
padding: 0.4rem 0;
}

#horario .sched-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.95rem 1.2rem;
border-bottom: 1px dashed rgba(137, 52, 54, 0.18);
}

#horario .sched-row:last-child { border-bottom: none; }

#horario .sched-label { color: #893436; font-weight: 700; letter-spacing: 0.01em; }

#horario .sched-hours { color: #2f2f2f; font-weight: 600; }

@media (max-width: 520px) {
#horario .sched-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3rem;
}
}

.heading--subtitle {
text-align: center;
margin-bottom: 50px;
font-size: 3rem;
font-weight: 600;
color: #b48112;
}

.header {
background-color: #893436;
z-index: 4;
height: 120px;
position: fixed;
top: 0;
width: 100%;
}
.header ul {
position: absolute;
right: 20%;
top: calc(50% - 0.625rem);
display: flex;
flex-direction: row;
gap: 2rem;
padding: 0;
margin: 0;
justify-content: flex-end;
}
.header li {
list-style: none;
font-size: 1.25rem;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.menu-item:hover::after{
transform: scaleX(1);
}
.menu-item::after{
content: "";
position: absolute;/*permite posicionar los elementos de forma absoluta al elemento padre*/
right: 10%;
bottom: -10%;
width: 80%;
height: 2px; /*altura del borde*/
background: #fff; /*color del borde*/
transform: scaleX(0);/*tamaño del borde*/
transform-origin: center;/*origen del borde*/
transition: transform 0.3s ease;
}
.header a{
text-decoration: none;
color: #FFF;
position: relative;
}

.header .logo{
position: absolute;
left: 20%;
top: calc(50% - 1.25rem);
font-size: 2.5rem;
}

.titulo{
text-align: center;
z-index: 1;
position: relative;
font-size: 5rem;
color: #fff;
text-shadow: 4px 4px 12px #000, 0 0 6px #000000;
}
.ver-menu{
background-color: #e2ae4e;
font-size: 1rem;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
width: auto;
padding: 20px 60px;
color: #FFF;
text-decoration: none;
font-weight: bold;
text-shadow: none;
transition: all 0.3s ease;
}
.ver-menu:hover{
background-color: #aa843c;
}
.acercade{
  padding: 0 24px 60px;
  text-align: center;
  font-size: 1.2rem;
}

@media (max-width: 640px) {
  .acercade {
    font-size: 0.95rem;
    padding: 0 18px 40px;
    text-align: justify;
  }
}
html, body {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

footer{
  background-color: #893436;
  margin: 0;
  width: 100%;
  height: auto;
  flex-shrink: 0;
  color: #d6d6d6;
  padding: 28px 20%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  box-sizing: border-box;
}
footer a{
  color: #aa843c;
  text-decoration: none;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ;
  font-weight: bold;
}
footer h3{
  color: #ffffff;
  font-size: 1.4rem;
}
.direccion{
  text-align: center;
  max-width: 320px;
}
.reserva{
  text-align: center;
  max-width: 320px;
}

@media (max-width: 700px) {
  footer {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 24px 20px;
  }
  .direccion,
  .reserva {
    max-width: 100%;
  }
}




