/* ============================================================
   SCIENTIA SQUARE PARK — TICKETING THEME
   Token & gaya visual diselaraskan dengan situs terbaru SQP
   (https://demo.scientiasquarepark.com/)
   ============================================================ */

:root {
    /* ---- Brand green ---- */
    --sqp-green-900: #007030;
    --sqp-green-800: #007940;   /* primary  */
    --sqp-green-700: #007940;
    --sqp-green-600: #109431;
    --sqp-green-500: #1e9a3d;
    --sqp-green-200: #eaf6ed;
    --sqp-green-100: #ebf5ec;
    --sqp-mint:      #eaf6ed;
    --sqp-footer-top:#dcefe1;

    /* ---- Accent ---- */
    --sqp-yellow-500: #f4ce22;
    --sqp-yellow-400: #facb30;
    --sqp-yellow-300: #f6f8d3;
    --sqp-peach-200:  #fae5d1;
    --sqp-teal-300:   #b1ede7;
    --sqp-olive-700:  #657427;
    --sqp-olive-900:  #49583a;

    /* ---- Neutral ---- */
    --sqp-white:      #ffffff;
    --sqp-warm-white: #fffdf6;
    --sqp-n-50:  #f5f5f5;
    --sqp-n-100: #eeeeee;
    --sqp-n-200: #e6e6e6;
    --sqp-n-400: #a6a6a6;
    --sqp-n-700: #818181;
    --sqp-n-900: #111111;

    --sqp-text:        var(--sqp-n-900);
    --sqp-text-muted:  var(--sqp-n-700);
    --sqp-border:      var(--sqp-n-200);
    --sqp-danger:      #c0392b;
    --sqp-danger-bg:   #fff0f0;

    /* ---- Typography ---- */
    --sqp-font-body:    "Ubuntu", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --sqp-font-display: "Baloo 2", "Ubuntu", -apple-system, sans-serif;

    /* ---- Radius ---- */
    --sqp-r-sm:   8px;
    --sqp-r-md:   12px;
    --sqp-r-lg:   24px;
    --sqp-r-full: 999px;

    /* ---- Shadow ---- */
    --sqp-sh-sm: 0 1px 3px rgba(0,0,0,.08);
    --sqp-sh-md: 0 4px 12px rgba(0,0,0,.12);
    --sqp-sh-lg: 0 10px 28px rgba(0,0,0,.16);
    --sqp-sh-xl: 0 20px 40px rgba(0,0,0,.25);

    /* ---- Layout ---- */
    --sqp-content: 1180px;
    --sqp-ease: cubic-bezier(.33, 1, .68, 1);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body, body.sqp-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--sqp-font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--sqp-text);
    background: var(--sqp-warm-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sqp-font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--sqp-green-900);
    margin: 0 0 .5em;
}

a { color: var(--sqp-green-800); text-decoration: none; transition: color .2s var(--sqp-ease); }
a:hover { color: var(--sqp-green-600); text-decoration: none; }

img { max-width: 100%; }

.sqp-main { flex: 1 0 auto; width: 100%; }

.sqp-container {
    width: 100%;
    max-width: var(--sqp-content);
    margin: 0 auto;
    padding: 0 20px;
}
.sqp-container--narrow { max-width: 820px; }

.sqp-muted     { color: var(--sqp-text-muted); }
.sqp-text-sm   { font-size: 14px; }
.sqp-text-xs   { font-size: 12px; }
.sqp-strong    { font-weight: 700; }
.sqp-center    { text-align: center; }

/* ============================================================
   HEADER / NAVIGASI
   ============================================================ */
.sqp-topbar {
    background: var(--sqp-green-900);
    color: rgba(255,255,255,.9);
    font-size: 12.5px;
    letter-spacing: .2px;
}
.sqp-topbar .sqp-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 36px;
    flex-wrap: wrap;
}
.sqp-topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.sqp-topbar a { color: var(--sqp-yellow-400); font-weight: 500; }
.sqp-topbar a:hover { color: var(--sqp-white); }

.sqp-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--sqp-border);
    box-shadow: var(--sqp-sh-sm);
}
.sqp-header .sqp-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
}
.sqp-brand { display: inline-flex; align-items: center; gap: 12px; }
.sqp-brand img { height: 40px; width: auto; display: block; }
.sqp-brand__label {
    font-family: var(--sqp-font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--sqp-green-800);
    padding-left: 12px;
    border-left: 2px solid var(--sqp-border);
}
.sqp-header__actions { display: inline-flex; align-items: center; gap: 10px; }

