/* Cañas y Tapas — barra de navegación inferior en móvil, formato "app"
   (como Las Tapas de Juan, otro proyecto de La Cabina): en vez del típico
   menú hamburguesa, 5 accesos fijos abajo con "Reservar" como botón
   central elevado, y "Más" que abre una bandeja inferior con accesos
   rápidos. Solo se ve en teléfono (≤767px); de 768 a 1199px se mantiene
   la cabecera con el menú hamburguesa de siempre (offcanvas lateral),
   que en esos anchos todavía tiene sitio de sobra para funcionar bien. */

@media (max-width: 767px) {

  /* en el móvil estrecho la cabecera se queda solo con el escudo: el
     botón "RESERVAR" y la hamburguesa los sustituye la barra inferior.
     Necesita !important porque Bootstrap pone !important en su propio
     .d-flex, que es la clase que trae este bloque. */
  #header-sticky .tp-header-9-right {
    display: none !important;
  }

  /* hueco al final del contenido para que la barra fija no tape el pie */
  #smooth-content {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
}

.cyt-tabbar {
  display: none;
}

@media (max-width: 767px) {
  .cyt-tabbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    align-items: flex-start;
    justify-content: space-between;
    height: 64px;
    padding: 0 6px;
    padding-bottom: env(safe-area-inset-bottom);
    background: #171310;
    border-top: 1px solid rgba(200, 155, 30, 0.22);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
  }
}

.cyt-tabbar-item {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding-top: 9px;
  background: none;
  border: 0;
  color: rgba(255, 255, 230, 0.55);
  text-decoration: none;
  font-family: var(--tp-ff-body);
}

.cyt-tabbar-item:hover,
.cyt-tabbar-item:focus-visible {
  color: var(--tp-common-cream-3);
}

.cyt-tabbar-item[aria-current="page"] {
  color: var(--tp-common-yellow-green);
}

.cyt-tabbar-icon {
  display: flex;
  width: 22px;
  height: 22px;
}

.cyt-tabbar-icon svg {
  width: 100%;
  height: 100%;
}

.cyt-tabbar-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.cyt-tabbar-item--cta {
  padding-top: 0;
}

.cyt-tabbar-fab {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tp-common-yellow-green);
  color: #171310;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4), 0 0 0 6px #171310;
}

.cyt-tabbar-fab svg {
  width: 24px;
  height: 24px;
}

.cyt-tabbar-item--cta .cyt-tabbar-label {
  margin-top: 33px;
  color: var(--tp-common-yellow-green);
}

/* bandeja inferior "Más" */

.cyt-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(10, 8, 6, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.cyt-sheet-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cyt-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1060;
  max-height: 86vh;
  overflow-y: auto;
  background: #1c1712;
  border-top: 1px solid rgba(200, 155, 30, 0.25);
  border-radius: 24px 24px 0 0;
  padding: 14px 24px calc(28px + env(safe-area-inset-bottom));
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.45);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cyt-sheet.is-open {
  transform: translateY(0);
}

.cyt-sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 230, 0.25);
  margin: 0 auto 14px;
}

.cyt-sheet-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 230, 0.08);
  border: 0;
  color: var(--tp-common-cream-3);
}

.cyt-sheet-close svg {
  width: 14px;
  height: 14px;
}

.cyt-sheet-brand {
  text-align: center;
  padding: 6px 0 20px;
}

.cyt-sheet-crest {
  width: 52px;
  height: auto;
  margin: 0 auto 10px;
  display: block;
}

.cyt-sheet-title {
  font-family: var(--tp-ff-besley);
  font-size: 20px;
  color: var(--tp-common-cream-3);
  margin: 0;
}

.cyt-sheet-sub {
  font-size: 12px;
  color: rgba(255, 255, 230, 0.5);
  margin: 4px 0 0;
}

.cyt-sheet-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.cyt-sheet-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px;
  border-radius: 16px;
  background: rgba(255, 255, 230, 0.05);
  border: 1px solid rgba(255, 255, 230, 0.1);
  color: var(--tp-common-cream-3);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.cyt-sheet-action-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 155, 30, 0.14);
  color: var(--tp-common-yellow-green);
}

.cyt-sheet-action-icon svg {
  width: 17px;
  height: 17px;
}

.cyt-sheet-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--tp-common-yellow-green);
  border-radius: 16px;
  padding: 14px 16px;
  text-decoration: none;
  margin-bottom: 22px;
}

.cyt-sheet-cta-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(23, 19, 16, 0.65);
}

.cyt-sheet-cta-title {
  display: block;
  font-family: var(--tp-ff-besley);
  font-size: 17px;
  font-weight: 600;
  color: #171310;
  margin-top: 2px;
}

.cyt-sheet-cta-arrow {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #171310;
  color: var(--tp-common-yellow-green);
}

.cyt-sheet-cta-arrow svg {
  width: 16px;
  height: 16px;
}

.cyt-sheet-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 230, 0.45);
  margin: 0 0 12px;
}

.cyt-sheet-explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.cyt-sheet-explore-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 230, 0.75);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.cyt-sheet-explore-item .cyt-sheet-action-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 230, 0.06);
  color: var(--tp-common-cream-3);
}

.cyt-sheet-info {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 230, 0.1);
}

.cyt-sheet-info a {
  font-size: 12px;
  color: rgba(255, 255, 230, 0.6);
  text-decoration: none;
}

.cyt-sheet-info a:hover {
  color: var(--tp-common-yellow-green);
}

@media (min-width: 768px) {
  .cyt-sheet-overlay,
  .cyt-sheet {
    display: none;
  }
}
