/* Rezervācijas paneļu kopīgie stili (kalendārs, produktu rindas, "i", palielināšana) */
/* Rezervācijas panelis */
.jl-kicker { font: 400 11px 'JetBrains Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: #5B7A4A; }
.jl-steps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 12px 22px; border-bottom: 1px solid var(--jl-line); font-size: 13px; color: #8A9883; }
.jl-steps li { display: flex; align-items: center; gap: 6px; flex: 1; }
.jl-steps li span { width: 22px; height: 22px; border-radius: 50%; background: var(--jl-bg); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.jl-steps li.is-active { color: var(--jl-green); font-weight: 600; }
.jl-steps li.is-active span { background: var(--jl-green); color: #fff; }
.jl-steps li.is-done span { background: var(--jl-lime); color: var(--jl-green); }
.jl-lead { font-size: 15px; color: #3E4D3A; margin: 0 0 14px; }

.jl-cal__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.jl-cal__nav strong { font: 700 20px 'Alegreya', serif; color: var(--jl-green); }
.jl-cal__arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #D6DECB; background: #fff; font-size: 22px; cursor: pointer; color: var(--jl-green); }
.jl-cal__arrow:disabled { opacity: .3; cursor: default; }
.jl-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.jl-cal__wd { text-align: center; font: 400 11px 'JetBrains Mono', monospace; color: #8A9883; padding: 4px 0; }
.jl-day { aspect-ratio: 1; border-radius: 12px; border: 1px solid transparent; font: 600 15px 'Onest', sans-serif; cursor: pointer; position: relative; background: #EAF2E1; color: var(--jl-green); }
.jl-day::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #6FA33F; }
.jl-day.is-low { background: #FDF3E1; }
.jl-day.is-low::after { background: var(--jl-low); }
.jl-day.is-full { background: #F6E3E1; color: #B9A6A3; text-decoration: line-through; cursor: default; }
.jl-day.is-full::after { background: var(--jl-full); }
.jl-day.is-past, .jl-day.is-loading { background: transparent; color: #C6CEC0; cursor: default; }
.jl-day.is-past::after, .jl-day.is-loading::after { display: none; }
.jl-day:not(:disabled):hover { border-color: var(--jl-green); }
.jl-day.is-selected { background: var(--jl-green); color: #fff; }
.jl-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--jl-muted); margin-top: 14px; }
.jl-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; background: #6FA33F; }
.jl-legend i.is-low { background: var(--jl-low); }
.jl-legend i.is-full { background: var(--jl-full); }

.jl-chip { display: inline-flex; gap: 8px; align-items: center; border: 1px solid #D6DECB; background: var(--jl-bg); border-radius: 999px; padding: 8px 14px; font: 600 14px 'Onest', sans-serif; color: var(--jl-green); cursor: pointer; margin-bottom: 14px; }
.jl-chip u { font-weight: 400; color: var(--jl-muted); }
.jl-boats { list-style: none; padding: 0; margin: 0; }
.jl-boat { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--jl-line); border-radius: 14px; margin-bottom: 8px; transition: border-color .15s, background .15s; }
.jl-boat.is-selected { border-color: var(--jl-green); background: #F3F8EC; }
.jl-boat.is-out { opacity: .5; }
.jl-boat__name { font-weight: 600; font-size: 15px; }
.jl-boat__meta { font-size: 13px; color: #3E4D3A; margin-top: 2px; }
.jl-boat__free { font-size: 12px; color: #5B7A4A; margin-top: 2px; }
.jl-qty { display: flex; align-items: center; gap: 10px; flex: none; }
.jl-qty button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #C9D6BC; background: #fff; font-size: 20px; color: var(--jl-green); cursor: pointer; }
.jl-qty button:disabled { opacity: .3; cursor: default; }
.jl-qty output { min-width: 20px; text-align: center; font-weight: 700; font-size: 17px; }

.jl-done { text-align: center; padding: 20px 0; }
.jl-done__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--jl-lime); color: var(--jl-green); font-size: 32px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.jl-done h3 { font: 700 26px 'Alegreya', serif; color: var(--jl-green); margin: 0 0 6px; }
.jl-upsell { margin-top: 28px; background: var(--jl-bg); border-radius: 16px; padding: 18px; text-align: left; }
.jl-upsell h4 { font: 700 18px 'Alegreya', serif; color: var(--jl-green); margin: 0 0 6px; }
.jl-upsell p { margin: 0; font-size: 14px; color: #3E4D3A; }

/* Laivas foto un "i" informācija */
.jl-boat { position: relative; }
.jl-boat__photo { flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; border: 0; padding: 0; background: #EAF2E1; cursor: zoom-in; position: relative; }
.jl-boat__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.jl-boat__photo:hover img { transform: scale(1.06); }
.jl-boat__zoom { position: absolute; right: 4px; bottom: 4px; width: 20px; height: 20px; border-radius: 6px; background: rgba(255,255,255,.9); color: var(--jl-green); font-size: 12px; line-height: 20px; text-align: center; }
.jl-boat__photo.is-empty { cursor: default; display: flex; align-items: center; justify-content: center; color: #9DB58A; }
.jl-boat__photo.is-empty svg { width: 36px; height: 36px; }
.jl-boat__info { flex: 1; min-width: 0; }

.jl-info { display: inline-flex; width: 18px; height: 18px; margin-left: 6px; color: #2F6FDE; vertical-align: -3px; cursor: help; position: static; }
.jl-info > svg { width: 18px; height: 18px; display: block; }
.jl-info:hover > svg { color: #1F56B8; }
.jl-nowrap { white-space: nowrap; }
.jl-info:focus-visible { outline: 2px solid #2F6FDE; outline-offset: 2px; }
.jl-tip { display: none; position: absolute; left: 76px; white-space: normal; right: 12px; top: calc(100% - 8px); z-index: 30; background: #fff; color: #1C2B19; border: 1px solid #CFDCF5; border-top: 3px solid #2F6FDE; border-radius: 12px; padding: 12px 14px; box-shadow: 0 14px 34px rgba(20,40,80,.18); font: 400 13px/1.5 'Onest', sans-serif; font-style: normal; cursor: auto; text-align: left; }
.jl-info:hover .jl-tip, .jl-info:focus .jl-tip, .jl-info.is-open .jl-tip { display: block; }
.jl-tip dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 0; }
.jl-tip dt { color: var(--jl-muted); }
.jl-tip dd { margin: 0; font-weight: 600; }
.jl-tip ul { margin: 8px 0 0; padding-left: 18px; }
.jl-tip p { margin: 8px 0 0; color: #3E4D3A; }
@media (max-width: 600px) { .jl-tip { left: 12px; } }

.jl-lightbox { position: fixed; inset: 0; z-index: 1100; background: rgba(8, 20, 8, .92); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.jl-lightbox[hidden] { display: none; }
.jl-lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.jl-lightbox img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 12px; display: block; }
.jl-lightbox figcaption { color: #E6EEDC; font: 14px 'Onest', sans-serif; margin-top: 10px; text-align: center; }
.jl-lightbox__close { position: absolute; top: 14px; right: 14px; }
.jl-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 28px; cursor: pointer; }
.jl-lightbox__nav.is-prev { left: 12px; }
.jl-lightbox__nav.is-next { right: 12px; }
.jl-lightbox__nav[hidden] { display: none; }

/* Kompaktāka laivu rinda, lai nosaukums + "i" ietilpst vienā rindā */
.jl-panel__sheet { width: min(540px, 100%); }
.jl-panel__body { padding: 16px 18px; }
.jl-boat { gap: 10px; padding: 12px; }
.jl-boat__photo { width: 56px; height: 56px; border-radius: 10px; }
.jl-boat__name { font-size: 15px; line-height: 1.3; }
.jl-qty { gap: 6px; }
.jl-qty button { width: 34px; height: 34px; font-size: 18px; }
.jl-qty output { min-width: 18px; }

/* "i" informācija virs rindas, ja apakšā nav vietas */
.jl-info.is-up .jl-tip { top: auto; bottom: calc(100% - 8px); border-top: 1px solid #CFDCF5; border-bottom: 3px solid #2F6FDE; box-shadow: 0 -14px 34px rgba(20,40,80,.18); }

/* Līnijikonas */
.jl-ico { width: 18px; height: 18px; flex: none; }
.jl-chip .jl-ico { color: var(--jl-green); }
.jl-boat__zoom { display: flex; align-items: center; justify-content: center; }
.jl-boat__zoom .jl-ico { width: 12px; height: 12px; }
.jl-done__icon .jl-ico { width: 30px; height: 30px; }


/* Diapazona (naktsmītņu) kalendārs */
.jl-cal .jl-day.is-range, .jl-cal .jl-day.is-start, .jl-cal .jl-day.is-end { background: var(--jl-green); color: #fff; border-radius: 0; }
.jl-cal .jl-day.is-start { border-radius: 12px 0 0 12px; }
.jl-cal .jl-day.is-end { border-radius: 0 12px 12px 0; }
.jl-cal .jl-day.is-start.is-end { border-radius: 12px; }
.jl-cal .jl-day.is-range { background: var(--jl-green-2); }
.jl-cal .jl-day.is-range::after, .jl-cal .jl-day.is-start::after, .jl-cal .jl-day.is-end::after { background: var(--jl-lime); }
.jl-day.is-cabins-full { background: #F3EEE8; }
.jl-day.is-cabins-full::after { background: var(--jl-full); }
.jl-legend i.is-cabins-full { background: var(--jl-full); }
.jl-section-title { font: 700 18px 'Alegreya', serif; color: var(--jl-green); margin: 18px 0 8px; }
.jl-section-title:first-child { margin-top: 0; }
.jl-evenings { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.jl-evenings .jl-chip { margin: 0; }
.jl-evenings .jl-chip.is-active { background: var(--jl-green); color: #fff; border-color: var(--jl-green); }
.jl-evenings .jl-chip.is-active .jl-ico { color: #fff; }
.jl-skip { text-align: center; margin-top: 8px; }

/* Naktsmītņu lapa /naktsmitnes */
.jl-stays { font-family: 'Onest', sans-serif; color: #1C2B19; }
.jl-stays__head { margin-bottom: 28px; }
.jl-stays__title { font: 700 clamp(30px, 4vw, 46px)/1.1 'Alegreya', serif; color: var(--jl-green); margin: 6px 0 10px; }
.jl-stays__lead { font-size: 17px; color: #3E4D3A; max-width: 680px; margin: 0 0 18px; }
.jl-stays__cta { display: inline-block; width: auto; padding: 14px 28px; }
.jl-stays__h2 { font: 700 26px 'Alegreya', serif; color: var(--jl-green); margin: 34px 0 14px; }
.jl-stays__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.jl-stay-card { background: #fff; border: 1px solid #D6DECB; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.jl-stay-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(28,77,27,.12); }
@media (prefers-reduced-motion: reduce) { .jl-stay-card { transition: none; } .jl-stay-card:hover { transform: none; } }
.jl-stay-card__img { aspect-ratio: 4/3; background: #EAF2E1; }
.jl-stay-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jl-stay-card__body { padding: 14px 16px 16px; font-size: 14px; }
.jl-stay-card__body h3 { font: 700 19px 'Alegreya', serif; color: var(--jl-green); margin: 0 0 4px; }
.jl-stay-card__meta { color: #3E4D3A; margin-bottom: 8px; }
.jl-stay-card__meta strong { color: var(--jl-green); }
.jl-stay-card__body p { margin: 0 0 6px; color: #3E4D3A; }
.jl-stay-card__body ul { margin: 0; padding-left: 18px; color: #3E4D3A; }
.jl-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--jl-lime); color: var(--jl-green); font: 700 12px 'Onest', sans-serif; margin-left: 2px; }

/* Telefonā: cipars uz augšu, punktiņš zemāk — lai nesaplūst */
@media (max-width: 600px) and (pointer: coarse) {
  .jl-cal__grid { gap: 5px; }

  .jl-day { padding: 0 0 12px; font-size: 15px; line-height: 1; display: flex; align-items: center; justify-content: center; }
  .jl-day::after { width: 5px; height: 5px; margin-left: -2.5px; bottom: 5px; }

}

/* "Pievienots grozam": kompakts — ķeksis blakus virsrakstam, naktsmītnes piedāvājums uzreiz redzams */
.jl-done { padding: 6px 0 0; text-align: left; }
.jl-done__row { display: flex; align-items: center; gap: 14px; }
.jl-done__row .jl-done__icon { width: 48px; height: 48px; margin: 0; flex: none; }
.jl-done__row .jl-done__icon .jl-ico { width: 24px; height: 24px; }
.jl-done__row h3 { font-size: 24px; margin: 0 0 2px; }
.jl-done__row p { margin: 0; color: #3E4D3A; font-size: 14px; }
.jl-done .jl-upsell { margin-top: 18px; }
@media (max-height: 720px) {
  .jl-done__row .jl-done__icon { width: 38px; height: 38px; }
  .jl-done__row h3 { font-size: 21px; }
  .jl-done .jl-upsell { margin-top: 12px; padding: 14px; }
}

/* Pavelc, lai atsvaidzinātu */
.jl-ptr { height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 6px; font: 600 13px 'Onest', sans-serif; color: var(--jl-muted); background: #F4F7EF; transition: height .2s; }
.jl-ptr em { font-style: normal; }
.jl-ptr span { display: inline-block; font-size: 16px; transition: transform .2s; }
.jl-ptr.is-ready span { transform: rotate(180deg); color: var(--jl-green); }
.jl-ptr.is-loading span { animation: jl-spin .8s linear infinite; }
@keyframes jl-spin { to { transform: rotate(360deg); } }
.jl-error .jl-link { color: #8C2A22; font-weight: 600; margin-left: 6px; }

/* Plosta serviss ★ / ★★ */
.jl-stars { color: #C1962C; letter-spacing: 1px; }
.jl-svcs { display: grid; gap: 8px; }
.jl-svc { display: block; width: 100%; text-align: left; border: 1.5px solid var(--jl-line); background: #fff; border-radius: 14px; padding: 12px 14px; cursor: pointer; font: 14px 'Onest', sans-serif; color: #1C2B19; }
.jl-svc.is-active { border-color: var(--jl-green); background: #F3F8EC; box-shadow: inset 0 0 0 1px var(--jl-green); }
.jl-svc:disabled { cursor: default; opacity: .6; }
.jl-svc__head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 15px; }
.jl-svc__head strong { font: 700 19px 'Alegreya', serif; color: var(--jl-green); }
.jl-svc.is-call .jl-svc__head strong { font: italic 600 14px 'Onest', sans-serif; color: #5B7A4A; }
.jl-svc__items { display: block; color: var(--jl-muted); font-size: 12px; margin-top: 3px; }

/* Laivu veidu tabi rezervācijas panelī: pilns platums, vienādas pogas */
.jl-btabs{display:flex;gap:4px;width:100%;box-sizing:border-box;margin:4px 0 14px;padding:4px;background:#E6EEDC;border-radius:999px;overflow-x:auto;scrollbar-width:none}
.jl-btabs::-webkit-scrollbar{display:none}
.jl-btab{flex:1 1 0;min-width:max-content;min-height:44px;padding:0 10px;border:1px solid #d5dfc8;border-radius:999px;background:#fff;color:#2c4a1f;font:inherit;font-weight:700;font-size:15px;text-align:center;white-space:nowrap;cursor:pointer}
.jl-btab b{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;margin-left:6px;padding:0 6px;border-radius:999px;background:#2c4a1f;color:#fff;font-size:12px}
.jl-btab.is-active{background:#1c4d1b;border-color:#1c4d1b;color:#fff}
.jl-btab.is-active b{background:#fff;color:#1c4d1b}
.jl-btab.is-empty:not(.is-active){opacity:.5}

.jl-section-addr{font-family:inherit;font-size:.65em;font-weight:500;color:#5b6b52;white-space:nowrap}

/* /kempings: kartīšu pogas un piezīmes */
.jl-stays__note { margin: -8px 0 16px; color: #5B6A55; font-size: 14px; max-width: 720px; }
.jl-stay-card__img { display: block; }
.jl-stay-card__body h3 a { color: inherit; text-decoration: none; }
.jl-stay-card__body h3 a:hover { text-decoration: underline; }
.jl-stay-card__body { display: flex; flex-direction: column; flex: 1; }
.jl-stay-card__actions { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.jl-stay-card__book { width: auto; padding: 10px 22px; }
.jl-stay-card__more { font-weight: 600; font-size: 14px; color: var(--jl-green); text-decoration: none; border-bottom: 1px solid rgba(42, 110, 39, .35); }
.jl-stay-card__more:hover { border-bottom-color: var(--jl-green); }

/* Produkta lapa /kempings/{id}-{slug} */
.jl-sp { font-family: 'Onest', sans-serif; color: #1C2B19; }
.jl-sp__back { display: inline-block; margin-bottom: 14px; font-weight: 600; color: var(--jl-green); text-decoration: none; }
.jl-sp__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.jl-sp__title { font: 700 clamp(30px, 4vw, 46px)/1.1 'Alegreya', serif; color: var(--jl-green); margin: 0 0 4px; }
.jl-sp__sub { color: #5B6A55; margin-bottom: 18px; }
.jl-sp__gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0 22px; }
.jl-sp__img { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background: #EAF2E1; }
.jl-sp__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.jl-sp__img:hover img { transform: scale(1.03); }
.jl-sp__img.is-first { grid-column: span 4; aspect-ratio: 16/9; border-radius: 20px; }
.jl-sp__text { font-size: 17px; line-height: 1.65; color: #2A3A27; max-width: 720px; }
.jl-sp__text p { margin: 0 0 14px; }
.jl-sp__h2 { font: 700 24px 'Alegreya', serif; color: var(--jl-green); margin: 26px 0 8px; }
.jl-sp__list { margin: 0; padding-left: 20px; line-height: 1.7; }
.jl-sp__specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 22px 0 0; }
.jl-sp__specs div { background: #EAF2E1; border-radius: 12px; padding: 10px 14px; }
.jl-sp__specs dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #5B7A4A; }
.jl-sp__specs dd { margin: 2px 0 0; font-weight: 700; }
.jl-sp__card { position: sticky; top: 90px; background: #fff; border: 1px solid #D6DECB; border-radius: 22px; padding: 22px; box-shadow: 0 10px 30px rgba(28, 77, 27, .08); }
.jl-sp__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.jl-sp__price span { color: #5B6A55; font-size: 14px; }
.jl-sp__price strong { font: 700 34px 'Alegreya', serif; color: var(--jl-green); }
.jl-sp__price small { color: #5B6A55; }
.jl-sp__incl { list-style: none; margin: 0 0 18px; padding: 0; font-size: 14px; color: #3E4D3A; }
.jl-sp__incl li { padding: 6px 0 6px 22px; position: relative; }
.jl-sp__incl li::before { content: '✓'; position: absolute; left: 0; color: var(--jl-green); font-weight: 700; }
@media (max-width: 900px) {
  .jl-sp__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .jl-sp__card { position: static; order: -1; }
  .jl-sp__gallery { grid-template-columns: repeat(2, 1fr); }
  .jl-sp__img.is-first { grid-column: span 2; }
}

/* /kempings: grupas rindā viena aiz otras */
.jl-stays__row { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px 28px; align-items: start; }
.jl-stays__group { grid-column: span var(--n, 1); min-width: 0; }
.jl-stays__group .jl-stays__grid { grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)); gap: 16px; }
.jl-stays__row .jl-stays__h2 { margin-top: 28px; }
@media (max-width: 1000px) {
  .jl-stays__row { grid-template-columns: minmax(0, 1fr); }
  .jl-stays__group { grid-column: auto; }
  .jl-stays__group .jl-stays__grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

/* Brīdinājums par īsa termiņa rezervāciju */
.jl-short-note { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #fff4e0; border: 1px solid #f0c27a; color: #6b4300; font-size: 14px; line-height: 1.45; }

.jl-short-note p { margin: 0 0 10px; }
.jl-short-note p:last-child { margin-bottom: 0; }
.jl-short-note a { color: inherit; text-decoration: underline; }