/* Strip kategori tiket */
.sqp-catnav {
    background: linear-gradient(90deg, var(--sqp-green-800) 0%, var(--sqp-green-600) 100%);
    padding: 10px 0;
}
.sqp-catnav__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0;
}
/* $category dari controller memakai inline style + pemisah " | " */
.sqp-catnav__inner a,
.sqp-catnav__inner a.category {
    display: inline-block;
    color: var(--sqp-white) !important;
    font-family: var(--sqp-font-display);
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: .6px;
    padding: 7px 18px;
    margin: 3px;
    border-radius: var(--sqp-r-full);
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    transition: background .25s var(--sqp-ease), transform .25s var(--sqp-ease);
}
.sqp-catnav__inner a:hover {
    background: var(--sqp-yellow-400);
    color: var(--sqp-green-900) !important;
    transform: translateY(-2px);
}
/* sembunyikan separator "|" bawaan controller */
.sqp-catnav__inner { color: transparent; }

/* ============================================================
   TOMBOL
   ============================================================ */
.sqp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--sqp-font-display);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .3px;
    line-height: 1;
    min-height: 44px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: var(--sqp-r-full);
    cursor: pointer;
    text-align: center;
    transition: transform .2s var(--sqp-ease), box-shadow .2s var(--sqp-ease),
                background .2s var(--sqp-ease), color .2s var(--sqp-ease);
}
.sqp-btn:active { transform: translateY(1px) scale(.99); }
.sqp-btn:focus-visible { outline: 3px solid var(--sqp-yellow-400); outline-offset: 2px; }

.sqp-btn--primary {
    background: var(--sqp-green-800);
    color: var(--sqp-white);
    box-shadow: 0 6px 16px rgba(0,121,64,.28);
}
.sqp-btn--primary:hover {
    background: var(--sqp-green-600);
    color: var(--sqp-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,121,64,.34);
}

.sqp-btn--accent {
    background: var(--sqp-yellow-400);
    color: var(--sqp-green-900);
    box-shadow: 0 6px 16px rgba(250,203,48,.4);
}
.sqp-btn--accent:hover {
    background: var(--sqp-yellow-500);
    color: var(--sqp-green-900);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(250,203,48,.5);
}

.sqp-btn--ghost {
    background: transparent;
    color: var(--sqp-green-800);
    border-color: var(--sqp-green-800);
}
.sqp-btn--ghost:hover { background: var(--sqp-green-200); color: var(--sqp-green-900); }

.sqp-btn--light {
    background: var(--sqp-white);
    color: var(--sqp-green-800);
    border-color: var(--sqp-border);
    box-shadow: var(--sqp-sh-sm);
}
.sqp-btn--light:hover { background: var(--sqp-green-200); }

.sqp-btn--sm { min-height: 36px; font-size: 13.5px; padding: 0 16px; }
.sqp-btn--block { width: 100%; }
.sqp-btn[disabled], .sqp-btn.is-disabled { opacity: .5; pointer-events: none; }

/* Kilau halus pada tombol utama */
.sqp-btn--shine { position: relative; overflow: hidden; }
.sqp-btn--shine::after {
    content: "";
    position: absolute;
    top: 0; left: -140%;
    width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
    transform: skewX(-18deg);
}
.sqp-btn--shine:hover::after { animation: sqp-shine .85s var(--sqp-ease); }
@keyframes sqp-shine { to { left: 160%; } }

/* ============================================================
   KARTU
   ============================================================ */
.sqp-card {
    background: var(--sqp-white);
    border: 1px solid var(--sqp-border);
    border-radius: var(--sqp-r-lg);
    box-shadow: var(--sqp-sh-sm);
    overflow: hidden;
}
.sqp-card__body { padding: 24px; }
.sqp-card__header {
    padding: 20px 24px;
    background: var(--sqp-green-200);
    border-bottom: 1px solid var(--sqp-border);
}
.sqp-card__header h2, .sqp-card__header h3 { margin: 0; }

