/* Ticografías Design System · mejoras progresivas v1.1.36 */
:root {
  --tcr-surface: #fffdf8;
  --tcr-surface-soft: #f4efe5;
  --tcr-text: var(--navy-deep, #193536);
  --tcr-text-soft: var(--ink-soft, #5f6d6d);
  --tcr-line: var(--line, #d8d7cf);
  --tcr-positive: var(--emerald-dark, #167653);
  --tcr-negative: #a34b42;
  --tcr-focus: #15795a;
  --tcr-shadow-dialog: 0 24px 80px rgba(11, 34, 35, 0.34);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--tcr-focus);
  outline: 3px solid color-mix(in srgb, var(--tcr-focus) 65%, white);
  outline-offset: 3px;
}

.tcr-opening-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid currentColor;
  border-radius: 999px;
  display: inline-flex;
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  padding: 6px 8px;
  white-space: nowrap;
}

.tcr-opening-pill.is-open,
.tcr-opening-status.is-open,
.tcr-schedule-summary.is-open {
  color: var(--tcr-positive);
}

.tcr-opening-pill.is-closed,
.tcr-opening-status.is-closed,
.tcr-schedule-summary.is-closed {
  color: var(--tcr-negative);
}

.tcr-opening-status {
  align-items: baseline;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 7px;
}

.tcr-opening-status strong {
  font-size: 12px;
}

.tcr-opening-status small {
  color: var(--tcr-text-soft);
  font-size: 11px;
}

.profile-gallery.is-single {
  display: block;
}

.profile-gallery.is-single .profile-gallery-main {
  height: 100%;
}

.profile-gallery-main {
  position: relative;
}

.tcr-gallery-main-button {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  height: 100%;
  padding: 0;
  width: 100%;
}

.tcr-gallery-count {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--tcr-text);
  bottom: 15px;
  color: var(--tcr-text);
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  padding: 8px 11px;
  position: absolute;
  right: 15px;
  z-index: 2;
}

.profile-gallery-side.items-1 button {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}

.profile-gallery-side.items-2 button {
  grid-column: 1 / -1;
}

.profile-gallery-side.items-3 button:first-child {
  grid-column: 1 / -1;
}

.tcr-gallery-dialog {
  background: #0d1819;
  border: 0;
  color: #fff;
  height: min(88vh, 860px);
  margin: auto;
  max-height: none;
  max-width: min(94vw, 1180px);
  padding: 0;
  width: min(94vw, 1180px);
}

.tcr-gallery-dialog[open] {
  box-shadow: var(--tcr-shadow-dialog);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.tcr-gallery-dialog::backdrop {
  background: rgba(4, 15, 16, 0.84);
  backdrop-filter: blur(4px);
}

.tcr-gallery-dialog-toolbar {
  align-items: center;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  padding: 10px 12px 8px 18px;
}

.tcr-gallery-dialog-toolbar button,
.tcr-gallery-dialog-stage > button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  cursor: pointer;
}

.tcr-gallery-dialog-toolbar button {
  font-size: 25px;
  height: 42px;
  line-height: 1;
  width: 42px;
}

.tcr-gallery-dialog-stage {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  min-height: 0;
  padding: 0 14px 18px;
}

.tcr-gallery-dialog-stage > button {
  border-radius: 50%;
  font-size: 32px;
  height: 48px;
  width: 48px;
}

.tcr-gallery-dialog-stage > button:disabled {
  opacity: 0.25;
}

.tcr-gallery-dialog figure {
  display: grid;
  height: 100%;
  margin: 0;
  min-height: 0;
  place-items: center;
}

.tcr-gallery-dialog figure img {
  max-height: calc(88vh - 100px);
  max-width: 100%;
  object-fit: contain;
}

.tcr-gallery-dialog figcaption {
  align-self: end;
  background: rgba(8, 22, 23, 0.76);
  bottom: 18px;
  font-size: 12px;
  left: 76px;
  max-width: calc(100% - 152px);
  padding: 8px 11px;
  position: absolute;
}

.tcr-schedule-summary {
  align-items: center;
  background: var(--tcr-surface-soft);
  border-left: 3px solid currentColor;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 6px 12px;
  margin: 0 0 12px;
  padding: 10px 12px;
}

.tcr-schedule-summary span {
  color: var(--tcr-text-soft);
}

.schedule-list .is-today {
  background: #eef8f3;
  background: color-mix(in srgb, var(--emerald, #36c48d) 10%, white);
  border-left: 3px solid var(--emerald, #36c48d);
  padding-left: 10px;
}

.tcr-review-summary {
  align-items: center;
  background: var(--tcr-surface-soft);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(110px, 0.42fr) minmax(190px, 1fr);
  margin-bottom: 18px;
  padding: 18px;
}

.tcr-review-score {
  display: grid;
  gap: 3px;
  text-align: center;
}

.tcr-review-score strong {
  color: var(--tcr-text);
  font-size: 38px;
  line-height: 1;
}

.tcr-review-score span {
  color: #d49b00;
  letter-spacing: 2px;
}

.tcr-review-score small,
.tcr-review-distribution small {
  color: var(--tcr-text-soft);
  font-size: 10px;
}

.tcr-review-distribution {
  display: grid;
  gap: 6px;
}

.tcr-review-distribution > div {
  align-items: center;
  display: grid;
  font-size: 10px;
  gap: 8px;
  grid-template-columns: 28px minmax(0, 1fr) 18px;
}

.tcr-review-track {
  background: #dddcd4;
  display: block;
  height: 7px;
  overflow: hidden;
}

.tcr-review-track > span {
  background: #d49b00;
  display: block;
  height: 100%;
}

.tcr-profile-freshness {
  align-items: flex-start;
  border-bottom: 1px solid var(--tcr-line);
  color: var(--tcr-positive);
  display: grid;
  gap: 9px;
  grid-template-columns: 18px minmax(0, 1fr);
  margin: 0 4px;
  padding: 16px 0;
}

.tcr-profile-freshness p {
  color: var(--tcr-text-soft);
  font-size: 11px;
  line-height: 1.5;
  margin: 0;
}

.tcr-profile-freshness strong {
  color: var(--tcr-text);
  display: block;
  font-size: 12px;
}

.tcr-mobile-contact {
  display: none;
}

.tcr-page-breadcrumbs {
  margin-bottom: 18px;
}

@media (max-width: 720px) {
  .business-profile-page.has-mobile-contact {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .profile-gallery.is-single,
  .profile-gallery.is-single .profile-gallery-main {
    height: 310px;
  }

  .tcr-gallery-count {
    bottom: 11px;
    right: 11px;
  }

  .tcr-gallery-dialog {
    height: 100dvh;
    max-width: none;
    width: 100vw;
  }

  .tcr-gallery-dialog-stage {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    padding: 0 7px 14px;
  }

  .tcr-gallery-dialog-stage > button {
    font-size: 27px;
    height: 38px;
    width: 38px;
  }

  .tcr-gallery-dialog figure img {
    max-height: calc(100dvh - 90px);
  }

  .tcr-review-summary {
    gap: 14px;
    grid-template-columns: 90px minmax(0, 1fr);
    padding: 14px 12px;
  }

  .tcr-review-score strong {
    font-size: 32px;
  }

  .tcr-mobile-contact {
    align-items: stretch;
    background: rgba(255, 253, 248, 0.98);
    border-top: 1px solid var(--tcr-line);
    bottom: 0;
    box-shadow: 0 -10px 28px rgba(22, 49, 50, 0.13);
    display: flex;
    gap: 7px;
    left: 0;
    overflow-x: auto;
    padding: 9px max(10px, env(safe-area-inset-left)) calc(9px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right));
    position: fixed;
    right: 0;
    z-index: 80;
  }

  .tcr-mobile-contact a {
    align-items: center;
    border: 1px solid var(--tcr-text);
    color: var(--tcr-text);
    display: inline-flex;
    flex: 1 0 auto;
    font-size: 11px;
    font-weight: 850;
    justify-content: center;
    min-height: 44px;
    min-width: 86px;
    padding: 7px 12px;
    text-decoration: none;
  }

  .tcr-mobile-contact a.is-primary {
    background: var(--tcr-text);
    color: #fff;
  }
}

@media (max-width: 460px) {
  .profile-gallery.is-single,
  .profile-gallery.is-single .profile-gallery-main {
    height: 250px;
  }

  .tcr-review-summary {
    grid-template-columns: 1fr;
  }

  .tcr-review-score {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tcr-gallery-main-button img,
  .tcr-review-track > span {
    transition: none !important;
  }
}
