/* Susunan bagian beranda per template (dipilih lewat "layout" di website-templates/<slug>/template.json):
   packages: carousel (bawaan) | grid | list | feature      gallery: carousel (bawaan) | grid */
:is(.we-pk-grid, .we-pk-list, .we-pk-feature) #wePkgCarousel,
.we-gal-grid .we-carousel-gallery { padding: 0; }
:is(.we-pk-grid, .we-pk-list, .we-pk-feature) #wePkgCarousel :is(.we-carousel-arrow, .we-carousel-dots),
.we-gal-grid .we-carousel-gallery :is(.we-carousel-arrow, .we-carousel-dots) { display: none; }
:is(.we-pk-grid, .we-pk-list, .we-pk-feature) #wePkgCarousel .we-carousel-track,
.we-gal-grid .we-carousel-gallery .we-carousel-track { display: grid; transform: none !important; transition: none; cursor: auto; gap: 22px; touch-action: auto; }
:is(.we-pk-grid, .we-pk-list, .we-pk-feature) #wePkgCarousel .we-carousel-slide,
.we-gal-grid .we-carousel-gallery .we-carousel-slide { flex: none; padding: 0; min-width: 0; }
/* grid & feature: 3 kolom */
:is(.we-pk-grid, .we-pk-feature) #wePkgCarousel .we-carousel-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.we-pk-feature #wePkgCarousel .we-carousel-slide:first-child { grid-column: span 2; }
.we-pk-feature #wePkgCarousel .we-carousel-slide:first-child .we-card-img { height: 280px; }
/* list: satu baris per paket, foto di kiri */
.we-pk-list #wePkgCarousel .we-carousel-track { grid-template-columns: 1fr; gap: 16px; }
.we-pk-list #wePkgCarousel .we-card { flex-direction: row; align-items: stretch; }
.we-pk-list #wePkgCarousel .we-card-img { width: 34%; height: auto; min-height: 170px; flex: none; }
.we-pk-list #wePkgCarousel .we-card-body { align-self: center; }
.we-pk-list #wePkgCarousel .we-card-footer { align-self: center; border: 0; padding: 0 20px; }
/* galeri: kisi foto */
.we-gal-grid .we-carousel-gallery .we-carousel-track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.we-gal-grid .we-gallery-slide-inner { height: 210px; }
@media (max-width: 860px) {
  :is(.we-pk-grid, .we-pk-feature) #wePkgCarousel .we-carousel-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .we-pk-feature #wePkgCarousel .we-carousel-slide:first-child { grid-column: 1 / -1; }
  .we-gal-grid .we-carousel-gallery .we-carousel-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  :is(.we-pk-grid, .we-pk-feature) #wePkgCarousel .we-carousel-track { grid-template-columns: 1fr; gap: 16px; }
  .we-pk-list #wePkgCarousel .we-card { flex-direction: column; }
  .we-pk-list #wePkgCarousel .we-card-img { width: 100%; height: 170px; min-height: 0; }
  .we-pk-list #wePkgCarousel .we-card-footer { padding: 0 18px 16px; align-self: stretch; }
  .we-gal-grid .we-carousel-gallery .we-carousel-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .we-gal-grid .we-gallery-slide-inner { height: 150px; }
}

/* menu atas: jarak kiri-kanan di layar sempit (padding bawaan 0 menimpa padding container) */
.we-nav-inner { padding-left: 20px; padding-right: 20px; }

/* logo lebih besar & proporsional (logo transparan hasil "Perbaiki logo otomatis" tampil rapi) */
.we-logo img { height: 48px; width: auto; max-width: 200px; border-radius: 0; object-fit: contain; }