/* ---- Kartu produk tiket ---- */
.sqp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.sqp-ticket {
    display: flex;
    flex-direction: column;
    background: var(--sqp-white);
    border: 1px solid var(--sqp-border);
    border-radius: var(--sqp-r-lg);
    overflow: hidden;
    box-shadow: var(--sqp-sh-sm);
    transition: transform .3s var(--sqp-ease), box-shadow .3s var(--sqp-ease),
                border-color .3s var(--sqp-ease);
}
.sqp-ticket:hover {
    transform: translateY(-6px);
    box-shadow: var(--sqp-sh-lg);
    border-color: var(--sqp-green-500);
}
.sqp-ticket__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--sqp-green-200);
    overflow: hidden;
}
.sqp-ticket__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--sqp-ease);
}
.sqp-ticket:hover .sqp-ticket__media img { transform: scale(1.06); }
.sqp-ticket__tag {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--sqp-yellow-400);
    color: var(--sqp-green-900);
    font-family: var(--sqp-font-display);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: .6px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: var(--sqp-r-full);
    box-shadow: var(--sqp-sh-sm);
}
.sqp-ticket__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.sqp-ticket__title {
    font-family: var(--sqp-font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--sqp-green-900);
    margin: 0;
    line-height: 1.25;
}
.sqp-ticket__price {
    font-family: var(--sqp-font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--sqp-green-800);
    line-height: 1.1;
}
.sqp-ticket__price small {
    display: block;
    font-family: var(--sqp-font-body);
    font-size: 12px;
    font-weight: 400;
    color: var(--sqp-text-muted);
    margin-top: 2px;
}
.sqp-ticket__meta {
    font-size: 12.5px;
    color: var(--sqp-text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sqp-ticket__meta span { display: flex; align-items: flex-start; gap: 6px; }
.sqp-ticket__note {
    font-size: 12.5px;
    color: var(--sqp-text-muted);
    background: var(--sqp-n-50);
    border-radius: var(--sqp-r-md);
    padding: 10px 12px;
    max-height: 108px;
    overflow: auto;
}
.sqp-ticket__note p { margin: 0 0 6px; }
.sqp-ticket__foot { margin-top: auto; padding-top: 6px; }

/* Chip daftar harga */
.sqp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sqp-chip {
    display: inline-block;
    background: var(--sqp-green-200);
    color: var(--sqp-green-900);
    border-radius: var(--sqp-r-full);
    padding: 4px 11px;
    font-size: 11.5px;
    font-weight: 500;
    white-space: nowrap;
}
.sqp-chip--accent { background: var(--sqp-yellow-300); color: var(--sqp-olive-700); }

/* ============================================================
   HERO
   ============================================================ */
.sqp-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--sqp-green-800) 0%, var(--sqp-green-600) 60%, var(--sqp-green-500) 100%);
    color: var(--sqp-warm-white);
    padding: 54px 0 60px;
}
.sqp-hero__inner { position: relative; z-index: 2; text-align: center; }
.sqp-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: var(--sqp-r-full);
    padding: 6px 16px;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.sqp-hero h1 {
    font-family: var(--sqp-font-display);
    color: var(--sqp-white);
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 800;
    margin: 0 0 12px;
    text-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.sqp-hero h1 em {
    font-style: normal;
    color: var(--sqp-yellow-400);
}
.sqp-hero p {
    max-width: 620px;
    margin: 0 auto;
    font-size: 15.5px;
    line-height: 1.6;
    color: rgba(255,255,255,.92);
}
.sqp-hero__points {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.sqp-hero__point {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: var(--sqp-r-full);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
}
.sqp-hero__point b { color: var(--sqp-yellow-400); font-weight: 700; }

/* Bentuk dekoratif melayang */
.sqp-blob {
    position: absolute;
    border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
    opacity: .18;
    pointer-events: none;
    z-index: 1;
}
.sqp-blob--1 { width: 260px; height: 260px; background: var(--sqp-yellow-400); top: -80px; left: -60px; animation: sqp-float 11s ease-in-out infinite; }
.sqp-blob--2 { width: 200px; height: 200px; background: var(--sqp-teal-300); bottom: -70px; right: -40px; animation: sqp-float 9s ease-in-out infinite reverse; }
.sqp-blob--3 { width: 130px; height: 130px; background: var(--sqp-peach-200); top: 30px; right: 14%; animation: sqp-float 13s ease-in-out infinite; }

@keyframes sqp-float {
    0%, 100% { transform: translate3d(0,0,0) rotate(0deg); }
    50%      { transform: translate3d(14px,-22px,0) rotate(9deg); }
}

/* Pita bergelombang di bawah hero */
.sqp-wave { display: block; width: 100%; height: 44px; margin-top: -1px; }

/* ============================================================
   LANGKAH TRANSAKSI
   ============================================================ */
.sqp-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 20px 0 4px;
    list-style: none;
    margin: 0;
    flex-wrap: wrap;
}
.sqp-steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 6px;
    min-width: 92px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--sqp-text-muted);
}
.sqp-steps li::before {
    content: "";
    position: absolute;
    top: 15px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: var(--sqp-border);
    z-index: 0;
}
.sqp-steps li:first-child::before { display: none; }
.sqp-steps__dot {
    position: relative;
    z-index: 1;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--sqp-white);
    border: 2px solid var(--sqp-border);
    color: var(--sqp-n-400);
    font-family: var(--sqp-font-display);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sqp-steps li.is-done .sqp-steps__dot {
    background: var(--sqp-green-200);
    border-color: var(--sqp-green-500);
    color: var(--sqp-green-800);
}
.sqp-steps li.is-done::before { background: var(--sqp-green-500); }
.sqp-steps li.is-active { color: var(--sqp-green-900); font-weight: 700; }
.sqp-steps li.is-active .sqp-steps__dot {
    background: var(--sqp-green-800);
    border-color: var(--sqp-green-800);
    color: var(--sqp-white);
    box-shadow: 0 0 0 5px rgba(0,121,64,.14);
    animation: sqp-pulse 2.2s ease-in-out infinite;
}
.sqp-steps li.is-active::before { background: var(--sqp-green-500); }
@keyframes sqp-pulse {
    0%, 100% { box-shadow: 0 0 0 5px rgba(0,121,64,.14); }
    50%      { box-shadow: 0 0 0 10px rgba(0,121,64,.05); }
}

