/* Terraza el vivero · lo que agrega TAP_TAP a su página original.
   1. Secciones nuevas de la página de inicio (promociones, paquetes, galería, visítanos), con los tokens
      de terraza.css.
   2. Páginas internas de TAP_TAP (galería, álbum, contacto, reservación) con sus colores y letras. */

/* --- 1. Secciones nuevas ------------------------------------------------------------------------- */

.t-preview {
  position: relative;
  z-index: 50;
  padding: 10px var(--margen, 20px);
  background: var(--azul, #253779);
  color: #fff;
  font: 500 0.9rem/1.4 var(--sans, sans-serif);
  text-align: center;
}

.t-preview a {
  color: #fff;
}

.t-section {
  position: relative;
  z-index: 2;
  margin-top: 44px;
}

.t-section__title {
  color: var(--azul);
  font: 400 clamp(1.9rem, 8.4vw, 2.3rem) / 1.1 var(--serif);
  text-align: center;
}

.t-section__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  margin: 10px auto 0;
  border-radius: 1px;
  background: var(--verde-hondo);
}

.t-muted {
  color: var(--gris);
  font-size: 0.95rem;
  line-height: 1.4;
}

.t-promos,
.t-albums,
.t-menu__items {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.t-promo {
  overflow: hidden;
  border: 1px solid var(--borde);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 0 rgb(37 55 121 / 0.04), 0 12px 26px -20px rgb(37 55 121 / 0.45);
}

.t-promo--featured {
  border-color: rgb(10 119 52 / 0.32);
  background: linear-gradient(180deg, #ffffff 0%, #f1f8f1 100%);
}

.t-promo__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.t-promo__body {
  display: grid;
  gap: 6px;
  padding: 16px 18px 18px;
}

.t-promo__kind {
  color: var(--verde-hondo);
  font: 500 0.72rem/1.4 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.t-promo__title,
.t-menu__name,
.t-album__title {
  margin: 0;
  color: var(--azul);
  font: 400 1.32rem/1.15 var(--serif);
}

.t-menu + .t-menu {
  margin-top: 18px;
}

.t-menu__category {
  margin: 22px 0 0;
  color: var(--verde-hondo);
  font: 500 0.78rem/1.4 var(--sans);
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
}

.t-menu__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: baseline;
  padding: 14px 18px;
  border: 1px solid var(--borde);
  border-radius: 18px;
  background: #fff;
}

.t-menu__text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.t-menu__price {
  color: var(--verde-hondo);
  font-weight: 500;
  white-space: nowrap;
}

.t-albums {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.t-album a {
  display: grid;
  gap: 6px;
  text-align: center;
  color: inherit;
  text-decoration: none;
}

.t-album img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  object-fit: cover;
}

.t-address {
  margin-top: 18px;
  text-align: center;
}

.t-hours {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
}

.t-hours th,
.t-hours td {
  padding: 8px 4px;
  border-bottom: 1px solid var(--borde);
  font-weight: 400;
  text-align: left;
}

.t-hours td {
  text-align: right;
}

.t-hours .is-today {
  color: var(--azul);
  font-weight: 600;
}

.t-section > .t-muted {
  margin-top: 10px;
  text-align: center;
}

.t-credit a {
  color: #fff;
}

/* --- 2. Páginas internas de TAP_TAP (galería, álbum, contacto, reservación) ---------------------- */

@font-face {
  font-family: 'DM Serif Display';
  src: url("../fonts/dm-serif-display.b856e8dbb87b.woff2") format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url("../fonts/jost.44aaef68611d.woff2") format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

.bsite.design--terraza-el-vivero {
  --biz-accent: #0a7734;
  --biz-accent-soft: #e6f2e8;
  --biz-ink: #3c4257;
  --biz-muted: #5d6375;
  --biz-line: #e6e2d8;
  --biz-bg: #f8f6f0;
  --font-sans: 'Jost', 'Avenir Next', 'Segoe UI', sans-serif;
  font-family: var(--font-sans);
}

.bsite.design--terraza-el-vivero :is(h1, h2, h3, .bsite-page-title, .bsite-section__title) {
  color: #253779;
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

.bsite.design--terraza-el-vivero :is(button, input, select, textarea, .bsite-button) {
  font-family: var(--font-sans);
}
