.travel-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 1055;
  display: none;
}

.travel-guide-modal.show {
  display: block;
}

.travel-guide-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.travel-guide-sheet {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100% - 24px));
  max-height: min(84vh, 720px);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
  .travel-guide-sheet {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    width: 100%;
    max-height: 88vh;
    border-radius: 18px 18px 0 0;
  }
}

.travel-guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.travel-guide-title {
  font-weight: 700;
  font-size: 16px;
}

.travel-guide-close {
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  padding: 2px 6px;
  cursor: pointer;
}

.travel-guide-body {
  padding: 16px;
  overflow: auto;
  max-height: calc(88vh - 120px);
}

.travel-guide-footer {
  padding: 12px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.travel-guide-btn {
  border: 0;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
}

.travel-guide-loading,
.travel-guide-error,
.travel-guide-muted {
  padding: 10px 0;
  opacity: 0.85;
}

.travel-guide-section {
  padding: 12px 0;
}

.travel-guide-section + .travel-guide-section {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.travel-guide-section-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.travel-guide-kv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

@media (max-width: 576px) {
  .travel-guide-kv {
    grid-template-columns: 1fr;
  }
}

.travel-guide-kv > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
}

.travel-guide-kv span {
  opacity: 0.75;
}

.travel-guide-weather-city {
  font-weight: 600;
  margin-bottom: 8px;
}

/* 15 days grid: 3 per row on mobile */
.travel-guide-weather-grid15 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

@media (min-width: 576px) {
  .travel-guide-weather-grid15 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .travel-guide-weather-grid15 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.travel-guide-weather-day {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 10px;
  background: #fff;
}

.travel-guide-weather-date {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 6px;
}

.travel-guide-weather-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  margin-bottom: 6px;
  color: #3b3b3b;
}

.tg-ico {
  display: inline-flex;
  line-height: 0;
}

.travel-guide-weather-temps {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.travel-guide-weather-temps .max {
  font-weight: 700;
}

.travel-guide-weather-temps .min {
  opacity: 0.8;
}

.travel-guide-tips {
  margin: 0;
  padding-left: 18px;
}

.travel-guide-tip-text {
  opacity: 0.85;
  margin-top: 4px;
}

/* lock scroll when modal open */
body.scroll-hide {
  overflow: hidden !important;
}

/* Weather cards: colored background by condition */
.travel-guide-weather-day{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* Make text readable on colored backgrounds */
.travel-guide-weather-day .travel-guide-weather-date{
  opacity: .9;
}

.travel-guide-weather-day .travel-guide-weather-ico{
  color: rgba(0,0,0,.72);
}

.travel-guide-weather-day .travel-guide-weather-temps .max{
  color: rgba(0,0,0,.85);
}

.travel-guide-weather-day .travel-guide-weather-temps .min{
  color: rgba(0,0,0,.65);
}

/* Subtle shine layer */
.travel-guide-weather-day::before{
  content:"";
  position:absolute;
  inset:-30%;
  background: radial-gradient(circle at 20% 10%, rgba(255,255,255,.55), rgba(255,255,255,0) 55%);
  pointer-events:none;
}

/* SUN */
.travel-guide-weather-day.wx-sun{
  background: linear-gradient(135deg, rgba(255,214,102,.55), rgba(255,245,204,.85));
  box-shadow: 0 10px 24px rgba(255, 193, 7, 0.12);
}

/* CLOUD */
.travel-guide-weather-day.wx-cloud{
  background: linear-gradient(135deg, rgba(210,223,240,.55), rgba(246,249,255,.9));
  box-shadow: 0 10px 24px rgba(120, 140, 180, 0.10);
}

/* FOG */
.travel-guide-weather-day.wx-fog{
  background: linear-gradient(135deg, rgba(210,210,210,.55), rgba(245,245,245,.9));
  box-shadow: 0 10px 24px rgba(120, 120, 120, 0.10);
}

/* RAIN */
.travel-guide-weather-day.wx-rain{
  background: linear-gradient(135deg, rgba(166, 210, 255, .55), rgba(235, 245, 255, .92));
  box-shadow: 0 10px 24px rgba(30, 136, 229, 0.10);
}

/* SNOW */
.travel-guide-weather-day.wx-snow{
  background: linear-gradient(135deg, rgba(220, 240, 255, .60), rgba(255, 255, 255, .95));
  box-shadow: 0 10px 24px rgba(100, 180, 255, 0.10);
}

/* THUNDER */
.travel-guide-weather-day.wx-thunder{
  background: linear-gradient(135deg, rgba(210, 190, 255, .55), rgba(245, 240, 255, .92));
  box-shadow: 0 10px 24px rgba(124, 77, 255, 0.12);
}