/* ─── Listing Grid ─────────────────────────────────── */
.jg-offers-grid {
  display: grid;
  gap: 22px;
  padding: 10px 0;
}
.jg-cols-4 { grid-template-columns: repeat(4, 1fr); }
.jg-cols-3 { grid-template-columns: repeat(3, 1fr); }
.jg-cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1200px) { .jg-cols-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .jg-cols-4, .jg-cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .jg-cols-4, .jg-cols-3, .jg-cols-2 { grid-template-columns: 1fr; } }

/* Card */
.jg-offer-card {
  background: #fff;
  border-radius: var(--jg-radius);
  box-shadow: 0 2px 16px rgba(0,0,0,.09);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.jg-offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,.16);
}
/* Invisible full-card link */
.jg-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Image */
.jg-offer-image-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: #e0e8ef;
  flex-shrink: 0;
}
.jg-offer-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
/* no zoom on hover */
.jg-offer-no-image {
  background: linear-gradient(135deg, var(--jg-primary), var(--jg-light-blue));
  width: 100%; height: 100%;
}

/* Left badge (ПРОМОЦИЯ) */
.jg-card-badge-left {
  position: absolute;
  top: 14px;
  left: -30px;
  background: var(--jg-accent);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 38px;
  transform: rotate(-45deg);
  transform-origin: center;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.jg-badge-limited { background: #e07b00; }

/* Right price badge */
.jg-card-price-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: 9px;
  padding: 7px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 2;
  line-height: 1.3;
}
.jg-cpb-label {
  font-size: 8.5px;
  opacity: .75;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.jg-cpb-eur {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
.jg-cpb-bgn {
  font-size: 12px;
  opacity: .85;
}

/* Card body */
.jg-offer-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

/* Title */
.jg-offer-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}
.jg-offer-title a {
  color: #111;
  text-decoration: none;
  position: relative;
  z-index: 2;
}
.jg-offer-title a:hover { color: var(--jg-primary); }

/* Price row under title */
.jg-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}
.jg-card-price-main {
  font-size: 14px;
  font-weight: 700;
  color: var(--jg-primary);
}
.jg-card-price-orig {
  font-size: 11px;
  color: #999;
  text-decoration: line-through;
}

/* Info rows */
.jg-card-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #444;
}
.jg-card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.jg-card-row-inline {
  font-size: 12.5px;
  color: #444;
}
.jg-card-icon {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px;
  min-height: 15px;
  max-width: 15px;
  max-height: 15px;
  flex-shrink: 0;
  color: var(--jg-primary);
  opacity: .8;
  display: inline-block;
}
.jg-card-icon-img {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px;
  max-width: 15px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  opacity: .75;
}
/* Image link fills the image wrap */
.jg-card-img-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 0;
}
.jg-card-img-link img,
.jg-card-img-link .jg-offer-thumb,
.jg-card-img-link .jg-offer-no-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jg-spots-none {
  color: #c0392b;
  font-weight: 600;
}

/* Date chips */
.jg-offer-dates-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}
.jg-date-chip {
  background: #eaf1f8;
  color: var(--jg-primary);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: .2px;
}
.jg-date-more {
  background: #ddd;
  color: #666;
}

/* Journey Group Public CSS */
:root {
  --jg-primary: #333;
  --jg-accent: #e63946;
  --jg-light-blue: #555;
  --jg-bg: #f8f9fa;
  --jg-card-shadow: 0 4px 20px rgba(0,0,0,.10);
  --jg-radius: 12px;
  --jg-font: 'Montserrat', sans-serif;
  --jg-eur: #333;
  --jg-bgn: #444;
}

