/* Laivu katalogs /laivas */
.jl-boats .jl-tabs { flex-wrap: wrap; border-radius: 28px; margin: 4px 0 22px; }
.jl-routes .jl-tabs .jl-tab:nth-child(3)::after { animation-delay: .6s; }
.jl-routes .jl-tabs .jl-tab:nth-child(4)::after { animation-delay: .7s; }
.jl-boats__grid { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.jl-bcard { display: grid; grid-template-columns: 5fr 7fr; background: #fff; border: 1px solid #D6DECB; border-radius: 20px; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.jl-bcard:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(28,77,27,.12); }
/* Bilde ar vienādu atstarpi no kreisās, augšas un apakšas */
.jl-bcard__img { display: flex; width: 100%; height: 100%; min-height: 200px; padding: 16px; box-sizing: border-box; border: 0; background: #fff; cursor: pointer; }
.jl-bcard__img img { flex: 1; min-width: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; border-radius: 12px; }
.jl-bcard__body { padding: 16px 22px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.jl-bcard__body h2 { font: 700 20px/1.2 'Alegreya', serif; color: #1C4D1B; margin: 0; }
.jl-bcard__price { font: 500 14px 'Onest', sans-serif; color: #3d4a38; }
.jl-bcard__price strong { color: #1C4D1B; font-size: 16px; }
.jl-bcard__meta { font: 500 13px 'Onest', sans-serif; color: #6a7a5f; }
.jl-bcard__body p { margin: 4px 0 8px; font-size: 14px; line-height: 1.5; color: #444; }
.jl-bcard__more { margin-top: auto; align-self: flex-start; }

/* Apskats (modal) */
.jl-bmodal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20,32,18,.6); }
.jl-bmodal[hidden] { display: none; }
.jl-bmodal__box { position: relative; width: min(920px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #F7F9F3; border-radius: 22px; padding: 22px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; }
.jl-bmodal__close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #E6EEDC; font-size: 24px; line-height: 1; cursor: pointer; color: #1C4D1B; z-index: 2; }
.jl-bmodal__main { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: 14px; display: block; }
.jl-bmodal__thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.jl-bmodal__thumbs button { width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; }
.jl-bmodal__thumbs button.is-active { border-color: #1C4D1B; }
.jl-bmodal__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jl-bmodal h2 { font: 700 26px/1.2 'Alegreya', serif; color: #1C4D1B; margin: 0 40px 6px 0; }
.jl-bmodal__price { font: 500 15px 'Onest', sans-serif; margin-bottom: 12px; }
.jl-bmodal__price strong { color: #1C4D1B; }
.jl-bmodal dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 12px; font-size: 14px; }
.jl-bmodal dt { color: #6a7a5f; }
.jl-bmodal dd { margin: 0; font-weight: 600; }
.jl-bmodal ul { margin: 0 0 12px; padding-left: 18px; font-size: 14px; }
.jl-bmodal__body { font-size: 15px; line-height: 1.6; }
.jl-bmodal__body p { margin: 0 0 10px; }
.jl-bmodal__actions { margin-top: 14px; }
@media (max-width: 640px) {
  .jl-bcard { grid-template-columns: 1fr; }
  .jl-bcard__img { height: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) { .jl-bmodal__box { grid-template-columns: 1fr; padding: 16px; } }