/* Pilihan penginapan di halaman detail paket (harga menyesuaikan) */
.we-hp { margin: 16px 0 14px; padding: 14px; border: 1px solid var(--we-border); border-radius: 14px; background: color-mix(in srgb, var(--we-ocean) 4%, #fff); }
.we-hp-title { font-size: 13.5px; font-weight: 700; color: var(--we-text); margin-bottom: 8px; }
.we-hp-lbl { display: block; margin: 8px 0 4px; font-size: 11.5px; font-weight: 600; color: var(--we-muted); }
.we-hp-in { width: 100%; height: 40px; padding: 0 10px; border: 1px solid var(--we-border); border-radius: 10px; background: #fff; color: var(--we-text); font: inherit; font-size: 14px; box-sizing: border-box; }
.we-hp-fixed { font-size: 13px; color: var(--we-text); margin-bottom: 4px; }
.we-hp-note { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--we-muted); }
.we-hp-total { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--we-border); display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; }
.we-hp-total span { font-size: 12px; color: var(--we-muted); }
.we-hp-total b { font-size: 19px; color: var(--we-ocean); font-weight: 800; }
.we-hp-total small { width: 100%; text-align: right; font-size: 11.5px; color: var(--we-muted); }

/* Footer: logo bisnis kecil + tautan "Powered by" + versi sistem */
.we-footer-logo { display: block; height: 38px; width: auto; max-width: 150px; object-fit: contain; margin: 0 0 12px; border-radius: 0; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .25)); }
.we-footer-adf { color: inherit; font-weight: 600; text-decoration: none; border-bottom: 1px dotted currentColor; }
.we-footer-adf:hover { opacity: .8; }
.we-footer-ver { opacity: .7; font-size: .92em; cursor: help; }

