:root {
    --brand-primary: #124e78;
    --brand-secondary: #f4b942;
    --brand-dark: #0b2438;
    --brand-soft: #eef7fb;
    --surface: #ffffff;
    --text-main: #17212b;
    --text-muted: #64748b;
    --radius: 18px;
    --shadow: 0 18px 45px rgba(15, 50, 75, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: var(--text-main);
    background: #f7fafc;
}
a { text-decoration: none; }
.navbar { backdrop-filter: blur(12px); }
.navbar-brand img { width: 52px; height: 38px; object-fit: contain; }
.brand-name { font-weight: 800; color: var(--brand-dark); line-height: 1.1; }
.brand-tagline { display: block; font-size: .68rem; color: var(--text-muted); font-weight: 600; }
.btn-brand {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-primary), #1887b7);
    border-radius: 999px;
    padding: .75rem 1.3rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(18, 78, 120, .22);
    transition: .25s ease;
}
.btn-brand:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(18,78,120,.3); }
.btn-accent {
    border: 0;
    color: #12202e;
    background: var(--brand-secondary);
    border-radius: 999px;
    padding: .75rem 1.3rem;
    font-weight: 800;
    transition: .25s ease;
}
.btn-accent:hover { color: #12202e; transform: translateY(-2px); filter: brightness(.97); }

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 28, 45, .94) 0%, rgba(10, 56, 88, .82) 46%, rgba(10, 56, 88, .2) 100%);
}
.hero::after {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    border: 90px solid rgba(255,255,255,.07);
    border-radius: 50%;
    right: -240px;
    top: -150px;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem .9rem;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    font-weight: 700;
    font-size: .9rem;
}
.hero h1 { font-size: clamp(2.55rem, 6vw, 5.25rem); font-weight: 900; line-height: 1.02; margin: 1.2rem 0; letter-spacing: -.04em; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,.86); max-width: 670px; }
.hero-stat {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    padding: .9rem 1rem;
    min-width: 145px;
}
.hero-stat strong { display: block; font-size: 1.1rem; }
.hero-stat small { color: rgba(255,255,255,.72); }