/* ============================================================
   BAGIAN / JUDUL
   ============================================================ */
.sqp-section { padding: 40px 0; }
.sqp-section--tight { padding: 28px 0; }
.sqp-section-head { text-align: center; margin-bottom: 28px; }
.sqp-section-head h2 {
    font-size: clamp(22px, 3.4vw, 30px);
    margin: 0 0 8px;
}
.sqp-section-head p { margin: 0; color: var(--sqp-text-muted); font-size: 15px; }

.sqp-page-head {
    background: var(--sqp-green-200);
    border-bottom: 1px solid rgba(0,121,64,.12);
    padding: 22px 0 14px;
}
.sqp-page-head h1 {
    text-align: center;
    font-size: clamp(21px, 3.2vw, 28px);
    margin: 0 0 2px;
}
.sqp-page-head p { text-align: center; margin: 0; font-size: 14px; color: var(--sqp-olive-900); }

/* ============================================================
   FORM
   ============================================================ */
.sqp-field { margin-bottom: 16px; }
.sqp-label {
    display: block;
    font-family: var(--sqp-font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--sqp-green-900);
    margin-bottom: 6px;
}
.sqp-label .sqp-hint {
    font-family: var(--sqp-font-body);
    font-weight: 400;
    font-size: 12px;
    color: var(--sqp-text-muted);
    margin-left: 4px;
}
.sqp-label .sqp-req { color: var(--sqp-danger); }

.sqp-input,
.sqp-select,
select.sqp-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    font-family: var(--sqp-font-body);
    font-size: 15px;
    color: var(--sqp-text);
    background: var(--sqp-white);
    border: 1.5px solid var(--sqp-border);
    border-radius: var(--sqp-r-md);
    outline: none;
    transition: border-color .2s var(--sqp-ease), box-shadow .2s var(--sqp-ease);
    -webkit-appearance: none;
    appearance: none;
}
.sqp-select, select.sqp-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23007940' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}
.sqp-input:focus, .sqp-select:focus, select.sqp-input:focus {
    border-color: var(--sqp-green-500);
    box-shadow: 0 0 0 3px rgba(30,154,61,.16);
}
.sqp-input[readonly]:not(.sqp-input--picker) { background: var(--sqp-n-50); }
.sqp-input::placeholder { color: var(--sqp-n-400); }

.sqp-field--split { display: flex; gap: 10px; }
.sqp-field--split > * { flex: 1; min-width: 0; }

/* Stepper jumlah tiket */
.sqp-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1.5px solid var(--sqp-border);
    border-radius: var(--sqp-r-full);
    overflow: hidden;
    background: var(--sqp-white);
}
.sqp-stepper__btn {
    width: 46px;
    border: 0;
    background: var(--sqp-green-200);
    color: var(--sqp-green-800);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background .2s var(--sqp-ease), color .2s var(--sqp-ease);
}
.sqp-stepper__btn:hover:not([disabled]) { background: var(--sqp-green-800); color: var(--sqp-white); }
.sqp-stepper__btn[disabled] { opacity: .4; cursor: not-allowed; }
.sqp-stepper input {
    width: 78px;
    border: 0;
    border-left: 1.5px solid var(--sqp-border);
    border-right: 1.5px solid var(--sqp-border);
    text-align: center;
    font-family: var(--sqp-font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--sqp-green-900);
    outline: none;
    min-height: 48px;
    background: var(--sqp-white);
}