/* ─── Search Form ──────────────────────────────────── */
.jg-search-form {
    background: #f6f6f6;
    border-radius: 50px;
    box-shadow: var(--jg-card-shadow);
    padding: 8px 12px;
}
.jg-search-fields {
    display: flex;
    align-items: center;
    gap: 0;
}
.jg-search-field {
    display: flex !important;
    align-items: center !important;
    flex: 1;
    padding: 8px 14px;
    border-right: 1px solid #eee;
    min-width: 0;
    gap: 10px;
}
.jg-search-field:last-child { border-right: none; }
.jg-search-icon { font-size: 16px; flex-shrink: 0; color: #888; }
.jg-search-submit { padding: 4px 8px 4px 14px; flex-shrink: 0; }
.jg-search-input, .jg-search-select {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 14px;
    width: 100%;
    color: #333;
    font-family: var(--jg-font);
    padding: 4px 0 !important;
    box-shadow: none !important;
    -webkit-appearance: none;
}
.jg-btn-search {
    background: #000;
    border: none !important;
    color: #fff;
    border-radius: 50px;
    font-family: "Oswald", sans-serif;
    padding: 11px 24px;
    font-size: .95rem;
    cursor: pointer;
    letter-spacing: .5px;
    transition: background .2s;
    white-space: nowrap;
    display: block;
    width: 100%;
    text-align: center;
}
.jg-btn-search:hover { background: #222; }

/* Mobile search */
@media (max-width: 700px) {
    .jg-search-form {
        border-radius: 16px;
        padding: 6px 8px;
    }
    .jg-search-fields {
        flex-direction: column !important;
        gap: 0;
    }
    .jg-search-field {
        border-right: none !important;
        border-bottom: 1px solid #f0f0f0 !important;
        padding: 10px 12px !important;
        width: 100%;
    }
    .jg-search-field:last-child {
        border-bottom: none !important;
    }
    .jg-search-submit {
        padding: 10px 12px !important;
        width: 100%;
    }
    .jg-btn-search {
        width: 100% !important;
        border-radius: 10px !important;
        padding: 13px 20px !important;
    }
    .jg-search-icon-img {
        width: 20px !important;
        height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
    }
}

/* ─── Dates Dropdown ────────────────────────────────── */
.jg-dates-dropdown-wrap { margin: 20px 0; }
.jg-date-select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #ddd;
  border-radius: var(--jg-radius);
  font-size: 14px;
  font-family: var(--jg-font);
  background: #fff;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.jg-room-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.jg-room-btn {
  background: var(--jg-primary);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.jg-room-btn:hover { background: var(--jg-light-blue); transform: scale(1.02); }

/* ─── Booking Form ─────────────────────────────────── */
.jg-booking-wrap {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  font-family: var(--jg-font);
  box-sizing: border-box;
}
.jg-booking-wrap *,
.jg-booking-wrap *::before,
.jg-booking-wrap *::after { box-sizing: border-box; }
.jg-booking-step { animation: jgFadeIn .3s ease; }
@keyframes jgFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.jg-booking-step-title {
  font-size: 18px;
  color: var(--jg-primary);
  border-bottom: 2px solid var(--jg-primary);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.jg-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
@media (max-width: 600px) { .jg-form-grid { grid-template-columns: 1fr; } }

.jg-form-group { display: flex; flex-direction: column; gap: 5px; }
.jg-form-group label { font-size: 13px; font-weight: 600; color: #444; }
.jg-form-input, .jg-form-select {
  padding: 10px 14px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--jg-font);
  transition: border-color .2s;
  width: 100%;
  box-sizing: border-box;
}
.jg-form-input:focus, .jg-form-select:focus { border-color: var(--jg-primary); outline: none; }

/* Room choices */
.jg-room-choices { display: flex; flex-direction: column; gap: 10px; }
.jg-room-choice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border: 2px solid #ddd;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
}
.jg-room-choice:hover, .jg-room-choice.selected {
  border-color: var(--jg-primary);
  background: #eaf2ff;
}
.jg-room-choice-label { font-weight: 600; }
.jg-room-choice-price { color: var(--jg-primary); font-weight: 700; }

/* Services */
.jg-services-list { display: flex; flex-direction: column; gap: 8px; }
.jg-service-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
}
.jg-service-checkbox:hover { background: #f5f8ff; }

/* Price summary */
.jg-price-summary {
  background: linear-gradient(135deg, var(--jg-primary), var(--jg-light-blue));
  color: white;
  padding: 16px 20px;
  border-radius: var(--jg-radius);
  margin: 20px 0;
}
.jg-price-summary-inner { display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.jg-total-display { font-size: 20px; font-weight: 700; }

/* Buttons */
.jg-btn-next, .jg-btn-pay {
  background: var(--jg-primary);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s;
  letter-spacing: .5px;
  margin-top: 20px;
}
.jg-btn-next:hover, .jg-btn-pay:hover { background: var(--jg-light-blue); transform: scale(1.02); }
.jg-btn-back {
  background: transparent;
  color: #555;
  border: 2px solid #ddd;
  border-radius: 30px;
  padding: 12px 24px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 20px;
  margin-right: 10px;
}
.jg-btn-back:hover { border-color: var(--jg-primary); color: var(--jg-primary); }

.jg-booking-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Stripe */
.jg-stripe-wrap { margin: 20px 0; }
.jg-card-element {
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 16px;
  background: #fff;
}
.jg-card-errors { color: #e74c3c; margin-top: 8px; font-size: 13px; }

/* Booking summary */
.jg-booking-summary {
  background: #f8f9fa;
  border-radius: var(--jg-radius);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #eee;
}
.jg-booking-summary table { width: 100%; }
.jg-booking-summary td { padding: 6px 10px; }
.jg-booking-summary td:first-child { color: #666; font-weight: 600; }
.jg-booking-summary .jg-summary-total td { font-size: 17px; font-weight: 700; color: var(--jg-primary); border-top: 2px solid var(--jg-primary); padding-top: 12px; }

/* Success state */
.jg-booking-success { text-align: center; padding: 40px 20px; }
.jg-success-icon { font-size: 60px; margin-bottom: 15px; }
.jg-booking-success h3 { font-size: 24px; color: #27ae60; margin-bottom: 10px; }

/* Checkbox label */
.jg-checkbox-label { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; cursor: pointer; }

/* Notice */
.jg-notice { background: #eaf4ff; border-left: 4px solid var(--jg-primary); padding: 12px 16px; border-radius: 4px; margin: 15px 0; }

/* Price display */
.jg-price { font-weight: 700; color: var(--jg-primary); }
.jg-transport, .jg-duration, .jg-destination { display: inline-flex; align-items: center; gap: 4px; }

/* No results */
.jg-no-results { text-align: center; padding: 40px; color: #888; }

/* Rooms list shortcode */
.jg-rooms-list { display: flex; flex-direction: column; gap: 8px; }
.jg-room-item { display: flex; justify-content: space-between; padding: 8px 12px; background: #f5f8ff; border-radius: 8px; }
.jg-room-label { font-weight: 600; }
.jg-room-price { color: var(--jg-primary); font-weight: 700; }
/* ── Global Typography ──────────────────────────────────────────────────── */
.jg-booking-wrap,
.jg-booking-wrap p,
.jg-booking-wrap label,
.jg-booking-wrap input,
.jg-booking-wrap select,
.jg-booking-wrap textarea,
.jg-booking-wrap span,
.jg-booking-wrap a {
    font-family: 'Montserrat', sans-serif;
}
.jg-step-title,
.jg-tourist-title,
.jg-booking-success h3,
.jg-summary-total span,
.jg-btn-next,
.jg-btn-pay,
.jg-btn-back {
    font-family: 'Oswald', sans-serif !important;
}

/* ── Booking Wrap ───────────────────────────────────────────────────────── */
.jg-booking-wrap {
    max-width: 820px;
    margin: 0 auto;
    color: #222;
}

/* ── Progress Bar ───────────────────────────────────────────────────────── */
.jg-progress {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 28px;
    padding: 0;
}
.jg-progress-step {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.jg-progress-step > span {
    font-size: 11px;
    font-weight: 600;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: .4px;
    font-family: 'Montserrat', sans-serif;
}
.jg-progress-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0f0f0;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 12px;
    font-weight: 700;
    transition: all .25s;
    flex-shrink: 0;
}
.jg-progress-step.active .jg-progress-dot {
    background: #000;
    border-color: #000;
    color: #fff;
}
.jg-progress-step.active > span { color: #000; font-weight: 700; }
.jg-progress-step.done .jg-progress-dot {
    background: #555;
    border-color: #555;
    color: #fff;
}
.jg-progress-step.done > span { color: #888; }
.jg-progress-line {
    flex: 1;
    height: 2px;
    background: #e0e0e0;
    margin: 0 8px;
    min-width: 12px;
}

/* ── Step animation ─────────────────────────────────────────────────────── */
.jg-booking-step {
    animation: jgFadeIn .2s ease forwards;
}
@keyframes jgFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

/* ── Step title ─────────────────────────────────────────────────────────── */
.jg-step-title {
    font-family: 'Oswald', sans-serif !important;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    background: #000;
    margin: 0 0 24px;
    padding: 14px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: .3px;
}
.jg-step-title i { opacity: .8; font-size: .95rem; }
.jg-step-desc {
    font-size: .87rem;
    color: #777;
    margin: -16px 0 16px;
    font-family: 'Montserrat', sans-serif;
}

/* Required */
.jg-req { color: #c00; font-size: .85em; }

/* ── Form layout ─────────────────────────────────────────────────────────── */
.jg-form-section { margin-bottom: 4px; }
.jg-form-group { display: flex; flex-direction: column; margin-bottom: 14px; }
.jg-form-grid { display: grid; gap: 14px; margin-bottom: 14px; }
.jg-grid-2 { grid-template-columns: repeat(2, 1fr); }
.jg-grid-3 { grid-template-columns: repeat(3, 1fr); }
.jg-grid-4 { grid-template-columns: repeat(4, 1fr); }

.jg-label {
    font-size: .8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── Inputs ──────────────────────────────────────────────────────────────── */
.jg-form-input,
.jg-form-select {
    border: 1.5px solid #ddd;
    border-radius: 6px;
    padding: 10px 13px;
    font-size: .92rem;
    font-family: 'Montserrat', sans-serif;
    color: #222;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}
.jg-form-input:focus,
.jg-form-select:focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0,0,0,.06);
    outline: none;
}
.jg-form-input.jg-input-error {
    border-color: #c00 !important;
    background: #fff9f9;
}
textarea.jg-form-input { resize: vertical; }

/* Input with icon */
.jg-input-icon-wrap {
    position: relative;
    display: block;
}
.jg-input-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: .82rem;
    pointer-events: none;
    z-index: 2;
    line-height: 1;
}
.jg-has-icon { padding-left: 36px !important; }

/* Select with icon */
.jg-select-wrap {
    position: relative;
    display: block;
}
.jg-select-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: .82rem;
    pointer-events: none;
    z-index: 2;
    line-height: 1;
}
.jg-select-wrap .jg-form-select { padding-left: 36px; }

/* Error messages */
.jg-field-error {
    font-size: .78rem;
    color: #c00;
    margin-top: 4px;
    font-family: 'Montserrat', sans-serif;
    display: none;
}

/* ── Counter ─────────────────────────────────────────────────────────────── */
.jg-counter-wrap { display: flex; align-items: center; gap: 10px; }
.jg-counter-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid #222;
    background: #fff; color: #222;
    font-size: .85rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s;
    flex-shrink: 0;
}
.jg-counter-btn:hover { background: #111; color: #fff; border-color: #111; }
.jg-counter-input {
    width: 70px; text-align: center;
    font-size: 1.1rem; font-weight: 700;
    border: 1.5px solid #ddd; border-radius: 6px;
    padding: 7px;
    font-family: 'Montserrat', sans-serif;
    color: #222;
}

/* ── Room choices ────────────────────────────────────────────────────────── */
.jg-room-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.jg-room-choice {
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 13px 16px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    display: flex; flex-direction: column; gap: 4px;
    min-width: 150px; flex: 1;
    background: #fff;
}
.jg-room-choice:hover { border-color: #888; }
.jg-room-choice.selected { border-color: #111; background: #f7f7f7; }
.jg-room-icon { color: #888; font-size: .85rem; margin-bottom: 2px; }
.jg-room-choice.selected .jg-room-icon { color: #111; }
.jg-room-choice-label { font-size: .9rem; font-weight: 600; color: #222; font-family: 'Oswald', sans-serif; }
.jg-room-choice-price { font-size: .82rem; color: #555; }
.jg-room-choice-price small { color: #999; font-size: .78rem; }

/* ── Price summary ───────────────────────────────────────────────────────── */
.jg-price-summary {
    background: #000;
    color: #fff;
    border-radius: 8px;
    padding: 13px 18px;
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
}
.jg-price-summary > i { opacity: .65; font-size: .9rem; }
.jg-price-summary > span { flex: 1; font-size: .88rem; opacity: .8; }
.jg-total-display { font-size: 1.05rem; font-weight: 700; }

/* ── Services ────────────────────────────────────────────────────────────── */
.jg-services-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.jg-service-checkbox {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 15px;
    border: 1.5px solid #eee; border-radius: 8px;
    cursor: pointer; transition: border-color .2s, background .2s;
    background: #fff;
}
.jg-service-checkbox:hover { border-color: #bbb; background: #fafafa; }
.jg-service-checkbox input[type="checkbox"] {
    width: 17px; height: 17px; accent-color: #111; flex-shrink: 0; cursor: pointer;
}
.jg-service-text { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.jg-service-name  { font-size: .9rem; color: #222; font-weight: 500; }
.jg-service-price { font-size: .82rem; color: #666; font-weight: 600; }

/* ── Tourist blocks ──────────────────────────────────────────────────────── */
.jg-tourist-block {
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 18px;
    background: #fafafa;
}
.jg-tourist-title {
    font-family: 'Oswald', sans-serif !important;
    font-size: .95rem; font-weight: 600; color: #222;
    margin: 0 0 14px;
    display: flex; align-items: center; gap: 8px;
}
.jg-copy-tourist {
    margin-left: auto;
    background: none; border: 1px solid #ccc; border-radius: 5px;
    padding: 4px 11px; font-size: .77rem; cursor: pointer; color: #555;
    font-family: 'Montserrat', sans-serif;
    transition: border-color .2s, color .2s;
}
.jg-copy-tourist:hover { border-color: #111; color: #111; }

/* ── Checkboxes ──────────────────────────────────────────────────────────── */
.jg-checkbox-label {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: .88rem; color: #444; cursor: pointer; line-height: 1.5;
    font-family: 'Montserrat', sans-serif;
}
.jg-checkbox-label input[type="checkbox"] { margin-top: 3px; accent-color: #111; flex-shrink: 0; }
.jg-checkbox-label a { color: #111; text-decoration: underline; }

/* ── Summary ─────────────────────────────────────────────────────────────── */
.jg-summary-card {
    border: 1.5px solid #e8e8e8; border-radius: 10px;
    overflow: hidden; margin-bottom: 20px;
}
.jg-summary-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 11px 16px; border-bottom: 1px solid #f0f0f0; font-size: .9rem;
    font-family: 'Montserrat', sans-serif;
}
.jg-summary-key { color: #666; display: flex; align-items: center; gap: 8px; }
.jg-summary-key i { color: #aaa; font-size: .82rem; }
.jg-summary-val  { font-weight: 600; color: #222; }
.jg-summary-total {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 16px; background: #000; color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem; letter-spacing: .3px;
}
.jg-summary-total span { display: flex; align-items: center; gap: 8px; opacity: .8; }
.jg-summary-total strong { font-size: 1.1rem; }

/* ── Stripe ──────────────────────────────────────────────────────────────── */
.jg-stripe-wrap {
    border: 1.5px solid #ddd; border-radius: 8px;
    padding: 16px; background: #fff; margin-bottom: 16px;
}
.jg-card-element { padding: 6px 0; }
.jg-card-errors  { color: #c00; font-size: .85rem; margin-top: 8px; font-family: 'Montserrat', sans-serif; }

/* ── Notice ──────────────────────────────────────────────────────────────── */
.jg-notice {
    background: #f5f5f5; border-left: 3px solid #111;
    border-radius: 0 8px 8px 0; padding: 13px 16px; margin-bottom: 16px;
    display: flex; align-items: flex-start; gap: 10px;
    font-size: .9rem; color: #444; font-family: 'Montserrat', sans-serif;
}
.jg-notice i { color: #555; margin-top: 2px; flex-shrink: 0; }
.jg-notice p { margin: 0; }

/* ── Buttons (black) ─────────────────────────────────────────────────────── */
.jg-btn-next, .jg-btn-pay, .jg-btn-back {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 26px; border-radius: 6px;
    font-family: 'Oswald', sans-serif !important;
    font-size: .95rem; font-weight: 500; letter-spacing: .5px;
    cursor: pointer; border: 2px solid transparent;
    transition: background .2s, color .2s, border-color .2s;
    text-transform: uppercase;
}
.jg-btn-next, .jg-btn-pay {
    background: #000; color: #fff; border-color: #000;
}
.jg-btn-next:hover, .jg-btn-pay:hover { background: #222; border-color: #222; }
.jg-btn-back {
    background: #fff; color: #555; border-color: #ddd;
}
.jg-btn-back:hover { border-color: #111; color: #111; }
.jg-btn-next:disabled, .jg-btn-pay:disabled {
    background: #888; border-color: #888; cursor: wait;
}

.jg-booking-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.jg-actions-right   { justify-content: flex-end; }

/* ── Success ─────────────────────────────────────────────────────────────── */
.jg-booking-success { text-align: center; padding: 52px 20px; }
.jg-success-icon    { font-size: 3.5rem; color: #111; margin-bottom: 16px; }
.jg-booking-success h3 {
    font-family: 'Oswald', sans-serif !important;
    font-size: 1.7rem; margin-bottom: 10px; color: #111;
}
.jg-booking-success p { color: #666; font-size: .95rem; font-family: 'Montserrat', sans-serif; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
    .jg-grid-4, .jg-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .jg-grid-2 { grid-template-columns: 1fr; }
    .jg-room-choices { flex-direction: column; }
    .jg-step-title { font-size: 1rem; padding: 12px 14px; }
    /* Progress bar - hide labels, shrink to fit */
    .jg-progress { gap: 0; overflow: hidden; }
    .jg-progress-step { flex-shrink: 1; min-width: 0; gap: 4px; }
    .jg-progress-step > span { display: none !important; }
    .jg-progress-dot { width: 24px; height: 24px; font-size: 11px; flex-shrink: 0; }
    .jg-progress-line { min-width: 8px; margin: 0 4px; }
}
@media (max-width: 420px) {
    .jg-grid-4 { grid-template-columns: 1fr; }
}

/* Progress dot numbers */
.jg-progress-dot {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
}
.jg-progress-step.done .jg-progress-dot::before {
    content: '✓';
    font-size: 13px;
    font-family: sans-serif;
    font-weight: 700;
}
.jg-progress-step.done .jg-progress-dot {
    font-size: 0;
}

/* ── Autocomplete ─────────────────────────────────────────────────────────── */
.jg-autocomplete-wrap {
    position: relative !important;
    flex: 1;
    min-width: 0;
}
.jg-autocomplete-wrap .jg-search-input {
    width: 100% !important;
}
.jg-autocomplete-list {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: -15px;
    right: -15px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 9999;
    overflow: hidden;
    max-height: 220px;
    overflow-y: auto;
}
.jg-autocomplete-item {
    padding: 10px 16px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    border-bottom: 1px solid #f5f5f5;
    transition: background .12s;
}
.jg-autocomplete-item:last-child { border-bottom: none; }
.jg-autocomplete-item:hover { background: #f5f5f5; }

/* ── Search form responsive ────────────────────────────────────────────────── */
.jg-search-form {
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,.10);
    padding: 8px 12px;
}
.jg-search-fields {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap;
    gap: 0;
}
.jg-search-field {
    display: flex !important;
    align-items: center !important;
    flex: 1;
    gap: 10px;
    padding: 8px 14px;
    border-right: 1px solid #eee;
    min-width: 0;
}
.jg-search-field:last-of-type { border-right: none; }
.jg-search-submit { padding: 4px 4px 4px 10px; flex-shrink: 0; }

.jg-search-input,
.jg-search-select {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px;
    width: 100%;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    padding: 4px 0 !important;
    -webkit-appearance: none;
    cursor: pointer;
}

.jg-btn-search {
    background: #000;
    border: none !important;
    color: #fff;
    border-radius: 50px;
    font-family: 'Oswald', sans-serif;
    padding: 11px 22px;
    font-size: .9rem;
    cursor: pointer;
    letter-spacing: .5px;
    transition: background .2s;
    white-space: nowrap;
    text-transform: uppercase;
}
.jg-btn-search:hover { background: #222; }

/* Tablet: 2 columns */
@media (max-width: 860px) {
    .jg-search-form { border-radius: 16px; padding: 6px 8px; }
    .jg-search-fields {
        flex-wrap: wrap !important;
        gap: 2px !important;
    }
    .jg-search-field {
        flex: 1 1 calc(50% - 6px) !important;
        min-width: 140px;
        border-right: none !important;
        border-bottom: 1px solid #f0f0f0 !important;
        padding: 10px 12px !important;
    }
    .jg-search-field:nth-child(odd) { border-right: 1px solid #f0f0f0 !important; }
    .jg-search-submit {
        flex: 0 0 100% !important;
        padding: 8px 12px !important;
        border-top: 1px solid #f0f0f0;
    }
    .jg-btn-search { width: 100% !important; border-radius: 10px !important; padding: 13px !important; }
    .jg-autocomplete-list { left: 0; right: 0; }
}

/* Mobile: single column */
@media (max-width: 480px) {
    .jg-search-field {
        flex: 0 0 100% !important;
        border-right: none !important;
    }
    .jg-search-field:nth-child(odd) { border-right: none !important; }
}

/* ── Spots widget ────────────────────────────────────────────────────────── */
.jg-spots-widget { margin: 12px 0; }
.jg-spots-bar-wrap {
    height: 6px; background: #eee; border-radius: 6px;
    overflow: hidden; margin-bottom: 6px;
}
.jg-spots-bar {
    height: 100%; border-radius: 6px;
    background: linear-gradient(90deg, #27ae60, #f39c12, #e74c3c);
    transition: width .4s;
}
.jg-spots-label { font-size: .82rem; font-weight: 600; margin: 0; }
.jg-spots-ok   { color: #27ae60; }
.jg-spots-low  { color: #e67e22; }
.jg-spots-none { color: #c0392b; }

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.jg-sidebar { display: flex; flex-direction: column; gap: 24px; }

.jg-sidebar-widget {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.jg-sidebar-title {
    font-family: 'Oswald', sans-serif !important;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #111;
}

/* Search in sidebar */
.jg-sidebar-widget .jg-search-form {
    border-radius: 8px !important;
    box-shadow: none !important;
    border: 1px solid #eee;
    padding: 4px 8px;
}
.jg-sidebar-widget .jg-search-fields {
    flex-direction: column !important;
    gap: 0 !important;
}
.jg-sidebar-widget .jg-search-field {
    border-right: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 8px 10px !important;
    flex: unset !important;
    width: 100% !important;
}
.jg-sidebar-widget .jg-search-field:last-of-type { border-bottom: none !important; }
.jg-sidebar-widget .jg-search-submit {
    padding: 8px 10px !important;
    width: 100% !important;
}
.jg-sidebar-widget .jg-btn-search {
    width: 100% !important;
    border-radius: 6px !important;
    padding: 10px !important;
    font-size: .85rem !important;
}

/* Categories list */
.jg-sidebar-cats {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.jg-sidebar-cats li { margin: 0 !important; padding: 0 !important; }
.jg-sidebar-cat-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: .88rem;
    color: #333;
    text-decoration: none;
    transition: background .15s, color .15s;
    font-family: 'Montserrat', sans-serif;
}
.jg-sidebar-cat-link:hover { background: #f5f5f5; color: #111; }
.jg-sidebar-cat-active { background: #111 !important; color: #fff !important; }
.jg-sidebar-cat-active .jg-sidebar-cat-count { background: rgba(255,255,255,.2) !important; color: #fff !important; }
.jg-sidebar-cat-count {
    background: #f0f0f0;
    color: #666;
    font-size: .75rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
}

/* Related listings */
.jg-related-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.jg-related-item { margin: 0 !important; padding: 0 !important; }
.jg-related-link {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: opacity .15s;
}
.jg-related-link:hover { opacity: .8; }
.jg-related-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
}
.jg-related-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
.jg-related-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    font-size: 1.4rem;
}
.jg-related-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.jg-related-title {
    font-family: 'Oswald', sans-serif;
    font-size: .88rem;
    font-weight: 600;
    color: #111;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.jg-related-price {
    font-size: .78rem;
    color: #888;
    font-family: 'Montserrat', sans-serif;
}

/* ── Deposit options ─────────────────────────────────────────────────────── */
.jg-deposit-choice { margin-bottom: 20px; }
.jg-deposit-options { display: flex; gap: 12px; flex-wrap: wrap; }
.jg-deposit-option {
    flex: 1; min-width: 200px;
    border: 2px solid #ddd; border-radius: 10px;
    padding: 14px 16px; cursor: pointer;
    transition: border-color .2s, background .2s;
    display: flex; align-items: flex-start; gap: 12px;
    background: #fff;
}
.jg-deposit-option input[type="radio"] { margin-top: 3px; accent-color: #000; flex-shrink: 0; }
.jg-deposit-option.selected { border-color: #000; background: #f7f7f7; }
.jg-deposit-opt-body { display: flex; flex-direction: column; gap: 3px; }
.jg-deposit-opt-body strong { font-size: .95rem; color: #111; font-family: 'Oswald', sans-serif; }
.jg-deposit-opt-sub { font-size: .8rem; color: #777; }
.jg-deposit-amount-display { font-size: .85rem; font-weight: 700; color: #000; margin-top: 4px; }
.jg-summary-deposit-note {
    background: #f5f5f5; padding: 10px 16px;
    font-size: .85rem; color: #555; border-top: 1px solid #eee;
    font-family: 'Montserrat', sans-serif;
}

/* ── Inquiry form ────────────────────────────────────────────────────────── */
.jg-inquiry-wrap { max-width: 820px; margin: 0 auto; }

/* ── Gallery equal size grid ────────────────────────────────────────────── */
.jg-gallery-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.jg-gallery-item {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
}
.jg-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.jg-gallery-item:hover img {
    transform: scale(1.04);
}
@media (max-width: 768px) {
    .jg-gallery-wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .jg-gallery-wrap { grid-template-columns: 1fr; }
}

/* ── Date select fix ─────────────────────────────────────────────────────── */
.jg-booking-wrap select.jg-form-select,
.jg-booking-wrap #jg-sel-date {
    color: #222 !important;
    background-color: #fff !important;
    border: 1.5px solid #ccc !important;
    padding: 12px 13px !important;
    font-size: 1rem !important;
    width: 100% !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 36px !important;
}
.jg-booking-wrap select.jg-form-select option,
.jg-booking-wrap #jg-sel-date option {
    color: #222 !important;
    background: #fff !important;
}