.section-space { padding: 88px 0; }
.section-soft { background: var(--brand-soft); }
.section-heading { max-width: 760px; margin-bottom: 2.3rem; }
.section-heading .eyebrow { color: var(--brand-primary); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.section-heading h2 { font-weight: 900; letter-spacing: -.025em; margin-top: .55rem; }
.section-heading p { color: var(--text-muted); font-size: 1.05rem; }

.service-card, .product-card, .dashboard-card, .form-panel {
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--surface);
}
.service-card { padding: 1.8rem; height: 100%; }
.service-icon {
    width: 58px; height: 58px; display: grid; place-items: center;
    border-radius: 16px; color: #fff; background: var(--brand-primary); font-size: 1.35rem;
}
.product-card { overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; height: 100%; }
.product-card:hover { transform: translateY(-7px); box-shadow: 0 24px 52px rgba(15,50,75,.18); }
.product-card-image { height: 220px; width: 100%; object-fit: cover; }
.product-card-body { padding: 1.35rem; }
.product-badge { display: inline-flex; align-items: center; padding: .35rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 800; background: #e7f4fa; color: var(--brand-primary); }
.price { font-weight: 900; color: var(--brand-primary); font-size: 1.35rem; }
.price small { font-size: .78rem; font-weight: 600; color: var(--text-muted); }

.route-list { display: grid; gap: .85rem; }
.route-item {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: #fff; border-radius: 15px; padding: 1rem 1.15rem; border: 1px solid #e7edf2;
}
.route-item:hover { border-color: var(--brand-primary); }
.route-item strong { display: block; }
.route-item span { color: var(--text-muted); font-size: .9rem; }

.gallery-image { width: 100%; height: 240px; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.cta-panel { border-radius: 28px; padding: 3.2rem; color: #fff; background: linear-gradient(135deg, var(--brand-dark), var(--brand-primary)); box-shadow: var(--shadow); }

.catalog-hero { padding: 72px 0 52px; color: #fff; background: linear-gradient(135deg, var(--brand-dark), var(--brand-primary)); }
.detail-image { width: 100%; max-height: 500px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.option-card { border: 1px solid #e4ebf0; border-radius: 14px; padding: 1rem; background: #fff; }
.option-card + .option-card { margin-top: .75rem; }

.form-panel { padding: 1.6rem; }
.form-label { font-weight: 700; color: #344150; }
.form-control, .form-select { border-radius: 12px; border-color: #dbe4ea; padding: .72rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 .2rem rgba(18,78,120,.12); }
.price-box { border-radius: 16px; padding: 1.2rem; background: #edf8fc; border: 1px dashed #9bcbe0; }
.price-box .total { color: var(--brand-primary); font-size: 1.7rem; font-weight: 900; }

.status-badge { display: inline-flex; align-items: center; padding: .38rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.status-pending { background: #fff3cd; color: #8a6500; }
.status-confirmed, .status-verified { background: #d1fae5; color: #075e45; }
.status-in_progress, .status-waiting { background: #dbeafe; color: #1d4f91; }
.status-completed { background: #e2e8f0; color: #334155; }
.status-cancelled, .status-rejected { background: #fee2e2; color: #991b1b; }
.status-unpaid { background: #f1f5f9; color: #475569; }

.dashboard-card { padding: 1.35rem; height: 100%; }
.dashboard-card .metric { font-size: 1.8rem; font-weight: 900; }
.table-modern { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.table-modern table { margin: 0; }
.table-modern thead th { background: #eef6fa; color: #334155; border: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.table-modern td { vertical-align: middle; }

.whatsapp-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 1055;
    display: flex; align-items: center; gap: .65rem;
    padding: .8rem 1.1rem; border-radius: 999px; color: #fff; background: #25d366;
    font-weight: 800; box-shadow: 0 16px 35px rgba(37,211,102,.35);
    animation: floatPulse 2.3s infinite;
}
.whatsapp-float:hover { color: #fff; transform: translateY(-2px); }
@keyframes floatPulse { 0%,100% { box-shadow: 0 12px 30px rgba(37,211,102,.28); } 50% { box-shadow: 0 12px 34px rgba(37,211,102,.52), 0 0 0 9px rgba(37,211,102,.08); } }

.footer-main { color: #d6e3eb; background: #0a2436; padding: 64px 0 22px; }
.footer-main h5 { color: #fff; font-weight: 800; }
.footer-logo { max-width: 180px; max-height: 80px; object-fit: contain; background: #fff; border-radius: 12px; padding: .45rem; }

.auth-page { min-height: calc(100vh - 80px); display: grid; place-items: center; padding: 48px 0; background: linear-gradient(140deg, #eff8fc, #fff8e7); }
.auth-card { width: 100%; max-width: 520px; padding: 2rem; border: 0; border-radius: 22px; box-shadow: var(--shadow); background: #fff; }

.admin-body { background: #f3f6f9; }
.admin-sidebar {
    position: fixed; inset: 0 auto 0 0; width: 270px; padding: 1.2rem; overflow-y: auto;
    background: #0b2638; color: #fff; z-index: 1040;
}
.admin-logo { display: flex; align-items: center; gap: .8rem; padding: .55rem .35rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.admin-logo img { width: 54px; height: 42px; object-fit: contain; background: #fff; border-radius: 10px; padding: .2rem; }
.admin-nav { margin-top: 1.1rem; }
.admin-nav a { display: flex; align-items: center; gap: .8rem; color: #c7d8e4; padding: .78rem .9rem; border-radius: 11px; margin-bottom: .3rem; font-weight: 650; }
.admin-nav a:hover, .admin-nav a.active { color: #fff; background: rgba(255,255,255,.12); }
.admin-content { margin-left: 270px; min-height: 100vh; }
.admin-topbar { background: #fff; border-bottom: 1px solid #e4eaf0; padding: .9rem 1.5rem; position: sticky; top: 0; z-index: 1020; }
.admin-main { padding: 1.6rem; }
.admin-page-title h1 { font-weight: 900; font-size: 1.65rem; }
.thumbnail-sm { width: 70px; height: 52px; object-fit: cover; border-radius: 10px; }
.preview-image { max-width: 100%; max-height: 280px; border-radius: 16px; object-fit: cover; }

@media (max-width: 991.98px) {
    .hero { min-height: 570px; background-position: 68% center; }
    .hero::before { background: rgba(5, 28, 45, .84); }
    .admin-sidebar { transform: translateX(-100%); transition: .25s; }
    .admin-sidebar.show { transform: translateX(0); }
    .admin-content { margin-left: 0; }
    .section-space { padding: 65px 0; }
}
@media (max-width: 575.98px) {
    .hero { min-height: 620px; }
    .hero h1 { font-size: 2.7rem; }
    .cta-panel { padding: 2rem 1.35rem; }
    .whatsapp-float span { display: none; }
    .whatsapp-float { width: 54px; height: 54px; justify-content: center; padding: 0; }
    .product-card-image { height: 195px; }
}

/* Video utama di atas dan slider gambar horizontal di bawah */
.video-hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    color: #fff;
    background: #071f30;
    isolation: isolate;
}
.video-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #071f30;
}
.video-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 28, 45, var(--video-overlay, .58)) 0%, rgba(8, 43, 67, .54) 48%, rgba(8, 43, 67, .18) 100%),
        linear-gradient(0deg, rgba(4, 24, 38, .44), transparent 52%);
}
.video-hero-container {
    position: relative;
    z-index: 2;
    min-height: 650px;
    display: flex;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 88px;
}
.video-hero-content {
    max-width: 780px;
}
.video-hero-content h1 {
    max-width: 780px;
    margin: 1.2rem 0;
    font-size: clamp(2.7rem, 6vw, 5.2rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.045em;
}
.video-hero-content p {
    max-width: 700px;
    margin-bottom: 0;
    color: rgba(255,255,255,.9);
    font-size: 1.14rem;
    line-height: 1.75;
}
.video-hero-content > * {
    opacity: 0;
    transform: translateY(24px);
    animation: mediaContentEnter .72s ease forwards;
}
.video-hero-content > *:nth-child(2) { animation-delay: .10s; }
.video-hero-content > *:nth-child(3) { animation-delay: .18s; }
.video-hero-content > *:nth-child(4) { animation-delay: .26s; }
.video-hero-content > *:nth-child(5) { animation-delay: .34s; }

.image-showcase {
    position: relative;
    overflow: hidden;
    background: #071f30;
    border-top: 4px solid var(--brand-secondary);
}
.image-carousel,
.image-carousel .carousel-inner,
.image-carousel-item {
    height: clamp(500px, 52vw, 620px);
    min-height: 500px;
}
.image-carousel .carousel-inner {
    overflow: hidden;
    background: #071f30;
}
.image-carousel .carousel-item {
    transition: transform .85s cubic-bezier(.22, .61, .36, 1);
}
.image-carousel-item {
    position: relative;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
    background: #071f30;
}
.image-slide-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.025) translate3d(0,0,0);
    will-change: transform;
}
.image-carousel-item.active .image-slide-media {
    animation: imageSlideZoom 9s ease-out both;
}
.image-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 28, 45, var(--image-overlay, .58)) 0%, rgba(7, 36, 56, .48) 48%, rgba(7, 36, 56, .12) 100%),
        linear-gradient(0deg, rgba(4, 24, 38, .34), transparent 58%);
}
.image-slide-container {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding-top: 64px;
    padding-bottom: 78px;
}
.image-slide-content {
    max-width: 680px;
}
.image-slide-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem .8rem;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    background: rgba(7,31,48,.34);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}
.image-slide-content h2 {
    max-width: 760px;
    margin: 1rem 0;
    font-size: clamp(2.2rem, 5vw, 4.3rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -.038em;
    text-wrap: balance;
}
.image-slide-content p {
    max-width: 640px;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,.92);
    font-size: 1.06rem;
    line-height: 1.7;
}
.image-carousel-item.active .image-slide-content > * {
    opacity: 0;
    transform: translateX(36px);
    animation: imageContentEnter .68s ease forwards;
}
.image-carousel-item.active .image-slide-content > *:nth-child(2) { animation-delay: .10s; }
.image-carousel-item.active .image-slide-content > *:nth-child(3) { animation-delay: .18s; }
.image-carousel-item.active .image-slide-content > *:nth-child(4) { animation-delay: .26s; }
.image-carousel-control {
    width: 8%;
    z-index: 4;
    opacity: 1;
}
.image-carousel-control-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    color: #fff;
    background: rgba(7,31,48,.48);
    backdrop-filter: blur(8px);
    transition: .25s ease;
}
.image-carousel-control:hover .image-carousel-control-icon {
    color: #102231;
    background: var(--brand-secondary);
    transform: scale(1.06);
}
.image-carousel-indicators {
    z-index: 5;
    bottom: 22px;
    gap: 7px;
}
.image-carousel-indicators [data-bs-target] {
    width: 38px;
    height: 5px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.58);
}
.image-carousel-indicators .active {
    width: 64px;
    background: var(--brand-secondary);
}

.hero-slide-admin-preview,
.hero-slide-form-preview {
    position: relative;
    overflow: hidden;
    background: #071f30;
}
.hero-slide-admin-preview {
    height: 260px;
}
.hero-slide-admin-preview-video {
    height: 420px;
}
.hero-slide-form-preview {
    min-height: 260px;
    border-radius: 16px;
}
.hero-slide-admin-preview img,
.hero-slide-admin-preview video,
.hero-slide-form-preview img,
.hero-slide-form-preview video {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}
.hero-slide-type {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: .45rem .75rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(7,31,48,.78);
    font-size: .8rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}
.empty-media-panel {
    padding: 2.2rem;
    border: 2px dashed #cad8e2;
    border-radius: 18px;
    text-align: center;
    background: #fff;
    color: var(--brand-primary);
}

@keyframes mediaContentEnter {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes imageContentEnter {
    to { opacity: 1; transform: translateX(0); }
}
@keyframes imageSlideZoom {
    from { transform: scale(1.03) translate3d(0,0,0); }
    to { transform: scale(1.10) translate3d(-1%, -.7%, 0); }
}

@media (max-width: 991.98px) {
    .video-hero,
    .video-hero-container {
        min-height: 590px;
    }
    .video-hero-overlay,
    .image-slide-overlay {
        background: rgba(5, 28, 45, .80);
    }
    .image-carousel,
    .image-carousel .carousel-inner,
    .image-carousel-item,
    .image-slide-container {
        min-height: 470px;
    }
    .image-carousel-control { width: 11%; }
    .image-carousel-control-icon { width: 42px; height: 42px; }
    .hero-slide-admin-preview-video { height: 330px; }
}

@media (max-width: 575.98px) {
    .video-hero,
    .video-hero-container {
        min-height: 680px;
    }
    .video-hero-container {
        align-items: flex-start;
        padding-top: 76px;
        padding-bottom: 90px;
    }
    .video-hero-content h1 { font-size: 2.7rem; }
    .video-hero-content p { font-size: 1rem; }
    .hero-stats { display: none !important; }

    .image-carousel,
    .image-carousel .carousel-inner,
    .image-carousel-item,
    .image-slide-container {
        min-height: 520px;
    }
    .image-slide-container {
        align-items: flex-end;
        padding: 60px 22px 84px;
    }
    .image-slide-content h2 { font-size: 2.35rem; }
    .image-slide-content p { font-size: .98rem; }
    .image-carousel-control { display: none; }
    .image-carousel-indicators { bottom: 18px; }
    .hero-slide-admin-preview,
    .hero-slide-admin-preview-video { height: 230px; }
}

@media (prefers-reduced-motion: reduce) {
    .video-hero-content > *,
    .image-carousel-item.active .image-slide-media,
    .image-carousel-item.active .image-slide-content > * {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .image-carousel .carousel-item {
        transition: none;
    }
}

/* Perbaikan katalog, pembayaran, laporan, serta rasio media */
img,
video {
    max-width: 100%;
}

.product-card-media-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #dfeaf0;
}
.product-card-image {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}
.product-card-media-action {
    position: absolute;
    inset: auto 14px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .65rem .9rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(7, 31, 48, .86);
    font-size: .82rem;
    font-weight: 800;
    opacity: 0;
    transform: translateY(8px);
    transition: .25s ease;
    backdrop-filter: blur(8px);
}
.product-card:hover .product-card-image,
.product-card:focus-within .product-card-image {
    transform: scale(1.04);
}
.product-card:hover .product-card-media-action,
.product-card:focus-within .product-card-media-action {
    opacity: 1;
    transform: translateY(0);
}
.product-title-link {
    color: var(--text-main);
}
.product-title-link:hover {
    color: var(--brand-primary);
}
.product-price-panel {
    padding: .85rem 1rem;
    border: 1px solid #dceaf1;
    border-radius: 14px;
    background: #f6fbfd;
}
.product-price-panel > small {
    display: block;
    color: var(--text-muted);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.gallery-image,
.admin-gallery-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}
.admin-gallery-image {
    border-radius: 0;
}
.admin-card-caption {
    min-height: 3.8em;
}
.route-banner-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.detail-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}
.product-option-list {
    max-height: 420px;
    overflow-y: auto;
    padding-right: .2rem;
}
.product-booking-panel {
    max-height: calc(100vh - 125px);
    overflow-y: auto;
}

.form-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #edf1f4;
}
.form-section-number {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: var(--brand-primary);
    font-weight: 900;
}
.booking-summary-sticky {
    position: sticky;
    top: 105px;
}
.booking-product-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
}
.booking-detail-grid,
.report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.booking-detail-grid > div,
.report-grid > div {
    padding: 1rem;
    border: 1px solid #e6edf2;
    border-radius: 14px;
    background: #fbfdfe;
}
.booking-detail-grid small,
.booking-address-list small,
.report-grid small,
.report-long-field small {
    display: block;
    margin-bottom: .3rem;
    color: var(--text-muted);
    font-size: .78rem;
    font-weight: 700;
}
.booking-detail-grid strong,
.report-grid strong {
    display: block;
    overflow-wrap: anywhere;
}
.booking-address-list p,
.report-long-field p {
    margin: 0;
    white-space: pre-line;
}
.booking-address-list > div + div,
.report-long-field + .report-long-field {
    margin-top: 1rem;
}

.payment-panel {
    border-top: 4px solid var(--brand-primary);
}
.payment-panel-icon {
    color: var(--brand-primary);
    font-size: 1.7rem;
}
.payment-method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .85rem;
}
.payment-method-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 96px;
    padding: 1rem;
    border: 2px solid #e2eaf0;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: .2s ease;
}
.payment-method-card:hover {
    border-color: #9cc6da;
    background: #f8fcfe;
}
.payment-method-card:has(input:checked) {
    border-color: var(--brand-primary);
    background: #eef8fc;
    box-shadow: 0 0 0 3px rgba(18, 78, 120, .08);
}
.payment-method-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.payment-method-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--brand-primary);
    background: #e8f4f9;
    font-size: 1.05rem;
}
.payment-method-card strong,
.payment-method-card small {
    display: block;
}
.payment-method-card small {
    margin-top: .2rem;
    color: var(--text-muted);
    font-size: .72rem;
}
.payment-method-detail {
    padding: 1rem;
    border: 1px solid #e3ebf0;
    border-radius: 16px;
    background: #fbfdfe;
}
.bank-account-box {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .7rem;
    margin-bottom: 1rem;
}
.bank-account-box > div {
    padding: .8rem;
    border-radius: 12px;
    background: #eaf5fa;
}
.bank-account-box small,
.bank-account-box strong {
    display: block;
}
.bank-account-box small {
    color: var(--text-muted);
    font-size: .7rem;
}
.bank-account-box strong {
    margin-top: .2rem;
    overflow-wrap: anywhere;
}
.payment-proof-image,
.admin-payment-proof,
.report-proof-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    object-position: center;
    border: 1px solid #dfe7ec;
    border-radius: 16px;
    background: #f4f7f9;
}

.booking-report-card {
    max-width: 980px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #dce5eb;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
}
.booking-report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand-primary));
}
.booking-report-header h2 {
    margin: .2rem 0;
    font-weight: 900;
}
.booking-report-header p {
    margin: 0;
    color: rgba(255,255,255,.75);
}
.report-label {
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--brand-secondary);
}
.report-code {
    min-width: 220px;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    text-align: right;
}
.report-code small,
.report-code strong {
    display: block;
}
.report-code small {
    color: rgba(255,255,255,.72);
}
.report-code strong {
    margin-top: .2rem;
    font-size: 1.15rem;
    letter-spacing: .03em;
}
.report-status-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    padding: 1.1rem 2rem;
    border-bottom: 1px solid #e7edf1;
    background: #f8fbfc;
}
.payment-method-report {
    display: inline-flex;
    align-items: center;
    padding: .38rem .7rem;
    border-radius: 999px;
    color: #334155;
    background: #e2e8f0;
    font-size: .78rem;
    font-weight: 800;
}
.report-section {
    padding: 1.7rem 2rem;
    border-bottom: 1px solid #e9eef2;
}
.report-section h5 {
    margin-bottom: 1rem;
    font-weight: 850;
}
.report-payment-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    background: #f6fbfd;
}
.report-total {
    text-align: right;
}
.report-total small,
.report-total strong {
    display: block;
}
.report-total small {
    color: var(--text-muted);
}
.report-total strong {
    color: var(--brand-primary);
    font-size: 1.9rem;
}
.report-proof-image {
    max-width: 560px;
}
.booking-report-footer {
    padding: 1.5rem 2rem;
    text-align: center;
    color: var(--text-muted);
    background: #f8fafc;
}

.thumbnail-sm {
    width: 78px;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.admin-product-detail-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
}
.preview-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    object-position: center;
    background: #eef3f6;
}
.admin-upload-preview {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid #dce5eb;
    border-radius: 16px;
    background: #eef3f6;
}
.admin-upload-preview-logo {
    aspect-ratio: 4 / 3;
}
.admin-upload-preview img,
.admin-upload-preview video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.hero-slide-admin-preview,
.hero-slide-admin-preview-video,
.hero-slide-form-preview {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
}
.hero-slide-admin-preview img,
.hero-slide-admin-preview video,
.hero-slide-form-preview img,
.hero-slide-form-preview video {
    min-height: 0;
    object-fit: contain;
    background: #071f30;
}

@media (max-width: 991.98px) {
    .booking-summary-sticky,
    .product-booking-panel {
        position: static !important;
        max-height: none;
        overflow: visible;
    }
    .payment-method-grid,
    .bank-account-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .product-card-media-action {
        opacity: 1;
        transform: none;
        inset: auto 10px 10px;
        padding: .5rem .7rem;
        font-size: .72rem;
    }
    .booking-detail-grid,
    .report-grid {
        grid-template-columns: 1fr;
    }
    .booking-report-header,
    .report-payment-section {
        flex-direction: column;
    }
    .report-code {
        width: 100%;
        min-width: 0;
        text-align: left;
    }
    .report-total {
        width: 100%;
        text-align: left;
    }
    .booking-report-header,
    .report-section,
    .report-status-row,
    .booking-report-footer {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media print {
    body {
        background: #fff;
    }
    .navbar,
    .footer-main,
    .whatsapp-float,
    .report-toolbar,
    .report-hero,
    .alert {
        display: none !important;
    }
    .section-space {
        padding: 0;
    }
    .booking-report-card {
        max-width: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .booking-report-header {
        color: #000;
        background: #fff;
        border-bottom: 2px solid #000;
    }
    .booking-report-header p,
    .report-label,
    .report-code small {
        color: #333;
    }
    .report-code {
        border-color: #aaa;
        background: #fff;
    }
}

/* Media halaman admin beranda */
.admin-hero-video-main,
.admin-hero-slide-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    background: #071f30;
}
.admin-hero-video-main {
    height: 100%;
    min-height: 320px;
    max-height: 460px;
}
@media (max-width: 991.98px) {
    .admin-hero-video-main {
        height: auto;
        min-height: 0;
        max-height: none;
    }
}


/* Promo, QRIS, dan stabilitas unggah gambar */
.product-card-media-link {
    isolation: isolate;
}
.product-card-promo {
    position: absolute;
    z-index: 3;
    top: 14px;
    left: 14px;
}
.promo-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: .35rem .68rem;
    border-radius: 999px;
    color: #7a2e00;
    background: #fff0bf;
    border: 1px solid #f2d36e;
    font-size: .73rem;
    font-weight: 850;
    line-height: 1.2;
}
.promo-old-price {
    color: #8a94a0;
    font-size: .8rem;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: line-through;
}
.promo-period {
    color: var(--text-muted);
    font-size: .75rem;
}
.promo-highlight {
    padding: 1rem;
    border: 1px solid #f0d77f;
    border-radius: 14px;
    background: #fff9e8;
}
.promo-highlight small {
    display: block;
    margin-top: .35rem;
}
.promo-fields-inactive {
    opacity: .55;
}
.route-price-block {
    flex: 0 0 auto;
}
.route-price-block > * {
    display: block;
}
.qris-payment-image {
    display: block;
    width: min(100%, 430px);
    max-height: 480px;
    margin: .8rem auto 0;
    object-fit: contain;
    border: 1px solid #dfe7ec;
    border-radius: 16px;
    background: #fff;
}
.admin-upload-preview-qris {
    aspect-ratio: 1 / 1;
    max-width: 440px;
}
.file-processing-note {
    margin-top: .45rem;
    color: var(--brand-primary);
    font-size: .78rem;
    font-weight: 700;
}
input[data-compress-image][data-processing="true"] {
    opacity: .7;
}

@media (max-width: 575.98px) {
    .route-item {
        align-items: flex-start;
        flex-direction: column;
    }
    .route-price-block {
        width: 100%;
        text-align: left !important;
    }
}

/* Katalog minimalis dan responsif */
.product-grid-responsive {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}
.product-grid-item {
    min-width: 0;
}
.product-grid-empty {
    grid-column: 1 / -1;
}
.product-card-compact {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e4ebf0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 9px 24px rgba(15, 50, 75, .08);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.product-card-compact:hover {
    border-color: #bfd4df;
    box-shadow: 0 14px 30px rgba(15, 50, 75, .13);
    transform: translateY(-3px);
}
.product-card-compact .product-card-media-link {
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid #e9eef2;
    background: #eef3f6;
}
.product-card-compact .product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    background: #eef3f6;
}
.product-card-compact:hover .product-card-image,
.product-card-compact:focus-within .product-card-image {
    transform: scale(1.015);
}
.product-card-compact .product-card-promo {
    top: .65rem;
    left: .65rem;
    max-width: calc(100% - 1.3rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-card-compact .product-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    padding: .9rem;
}
.product-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    min-width: 0;
}
.product-card-compact .product-badge,
.product-featured-badge {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: .28rem .55rem;
    border-radius: 999px;
    font-size: .66rem;
    font-weight: 800;
    line-height: 1.2;
}
.product-card-compact .product-badge {
    overflow: hidden;
    color: var(--brand-primary);
    background: #e7f4fa;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-featured-badge {
    flex: 0 0 auto;
    color: #7b5300;
    background: #fff1b8;
}
.product-card-title {
    display: -webkit-box;
    min-height: 2.55em;
    margin: .7rem 0 .35rem;
    overflow: hidden;
    font-size: .98rem;
    font-weight: 800;
    line-height: 1.28;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.product-card-description {
    display: -webkit-box;
    min-height: 3.75em;
    margin: 0 0 .75rem;
    overflow: hidden;
    color: var(--text-muted);
    font-size: .78rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.product-card-footer {
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px solid #edf1f4;
}
.product-card-price {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    column-gap: .25rem;
    min-width: 0;
}
.product-card-price > small,
.product-card-price > .promo-old-price {
    grid-column: 1 / -1;
}
.product-card-price > small {
    color: var(--text-muted);
    font-size: .66rem;
    font-weight: 700;
}
.product-card-price > strong {
    min-width: 0;
    overflow: hidden;
    color: var(--brand-primary);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-card-price > span:not(.promo-old-price) {
    color: var(--text-muted);
    font-size: .67rem;
    white-space: nowrap;
}
.product-card-compact .promo-old-price {
    margin-bottom: .08rem;
    font-size: .68rem;
}
.product-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
    margin-top: .7rem;
}
.product-card-actions .btn {
    min-width: 0;
    padding: .48rem .55rem;
    border-radius: 10px;
    font-size: .73rem;
    line-height: 1.2;
}
.product-card-actions .btn-brand {
    box-shadow: none;
}

/* Tombol salin nomor rekening */
.bank-account-number-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .55rem;
    margin-top: .2rem;
}
.bank-account-number-row strong {
    min-width: 0;
    margin-top: 0;
}
.copy-account-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    min-height: 32px;
    padding: .38rem .58rem;
    border: 1px solid #9fc9db;
    border-radius: 9px;
    color: var(--brand-primary);
    background: #fff;
    font-size: .7rem;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}
.copy-account-button:hover,
.copy-account-button:focus-visible {
    border-color: var(--brand-primary);
    background: #f2f9fc;
}
.copy-account-button.is-copied {
    border-color: #2f9d68;
    color: #167447;
    background: #e9f8f0;
}
.copy-account-feedback {
    min-height: 1.2em;
    margin-top: .35rem;
    color: #167447 !important;
    font-size: .67rem !important;
    font-weight: 700;
}

@media (min-width: 576px) {
    .product-grid-responsive {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 768px) {
    .product-grid-responsive {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 992px) {
    .product-grid-responsive {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 575.98px) {
    .product-grid-responsive {
        gap: .85rem;
    }
    .product-card-compact .product-card-media-link {
        aspect-ratio: 16 / 10;
    }
    .product-card-title,
    .product-card-description {
        min-height: 0;
    }
    .bank-account-number-row {
        align-items: flex-start;
        flex-direction: column;
    }
    .copy-account-button {
        width: 100%;
    }
}