/* Ringkasan harga */
.sqp-summary {
    background: var(--sqp-green-200);
    border: 1px dashed var(--sqp-green-500);
    border-radius: var(--sqp-r-md);
    padding: 14px 16px;
    margin: 4px 0 18px;
}
.sqp-summary__title {
    font-family: var(--sqp-font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--sqp-green-900);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sqp-summary table { width: 100%; font-size: 13.5px; }
.sqp-summary td { padding: 3px 0; }
.sqp-summary td:last-child { text-align: right; font-weight: 600; }
.sqp-summary tr.is-total td {
    border-top: 1px solid rgba(0,121,64,.25);
    padding-top: 8px;
    font-family: var(--sqp-font-display);
    font-size: 16px;
    font-weight: 800;
    color: var(--sqp-green-800);
}

/* Notifikasi */
.sqp-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: var(--sqp-r-md);
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 16px;
}
.sqp-alert--danger  { background: var(--sqp-danger-bg); color: var(--sqp-danger); }
.sqp-alert--success { background: var(--sqp-green-200); color: var(--sqp-green-900); }
.sqp-alert--info    { background: var(--sqp-yellow-300); color: var(--sqp-olive-700); }

/* Kesepakatan syarat & ketentuan */
.sqp-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--sqp-n-50);
    border: 1px solid var(--sqp-border);
    border-radius: var(--sqp-r-md);
    padding: 14px 16px;
    font-size: 14px;
    cursor: pointer;
}
.sqp-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--sqp-green-800); flex-shrink: 0; }

/* Baris aksi */
.sqp-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.sqp-actions--end { justify-content: flex-end; }

/* ============================================================
   TABEL RINCIAN PESANAN
   ============================================================ */
.sqp-dl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.sqp-dl th, .sqp-dl td { padding: 10px 0; vertical-align: top; text-align: left; }
.sqp-dl th {
    font-weight: 400;
    color: var(--sqp-text-muted);
    width: 46%;
    padding-right: 12px;
}
.sqp-dl td { font-weight: 600; }
.sqp-dl tr + tr th, .sqp-dl tr + tr td { border-top: 1px solid var(--sqp-n-100); }
.sqp-dl tr.is-total th, .sqp-dl tr.is-total td {
    border-top: 2px solid var(--sqp-green-500);
    padding-top: 14px;
    font-family: var(--sqp-font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--sqp-green-800);
}
.sqp-dl tr.is-discount td { color: var(--sqp-green-600); }

.sqp-tc {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--sqp-text-muted);
    max-height: 320px;
    overflow: auto;
    padding-right: 6px;
}
.sqp-tc p, .sqp-tc li { margin: 0 0 8px; }

/* ============================================================
   HALAMAN HASIL (sukses / gagal)
   ============================================================ */
.sqp-result {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 24px 60px;
}
.sqp-result h1 { font-size: clamp(24px, 4vw, 34px); margin-bottom: 12px; }
.sqp-result p { color: var(--sqp-text-muted); font-size: 15.5px; line-height: 1.65; }

.sqp-mark { width: 108px; height: 108px; margin: 0 auto 22px; display: block; }
.sqp-mark__circle {
    stroke: var(--sqp-green-500);
    stroke-width: 4;
    stroke-dasharray: 302;
    stroke-dashoffset: 302;
    fill: none;
    animation: sqp-draw .8s var(--sqp-ease) forwards;
}
.sqp-mark__check {
    stroke: var(--sqp-green-800);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 70;
    stroke-dashoffset: 70;
    fill: none;
    animation: sqp-draw .5s var(--sqp-ease) .55s forwards;
}
.sqp-mark--fail .sqp-mark__circle { stroke: var(--sqp-danger); }
.sqp-mark--fail .sqp-mark__check  { stroke: var(--sqp-danger); }
@keyframes sqp-draw { to { stroke-dashoffset: 0; } }