/* Kartu harga paket: tetap terlihat saat halaman di-scroll. Isi kartu bisa digulir di dalamnya bila layar pendek; total & tombol Booking menempel di bawah kartu. */
.we-pkg-sidebar { top: 76px; padding: 0; display: flex; flex-direction: column; max-height: calc(100vh - 92px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.we-pkg-sidebar > :not(.we-pkg-cta) { margin-left: 20px; margin-right: 20px; }
.we-pkg-sidebar > .we-pkg-price-label { margin-top: 18px; }
.we-pkg-price { font-size: 24px; }
.we-pkg-sidebar-meta { margin-top: 12px; margin-bottom: 12px; padding: 10px 0; gap: 6px; }
.we-pkg-sidebar-meta-row { font-size: 13px; }
.we-hp { margin-top: 0; margin-bottom: 12px; padding: 12px; }
.we-hp-title { font-size: 13px; margin-bottom: 2px; }
.we-hp-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; }
.we-hp-row.one { grid-template-columns: 1fr; }
.we-hp-row > div { min-width: 0; }
.we-hp-lbl { margin: 6px 0 3px; }
.we-hp-in { height: 38px; font-size: 13.5px; }
.we-hp-note { margin-top: 6px; font-size: 11.5px; }
.we-pkg-cta { position: sticky; bottom: 0; margin-top: auto; padding: 12px 20px 16px; background: #fff; border-top: 1px solid var(--we-border); box-shadow: 0 -8px 16px rgba(15, 23, 42, .05); z-index: 2; }
.we-pkg-cta .we-hp-total { margin: 0 0 10px; padding: 0; border: 0; }
.we-pkg-cta .we-hp-total small { text-align: left; }
@media (max-width: 620px) { .we-pkg-sidebar { max-height: none; overflow: visible; } .we-pkg-sidebar > :not(.we-pkg-cta) { margin-left: 16px; margin-right: 16px; } .we-pkg-cta { padding: 12px 16px 14px; } }

/* Galeri penginapan di halaman paket: tombol + pemutar foto layar penuh */
.we-hp-gal { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 8px; padding: 9px 12px; border: 1px dashed color-mix(in srgb, var(--we-ocean) 55%, #fff); border-radius: 10px; background: #fff; color: var(--we-ocean); font: 600 12.5px/1.2 inherit; font-family: inherit; cursor: pointer; transition: background .15s; }
.we-hp-gal:hover { background: color-mix(in srgb, var(--we-ocean) 8%, #fff); }
.we-hp-gal[hidden] { display: none; }
.we-hp-gal span { font-weight: 500; opacity: .8; }
.we-lb { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; background: rgba(12, 10, 8, .88); padding: 16px; }
.we-lb.open { display: flex; }
.we-lb-lock { overflow: hidden; }
.we-lb-box { position: relative; width: min(980px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 8px; color: #fff; }
.we-lb-title { font-size: 15px; font-weight: 700; padding-right: 44px; }
.we-lb-x { position: absolute; top: -4px; right: 0; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.we-lb-x:hover { background: rgba(255, 255, 255, .26); }
.we-lb-stage { position: relative; display: flex; align-items: center; justify-content: center; background: #000; border-radius: 14px; overflow: hidden; height: min(62vh, 560px); }
.we-lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.we-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.we-lb-nav:hover { background: rgba(255, 255, 255, .32); }
.we-lb-nav.prev { left: 10px; }
.we-lb-nav.next { right: 10px; }
.we-lb.single .we-lb-nav, .we-lb.single .we-lb-thumbs { display: none; }
.we-lb-cap { min-height: 18px; font-size: 12.5px; opacity: .85; }
.we-lb-count { font-size: 12px; opacity: .7; }
.we-lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.we-lb-thumbs img { flex: none; width: 74px; height: 52px; object-fit: cover; border-radius: 8px; opacity: .55; cursor: pointer; border: 2px solid transparent; transition: opacity .15s; }
.we-lb-thumbs img.on { opacity: 1; border-color: #fff; }
@media (max-width: 620px) { .we-lb { padding: 8px; } .we-lb-stage { height: 52vh; } .we-lb-nav { width: 36px; height: 36px; } .we-lb-thumbs img { width: 60px; height: 44px; } }

/* Dropdown pilihan hotel & tipe kamar (buatan sendiri): rapi, bisa digulir & dicari; <select> asli disembunyikan tetapi tetap dipakai */
.we-hp-native { display: none !important; }
.we-dd { position: relative; }
.we-dd-btn { width: 100%; min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--we-border); border-radius: 10px; background: #fff; color: var(--we-text); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; box-sizing: border-box; }
.we-dd-btn:hover { border-color: color-mix(in srgb, var(--we-ocean) 50%, var(--we-border)); }
.we-dd.open .we-dd-btn, .we-dd-btn:focus-visible { outline: none; border-color: var(--we-ocean); box-shadow: 0 0 0 3px color-mix(in srgb, var(--we-ocean) 18%, transparent); }
.we-dd-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.we-dd-tag { flex: none; font-size: 11px; font-weight: 700; color: var(--we-ocean); background: color-mix(in srgb, var(--we-ocean) 10%, #fff); padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.we-dd-tag.std { color: #15803d; background: #dcfce7; }
.we-dd-tag:empty { display: none; }
.we-dd-caret { flex: none; opacity: .55; transition: transform .15s; }
.we-dd.open .we-dd-caret { transform: rotate(180deg); }
.we-dd-pop { position: fixed; z-index: 100000; background: #fff; border: 1px solid var(--we-border); border-radius: 12px; box-shadow: 0 18px 44px rgba(15, 23, 42, .2); overflow: hidden; }
.we-dd-search { padding: 8px; border-bottom: 1px solid var(--we-border); background: #fafafa; }
.we-dd-search input { width: 100%; height: 36px; padding: 0 12px; border: 1px solid var(--we-border); border-radius: 8px; font: inherit; font-size: 13px; background: #fff; box-sizing: border-box; }
.we-dd-search input:focus { outline: none; border-color: var(--we-ocean); }
.we-dd-list { position: relative; overflow-y: auto; padding: 5px; scrollbar-width: thin; }
.we-dd-opt { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.we-dd-opt.hot { background: color-mix(in srgb, var(--we-ocean) 9%, #fff); }
.we-dd-opt.on b { color: var(--we-ocean); }
.we-dd-opt .n { flex: 1; min-width: 0; }
.we-dd-opt b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--we-text); overflow: hidden; }
.we-dd-opt small { display: block; font-size: 11.5px; color: var(--we-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.we-dd-none { padding: 14px; text-align: center; font-size: 12.5px; color: var(--we-muted); }

/* Pilihan varian harga (mis. kapal Siginjai / Express) */
.we-hp-var { margin-bottom: 8px; }
.we-seg { display: flex; gap: 6px; }
.we-seg button { flex: 1; min-height: 40px; border: 1px solid var(--we-border); border-radius: 10px; background: #fff; color: var(--we-text); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s; }
.we-seg button:hover { border-color: color-mix(in srgb, var(--we-ocean) 50%, var(--we-border)); }
.we-seg button.on { border-color: var(--we-ocean); background: color-mix(in srgb, var(--we-ocean) 10%, #fff); color: var(--we-ocean); }

/* Cuaca hari ini (Karimunjawa): kaca transparan di pojok kanan atas, agak turun di bawah menu "Login Admin"; ikon & kotak beranimasi */
.we-nav-inner { position: relative; }
.we-wx { position: absolute; right: 30px; top: calc(100% + 18px); z-index: 60; transition: opacity .35s ease, transform .35s ease; }
.we-wx[hidden] { display: none; }
.we-wx.we-wx-off { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.we-wx-box { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 136px; box-sizing: border-box; padding: 12px 13px 11px; border-radius: 22px; color: #fff; line-height: 1.25;
    background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03)), rgba(8, 32, 58, .16);
    backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, .32); box-shadow: 0 10px 30px rgba(3, 20, 40, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
    text-shadow: 0 1px 8px rgba(0, 20, 40, .6);
    animation: weWxIn .8s cubic-bezier(.2, .9, .25, 1.15) both, weWxFloat 6s ease-in-out .9s infinite; }
.we-wx-box::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-18deg); animation: weWxShine 7s ease-in-out 2s infinite; pointer-events: none; }
.we-wx-ic svg { width: 34px; height: 34px; display: block; color: #ffd36b; filter: drop-shadow(0 2px 8px rgba(255, 200, 80, .45)); overflow: visible; }
.we-wx-ic svg.wx-cloud, .we-wx-ic svg.wx-rain, .we-wx-ic svg.wx-storm { color: #e6f3ff; filter: drop-shadow(0 2px 8px rgba(160, 210, 255, .45)); }
.we-wx-ic svg.wx-moon { color: #f4f1c8; filter: drop-shadow(0 2px 8px rgba(255, 250, 190, .5)); }
.we-wx-tx { display: flex; flex-direction: column; position: relative; z-index: 1; }
.we-wx-m { display: flex; flex-direction: column; font-size: 12.5px; font-weight: 500; line-height: 1.2; }
.we-wx-m b { font-size: 26px; font-weight: 800; margin-right: 3px; letter-spacing: .01em; }
.we-wx-m i { font-style: normal; }
.we-wx-tx small { font-size: 10px; line-height: 1.35; color: rgba(255, 255, 255, .85); margin-top: 4px; }
/* ikon bergerak */
.wx-sun .wx-rays { transform-origin: 12px 12px; animation: weWxSpin 22s linear infinite; }
.wx-sun .wx-core, .wx-moon .wx-core { transform-origin: 12px 12px; animation: weWxPulse 3.4s ease-in-out infinite; }
.wx-cloud .wx-drift, .wx-rain .wx-drift, .wx-sun .wx-drift, .wx-moon .wx-drift { animation: weWxDrift 5s ease-in-out infinite; }
.wx-rain .wx-drops path { stroke-dasharray: 3 4; animation: weWxRain .9s linear infinite; }
.wx-storm .wx-bolt { animation: weWxBolt 3.2s ease-in-out infinite; }
@keyframes weWxIn { from { opacity: 0; transform: translateY(-14px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes weWxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes weWxShine { 0% { left: -60%; } 22%, 100% { left: 130%; } }
@keyframes weWxSpin { to { transform: rotate(360deg); } }
@keyframes weWxPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.09); } }
@keyframes weWxDrift { 0%, 100% { transform: translateX(-1.2px); } 50% { transform: translateX(1.6px); } }
@keyframes weWxRain { to { stroke-dashoffset: -14; } }
@keyframes weWxBolt { 0%, 86%, 100% { opacity: 1; } 90% { opacity: .15; } 94% { opacity: 1; } 97% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .we-wx-box, .we-wx-box::after, .we-wx-ic svg *, .we-wx-ic svg { animation: none !important; } }
@media (max-width: 620px) { .we-wx { right: 24px; top: calc(100% + 12px); } .we-wx-box { width: 104px; padding: 9px 10px; gap: 3px; border-radius: 18px; } .we-wx-tx small { display: none; } .we-wx-ic svg { width: 26px; height: 26px; } .we-wx-m b { font-size: 21px; } .we-wx-m { font-size: 11px; } }

/* Catatan & syarat ketentuan: butir yang bisa dibuka (tertutup bawaan) */
.we-notes { display: grid; gap: 8px; }
.we-note { border: 1px solid var(--we-border); border-radius: 12px; background: #fff; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.we-note:hover { border-color: color-mix(in srgb, var(--we-ocean) 40%, var(--we-border)); }
.we-note[open] { box-shadow: 0 6px 18px rgba(15, 23, 42, .07); border-color: color-mix(in srgb, var(--we-ocean) 55%, var(--we-border)); }
.we-note summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; font-size: 14px; font-weight: 700; color: var(--we-text); }
.we-note summary::-webkit-details-marker { display: none; }
.we-note summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--we-muted, #64748b); border-bottom: 2px solid var(--we-muted, #64748b); transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.we-note[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.we-note-b { padding: 0 14px 13px; font-size: 13.5px; line-height: 1.7; color: var(--we-muted, #475569); animation: weNoteIn .25s ease; }
.we-note-p { margin: 0; padding: 2px 4px; font-size: 13.5px; line-height: 1.65; color: var(--we-muted, #475569); }
.we-notes-all { margin-top: 10px; background: none; border: 0; padding: 4px 2px; font: inherit; font-size: 13px; font-weight: 700; color: var(--we-ocean); cursor: pointer; }
.we-notes-all:hover { text-decoration: underline; }
@keyframes weNoteIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Itinerary: satu tombol per hari (tertutup bawaan) */
.we-days { display: grid; gap: 8px; }
.we-day { border: 1px solid var(--we-border); border-radius: 12px; background: #fff; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.we-day:hover { border-color: color-mix(in srgb, var(--we-ocean) 40%, var(--we-border)); }
.we-day[open] { box-shadow: 0 6px 18px rgba(15, 23, 42, .07); border-color: color-mix(in srgb, var(--we-ocean) 55%, var(--we-border)); }
.we-day summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 11px 14px; }
.we-day summary::-webkit-details-marker { display: none; }
.we-day summary::after { content: ""; flex: none; margin-left: 2px; width: 8px; height: 8px; border-right: 2px solid var(--we-muted, #64748b); border-bottom: 2px solid var(--we-muted, #64748b); transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.we-day[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.we-day-badge { flex: none; font-size: 12px; font-weight: 800; letter-spacing: .02em; padding: 5px 12px; border-radius: 99px; background: var(--we-ocean); color: #fff; white-space: nowrap; }
.we-day-pv { flex: 1; min-width: 0; font-size: 13px; color: var(--we-muted, #64748b); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.we-day-n { flex: none; font-size: 11.5px; font-weight: 700; color: var(--we-muted, #64748b); }
.we-day[open] .we-day-pv { visibility: hidden; }
.we-day-rows { padding: 2px 14px 12px; animation: weNoteIn .25s ease; }
.we-day-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px dashed var(--we-border); font-size: 13.5px; line-height: 1.55; }
.we-day-row:first-child { border-top: 0; }
.we-day-t { font-weight: 800; color: var(--we-ocean); font-size: 12.5px; padding-top: 1px; }
.we-day-t:empty::before { content: "•"; color: var(--we-muted, #94a3b8); }
@media (max-width: 520px) { .we-day-row { grid-template-columns: 1fr; gap: 1px; } .we-day-n { display: none; } .we-day-t:empty { display: none; } }