.sqp-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.sqp-confetti i {
    position: absolute;
    top: -12px;
    width: 9px; height: 14px;
    border-radius: 2px;
    opacity: .85;
    animation: sqp-fall linear infinite;
}
@keyframes sqp-fall {
    0%   { transform: translateY(-10px) rotate(0deg); opacity: 0; }
    10%  { opacity: .9; }
    100% { transform: translateY(560px) rotate(680deg); opacity: 0; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.sqp-footer { flex-shrink: 0; margin-top: auto; }
.sqp-footer__top {
    background: var(--sqp-footer-top);
    color: var(--sqp-olive-900);
    padding: 36px 0 28px;
}
.sqp-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}
.sqp-footer__logo { height: 46px; width: auto; margin-bottom: 12px; }
.sqp-footer h4 {
    font-family: var(--sqp-font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--sqp-green-900);
    margin: 0 0 10px;
}
.sqp-footer p, .sqp-footer li { font-size: 13.5px; line-height: 1.65; margin: 0 0 6px; }
.sqp-footer ul { list-style: none; padding: 0; margin: 0; }
.sqp-footer a { color: var(--sqp-green-800); font-weight: 500; }
.sqp-footer a:hover { color: var(--sqp-green-600); text-decoration: underline; }
.sqp-footer__hours {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px dashed rgba(73,88,58,.25);
    padding-bottom: 5px;
    margin-bottom: 7px;
    font-size: 13px;
}
.sqp-footer__bottom {
    background: var(--sqp-green-900);
    color: rgba(255,255,255,.82);
    padding: 14px 0;
    font-size: 12.5px;
}
.sqp-footer__bottom .sqp-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
}
.sqp-footer__bottom a { color: var(--sqp-yellow-400); }
.sqp-footer__bottom a:hover { color: var(--sqp-white); }

.sqp-social { display: flex; gap: 8px; margin-top: 10px; }
.sqp-social a {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--sqp-green-800);
    color: var(--sqp-white) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s var(--sqp-ease), background .25s var(--sqp-ease);
}
.sqp-social a:hover { background: var(--sqp-yellow-400); color: var(--sqp-green-900) !important; transform: translateY(-3px); }

/* Tombol bantuan WhatsApp mengambang */
.sqp-wa {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 950;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--sqp-sh-lg);
    transition: transform .25s var(--sqp-ease);
}
.sqp-wa:hover { transform: scale(1.08); }

/* ============================================================
   ANIMASI MASUK (reveal saat scroll)
   ============================================================ */
.sqp-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .6s var(--sqp-ease), transform .6s var(--sqp-ease);
}
.sqp-reveal.is-visible { opacity: 1; transform: none; }

.sqp-fade-up { animation: sqp-fade-up .7s var(--sqp-ease) both; }
@keyframes sqp-fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination, ul.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
}
.pagination a, .pagination strong, ul.pagination li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px; height: 38px;
    padding: 0 12px;
    border-radius: var(--sqp-r-full);
    border: 1px solid var(--sqp-border);
    background: var(--sqp-white);
    color: var(--sqp-green-800) !important;
    font-size: 14px;
    font-weight: 600;
    float: none !important;
    text-decoration: none;
    transition: background .2s var(--sqp-ease), color .2s var(--sqp-ease);
}
.pagination a:hover, ul.pagination li a:hover { background: var(--sqp-green-200); }
.pagination strong, .pagination a.active, ul.pagination li a.active {
    background: var(--sqp-green-800) !important;
    border-color: var(--sqp-green-800);
    color: var(--sqp-white) !important;
}

/* ============================================================
   OVERRIDE PLUGIN (ddslick, pickadate, bootstrap-datepicker)
   ============================================================ */
/* --- ddslick: pemilih metode pembayaran --- */
.dd-container { width: 100% !important; }
.dd-select {
    width: 100% !important;
    border: 1.5px solid var(--sqp-border) !important;
    border-radius: var(--sqp-r-md) !important;
    background: var(--sqp-white) !important;
    min-height: 48px;
    padding: 4px 6px !important;
}
.dd-selected {
    display: flex !important;
    align-items: center;
    padding: 6px 8px !important;
    font-weight: 500 !important;
    color: var(--sqp-text) !important;
    overflow: visible !important;
}
.dd-selected-text { font-weight: 600 !important; font-size: 14.5px; }
.dd-selected-description { font-size: 12px; color: var(--sqp-text-muted); }
.dd-selected-image, .dd-option-image { max-width: 42px; max-height: 26px; object-fit: contain; margin-right: 10px; }
.dd-pointer-down { border-top-color: var(--sqp-green-800) !important; }
.dd-pointer-up   { border-bottom-color: var(--sqp-green-800) !important; }
.dd-options {
    border: 1.5px solid var(--sqp-border) !important;
    border-radius: var(--sqp-r-md) !important;
    box-shadow: var(--sqp-sh-lg) !important;
    overflow: hidden auto !important;
    z-index: 800 !important;
}
.dd-option { padding: 10px 12px !important; border-bottom: 1px solid var(--sqp-n-100) !important; }
.dd-option:hover { background: var(--sqp-green-200) !important; }
.dd-option-selected { background: var(--sqp-green-200) !important; }
.dd-option-text { font-size: 14.5px !important; font-weight: 600; color: var(--sqp-text) !important; }
.dd-option-description { font-size: 12px !important; color: var(--sqp-text-muted) !important; }

/* --- pickadate: kalender tanggal kunjungan --> lihat assets/css/sqp-datepicker.css
       (dimuat setelah tema classic pickadate di form.html) --- */

/* --- bootstrap-datepicker (halaman reschedule) --- */
.datepicker {
    font-family: var(--sqp-font-body);
    border: none;
    border-radius: var(--sqp-r-lg);
    box-shadow: var(--sqp-sh-lg);
    padding: 10px;
    z-index: 9999 !important;
}
.datepicker table tr td, .datepicker table tr th { border-radius: var(--sqp-r-sm); font-size: .88rem; }
.datepicker table tr td.day:hover,
.datepicker table tr td span:hover,
.datepicker thead tr:first-child th:hover { background: var(--sqp-green-200); color: var(--sqp-green-900); }
.datepicker table tr td.active.active,
.datepicker table tr td.active:hover,
.datepicker table tr td span.active.active {
    background: var(--sqp-green-800) !important;
    background-image: none !important;
    color: var(--sqp-white) !important;
    border: none !important;
    text-shadow: none !important;
}
.datepicker table tr td.today,
.datepicker table tr td.today:hover { background: var(--sqp-yellow-300) !important; color: var(--sqp-olive-700) !important; font-weight: 700; }
.datepicker table tr td.disabled, .datepicker table tr td.disabled:hover { color: var(--sqp-n-400); }
.datepicker table tr td.old, .datepicker table tr td.new { color: var(--sqp-n-400); }
.datepicker table tr th.dow { color: var(--sqp-green-800); font-weight: 700; font-size: .78rem; }
.datepicker .datepicker-switch { font-family: var(--sqp-font-display); font-weight: 700; color: var(--sqp-green-900); }
.datepicker .prev, .datepicker .next { color: var(--sqp-green-800); font-weight: 700; }

/* blockUI */
.blockOverlay { background: var(--sqp-green-900) !important; }
.blockMsg { border: none !important; border-radius: var(--sqp-r-lg) !important; }

/* ============================================================
   RESPONSIF
   ============================================================ */
@media (max-width: 991px) {
    .sqp-two-col { grid-template-columns: 1fr !important; }
    .sqp-sticky { position: static !important; }
}
@media (max-width: 767px) {
    .sqp-topbar__item--hours { display: none; }
    .sqp-header .sqp-container { min-height: 60px; }
    .sqp-brand img { height: 32px; }
    .sqp-brand__label { display: none; }
    .sqp-hero { padding: 36px 0 42px; }
    .sqp-section { padding: 28px 0; }
    .sqp-card__body { padding: 18px; }
    .sqp-steps li { min-width: 70px; font-size: 10.5px; }
    .sqp-steps__dot { width: 28px; height: 28px; font-size: 12.5px; }
    .sqp-steps li::before { top: 13px; }
    .sqp-actions .sqp-btn { flex: 1 1 100%; }
}
@media (max-width: 480px) {
    .sqp-grid { grid-template-columns: 1fr; }
    .sqp-field--split { flex-wrap: wrap; }
    .sqp-field--split > * { flex: 1 1 100%; }
}

/* ============================================================
   AKSESIBILITAS — hormati preferensi kurangi gerak
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .sqp-reveal { opacity: 1; transform: none; }
}

/* Cetak */
@media print {
    .sqp-header, .sqp-topbar, .sqp-catnav, .sqp-footer, .sqp-wa, .sqp-actions { display: none !important; }
}

/* ============================================================
   TAMBAHAN — dekorasi hero & blok jaminan
   ============================================================ */
.sqp-hero__ticket {
    position: absolute;
    width: 150px;
    opacity: .28;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.18));
}
.sqp-hero__ticket--left  { left: 3%;  top: 22%; transform: rotate(-14deg); animation: sqp-sway 8s ease-in-out infinite; }
.sqp-hero__ticket--right { right: 3%; bottom: 14%; transform: rotate(11deg); animation: sqp-sway 10s ease-in-out infinite reverse; }
@keyframes sqp-sway {
    0%, 100% { transform: translateY(0) rotate(-12deg); }
    50%      { transform: translateY(-16px) rotate(-4deg); }
}
@media (max-width: 1100px) { .sqp-hero__ticket { display: none; } }

.sqp-assure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}
.sqp-assure__item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--sqp-white);
    border: 1px solid rgba(0,121,64,.14);
    border-radius: var(--sqp-r-lg);
    padding: 16px 18px;
    font-size: 14.5px;
    box-shadow: var(--sqp-sh-sm);
}
.sqp-assure__icon {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
    width: 46px; height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sqp-yellow-300);
    border-radius: var(--sqp-r-md);
}
.sqp-assure__item strong { font-family: var(--sqp-font-display); color: var(--sqp-green-900); }

/* ---- Tata letak dua kolom (form pemesanan) ---- */
.sqp-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 24px;
    align-items: start;
}
.sqp-sticky { position: sticky; top: 92px; }

/* ---- Kartu ringkasan tiket terpilih ---- */
.sqp-picked__media {
    border-radius: var(--sqp-r-md);
    overflow: hidden;
    background: var(--sqp-green-200);
    margin-bottom: 14px;
    aspect-ratio: 4 / 3;
}
.sqp-picked__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sqp-picked h2 { font-size: 21px; margin: 0 0 10px; }

/* ============================================================
   TAMBAHAN — konfirmasi, pembayaran & halaman hasil
   ============================================================ */
.sqp-order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: var(--sqp-green-200);
    border-radius: var(--sqp-r-md);
    padding: 14px 16px;
}
.sqp-order-code {
    font-family: var(--sqp-font-display);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--sqp-green-900);
}

.sqp-paybox {
    background: linear-gradient(150deg, var(--sqp-green-800), var(--sqp-green-600));
    border-radius: var(--sqp-r-md);
    padding: 20px;
    color: rgba(255,255,255,.9);
    text-align: center;
}
.sqp-paybox .sqp-muted, .sqp-paybox .sqp-text-sm, .sqp-paybox .sqp-text-xs { color: rgba(255,255,255,.82) !important; }
.sqp-paybox__total {
    font-family: var(--sqp-font-display);
    font-size: 30px;
    font-weight: 800;
    color: var(--sqp-yellow-400);
    line-height: 1.15;
    margin: 4px 0 2px;
}

.sqp-checkout-frame { width: 100%; background: var(--sqp-white); }
.sqp-checkout-frame iframe {
    display: block;
    width: 100%;
    height: 1300px;
    border: 0;
}
@media (max-width: 767px) { .sqp-checkout-frame iframe { height: 1150px; } }

.sqp-next {
    display: grid;
    gap: 10px;
    text-align: left;
    margin: 26px auto 0;
    max-width: 430px;
}
.sqp-next__item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--sqp-green-200);
    border-radius: var(--sqp-r-md);
    padding: 12px 16px;
    font-size: 14.5px;
    color: var(--sqp-green-900);
}
.sqp-next__item span {
    flex-shrink: 0;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--sqp-green-800);
    color: var(--sqp-white);
    font-family: var(--sqp-font-display);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   HALAMAN GALAT (400 / 404)
   ============================================================ */
.sqp-error {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(160deg, var(--sqp-green-800) 0%, var(--sqp-green-600) 100%);
    position: relative;
    overflow: hidden;
}
.sqp-error__card {
    position: relative;
    z-index: 2;
    background: var(--sqp-white);
    border-radius: var(--sqp-r-lg);
    box-shadow: var(--sqp-sh-xl);
    max-width: 520px;
    width: 100%;
    padding: 40px 32px;
    text-align: center;
}
.sqp-error__logo { height: 42px; width: auto; margin-bottom: 20px; }
.sqp-error__code {
    font-family: var(--sqp-font-display);
    font-size: clamp(64px, 16vw, 104px);
    font-weight: 800;
    line-height: 1;
    color: var(--sqp-green-800);
    margin: 0;
    letter-spacing: -2px;
}
.sqp-error__card h2 { font-size: 21px; margin: 10px 0 8px; }
.sqp-error__card p { color: var(--sqp-text-muted); font-size: 15px; margin: 0 0 22px; }

/* ============================================================
   TAMBAHAN — grid informasi (halaman reschedule)
   ============================================================ */
.sqp-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}
.sqp-info-item {
    background: var(--sqp-n-50);
    border: 1px solid var(--sqp-border);
    border-radius: var(--sqp-r-md);
    padding: 11px 14px;
}
.sqp-info-item--full { grid-column: 1 / -1; }
.sqp-info-label {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--sqp-text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 3px;
}
.sqp-info-value {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--sqp-text);
    word-break: break-word;
}
