/* Presentation only: checkout selectors and transaction handlers stay unchanged. */
body.hs-detail{background:#f4f8f5;color:#142c23;font-family:Poppins,Arial,sans-serif}
.hs-detail .phone-shell{max-width:560px;background:#fff;border:1px solid #e3ece6;border-radius:22px;box-shadow:0 12px 40px #143c2208}
.hs-detail .phone-shell>div.px-4{padding-left:22px;padding-right:22px}
.hs-detail .detail-cover{margin:0 -22px;border-radius:20px;overflow:hidden}
.hs-detail .detail-cover img{width:100%;height:auto;max-height:440px;object-fit:contain}
.hs-detail .detail-cover>.absolute{display:none}
.hs-detail .detail-overview{padding-top:22px;padding-bottom:22px;border-bottom:1px solid #e3ece6}
.hs-detail .detail-overview h1{font-size:26px;line-height:1.3;letter-spacing:-.7px;margin:4px 0 20px}
.hs-detail .detail-overview>span{background:#eaf5ed;color:#0A6522;border-radius:20px;padding:5px 12px}
.hs-detail .phone-shell h2{font-size:18px;letter-spacing:-.4px;line-height:1.4}
.hs-detail .phone-shell section{scroll-margin-top:95px}
.hs-detail .phone-shell section.mt-5{margin-top:28px}
.hs-detail .phone-shell section.mt-4{padding:16px;border:1px solid #e2ebe5;border-radius:16px;box-shadow:none}
.hs-detail .phone-shell input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not(.quantity-input):not(.checkout-total-input){border-radius:11px;background:#f5f8f6;color:#142c23}
.hs-detail .phone-shell input:focus-visible,.hs-detail .phone-shell button:focus-visible,.hs-detail .detail-action:focus-visible{outline:2px solid #0A6522;outline-offset:3px}
.hs-detail .detail-action,.hs-detail .checkout-button{background:linear-gradient(135deg,#16a34a 0%,#0A6522 100%);color:#fff;border-radius:14px;box-shadow:0 5px 14px #0a65221a}
.hs-detail .detail-action{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 20px;margin-top:20px;font-size:14px;font-weight:700;text-decoration:none}
.hs-detail .payment-card{min-height:70px;border-radius:14px;padding:16px;border-color:#dce7df;box-shadow:none}
.hs-detail .payment-card.selected{border-color:#0A6522;background:#f0f8f2;box-shadow:0 0 0 1px #0A6522}
.hs-detail .payment-card img{background:#fff;border-radius:6px;padding:3px;object-fit:contain}
.hs-detail #checkout-slider-captcha{height:56px;border-radius:16px;background:#edf3ef;border-color:#dce7df}
.hs-detail #checkout-slider-captcha-handle{height:46px;width:46px;background:#d9f2e1;color:#0A6522;border-radius:12px;touch-action:none}
.hs-detail #checkout-slider-captcha-label{font-weight:500}
.hs-detail #syaratKetentuanCheckbox{flex-shrink:0;accent-color:#0A6522;width:20px;height:20px}
.hs-detail label:has(#syaratKetentuanCheckbox){padding:8px 0;line-height:1.7}
.hs-detail label:has(#syaratKetentuanCheckbox) a{text-decoration:underline;text-underline-offset:3px}
.hs-detail #floatingContainer{max-width:560px}
.hs-detail .checkout-glass{background:#fff;border:1px solid #dce7df;border-radius:18px;box-shadow:0 -4px 24px #143c2210;backdrop-filter:none}
.hs-detail .checkout-glass::before{display:none}
.hs-detail .checkout-total-input{color:#0A6522;background:transparent!important}
html.dark body.hs-detail{background:#0f201c!important}
html.dark .hs-detail .phone-shell{background:#0f201c!important;border-color:#294b3c;box-shadow:none}
html.dark .hs-detail .phone-shell .bg-white,html.dark .hs-detail .phone-shell .bg-slate-50,html.dark .hs-detail .phone-shell .bg-slate-100{background:#17352b!important;border-color:#2e5144}
html.dark .hs-detail .detail-overview{border-color:#2e5144}
html.dark .hs-detail .detail-overview>span{background:#214e3c;color:#c2e9cf}
html.dark .hs-detail .phone-shell section.mt-4{background:#17352b;border-color:#2e5144}
html.dark .hs-detail .payment-card{background:#17352b!important;border-color:#355847}
html.dark .hs-detail .payment-card.selected{background:#214e3c!important;border-color:#8bd5a2;box-shadow:0 0 0 1px #8bd5a2}
html.dark .hs-detail .phone-shell input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not(.quantity-input):not(.checkout-total-input){background:#10291f;color:#ecf5ef;border-color:#355847}
html.dark .hs-detail #checkout-slider-captcha{background:#17352b;border-color:#355847}
html.dark .hs-detail #checkout-slider-captcha-progress{background:#285b3c}
html.dark .hs-detail #checkout-slider-captcha-handle{background:#b4e6c4;color:#0f3520}
html.dark .hs-detail .checkout-glass{background:#17352b;border-color:#2e5144}
html.dark .hs-detail .checkout-total-input{color:#b4e6c4}
html.dark .hs-detail .variation-card{background:#17352b;border-color:#355847;color:#ecf5ef}
html.dark .hs-detail .variation-card.is-selected{background:#214e3c;border-color:#8bd5a2}
@media(max-width:600px){.hs-detail .phone-shell{border:0;border-radius:0}.hs-detail .phone-shell>div.px-4{padding-left:18px;padding-right:18px}.hs-detail .detail-cover{margin:0 -18px}.hs-detail .detail-overview h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){.hs-detail *{scroll-behavior:auto!important}}

.hs-detail .detail-step-hidden{display:none!important}
.detail-steps{display:flex;gap:8px;justify-content:space-between;padding:18px 0;scroll-margin-top:90px;font-size:11px;color:#708177}
.detail-steps [aria-current]{color:#0A6522;font-weight:700;border-bottom:2px solid #0A6522;padding-bottom:8px}
.detail-step-controls{display:flex;gap:12px;align-items:center;margin-top:24px}
.detail-step-controls .detail-action{flex:1;margin:0;border:0;cursor:pointer}
.detail-step-controls [hidden]{display:none!important}
.detail-step-back{padding:14px 18px;border:1px solid #cddfd3;border-radius:14px;color:#0A6522;background:transparent}
.detail-step-error{color:#b91c1c;font-size:13px;margin-top:12px}
.dark .detail-steps [aria-current],.dark .detail-step-back{color:#b4e6c4;border-color:#7ebe90}
.dark .detail-step-error{color:#fca5a5}

/* Full-width event image, with image controls only on the first step. */
body.hs-detail{margin:0;padding-top:0}
.hs-detail .phone-shell,.hs-detail .detail-cover,.hs-detail .detail-cover img{border-radius:0}
.hs-detail .phone-shell{border-top:0}
.hs-detail .detail-steps,.hs-detail .phone-shell section{scroll-margin-top:16px}

/* Verification uses the same clear green gradient as the payment action. */
.hs-detail #checkout-slider-captcha,html.dark .hs-detail #checkout-slider-captcha{background:linear-gradient(135deg,#16a34a 0%,#0A6522 100%);border-color:#0A6522}
.hs-detail #checkout-slider-captcha-label,html.dark .hs-detail #checkout-slider-captcha-label{color:#fff!important;font-weight:600}
.hs-detail #checkout-slider-captcha-progress,html.dark .hs-detail #checkout-slider-captcha-progress{background:rgba(255,255,255,.12)}
.hs-detail #checkout-slider-captcha-handle,html.dark .hs-detail #checkout-slider-captcha-handle{background:#fff;color:#0A6522;border-color:rgba(255,255,255,.8);box-shadow:0 2px 6px #063c2226}

/* Animate only the arrow, leaving slider position and verification unchanged. */
@keyframes detail-slide-hint{0%,65%,100%{transform:translateX(0)}30%{transform:translateX(5px)}}
.hs-detail #checkout-slider-captcha:not(.is-dragging):not(.is-verified) #checkout-slider-captcha-handle .fa-arrow-right{animation:detail-slide-hint 1.6s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.hs-detail #checkout-slider-captcha-handle .fa-arrow-right{animation:none!important}}

/* Admission-ticket silhouette with a perforated quantity stub. */
.hs-detail .ticket-card{--ticket-edge:#d9e5dd;--ticket-cutout:#fff;overflow:hidden;border-radius:14px;border-color:var(--ticket-edge);display:flex;flex-direction:column}
.hs-detail .ticket-card.selected{--ticket-edge:#0A6522;background:#f3fbf6}
.hs-detail .ticket-card h3{padding-right:18px}
.hs-detail .ticket-stub{position:relative;margin-top:18px;padding-top:12px;border-top:1px dashed #b8cfc0}
.hs-detail .ticket-stub::before,.hs-detail .ticket-stub::after{content:"";position:absolute;top:-11px;width:20px;height:20px;border:1px solid var(--ticket-edge);border-radius:50%;background:var(--ticket-cutout);pointer-events:none}
.hs-detail .ticket-stub::before{left:-23px}.hs-detail .ticket-stub::after{right:-23px}
.hs-detail .ticket-stub>.mt-4{margin-top:0}
html.dark .hs-detail .ticket-card{--ticket-cutout:#0f201c;--ticket-edge:#355847;background:#17352b!important}
html.dark .hs-detail .ticket-card.selected{--ticket-edge:#8bd5a2;background:#214e3c!important}
html.dark .hs-detail .ticket-stub{border-color:#537460}
/* Move the handle and its arrow together without changing the drag transform. */
@keyframes detail-handle-hint{0%,65%,100%{translate:0 0}30%{translate:5px 0}}
@keyframes detail-verification-shimmer{0%,20%{transform:translateX(-160%)}75%,100%{transform:translateX(500%)}}
.hs-detail #checkout-slider-captcha-handle .fa-arrow-right{animation:none!important}
.hs-detail #checkout-slider-captcha:not(.is-dragging):not(.is-verified) #checkout-slider-captcha-handle{animation:detail-handle-hint 1.6s ease-in-out infinite}
.hs-detail #checkout-slider-captcha::after{content:"";position:absolute;inset:0 auto 0 0;width:30%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.28),transparent);pointer-events:none;animation:detail-verification-shimmer 2.6s ease-in-out infinite}
.hs-detail #checkout-slider-captcha.is-dragging::after,.hs-detail #checkout-slider-captcha.is-verified::after{display:none}
@media(prefers-reduced-motion:reduce){.hs-detail #checkout-slider-captcha #checkout-slider-captcha-handle{animation:none!important}.hs-detail #checkout-slider-captcha::after{display:none}}

/* Let the notch cover the outer border instead of clipping it at the edge. */
.hs-detail .ticket-card{overflow:visible}
.hs-detail .ticket-stub::before,.hs-detail .ticket-stub::after{z-index:2;width:20px;height:20px;box-sizing:border-box}
.hs-detail .ticket-stub::before{left:-23px;border-left-color:transparent;border-top-color:transparent;transform:rotate(-45deg)}
.hs-detail .ticket-stub::after{right:-23px;border-right-color:transparent;border-top-color:transparent;transform:rotate(45deg)}
.hs-detail .ticket-benefit{display:flex;width:100%;justify-content:center;margin-top:12px;font-size:11px;color:#0A6522;padding:4px 0}
html.dark .hs-detail .ticket-benefit{color:#b4e6c4}

/* Compact spacing between ticket name and price. */
.hs-detail .ticket-card>h3{min-height:0;margin-bottom:0}
.hs-detail .ticket-card>h3+div.mt-4{margin-top:8px}

/* Stronger ticket outline, including the curved cutouts. */
.hs-detail .ticket-card{border-width:2px}
.hs-detail .ticket-stub::before,.hs-detail .ticket-stub::after{border-width:2px}
.hs-detail .ticket-stub::before{left:-24px}
.hs-detail .ticket-stub::after{right:-24px}

/* Variation panel and controls use the same dark-green surface palette. */
html.dark .hs-detail .ticket-variations{background:#17352b;border-color:#355847;box-shadow:none}
html.dark .hs-detail .variation-heading h3,html.dark .hs-detail .variation-label{color:#edf6f0}
html.dark .hs-detail .variation-help,html.dark .hs-detail .variation-status,html.dark .hs-detail .variation-eyebrow{color:#adc8ba}
html.dark .hs-detail .variation-count{background:#214e3c;color:#d7f2e0}
html.dark .hs-detail .variation-count.is-complete{background:#285b3c;color:#bcf0cc}
html.dark .hs-detail .variation-add,html.dark .hs-detail .variation-stepper{background:#10291f;border-color:#537460;color:#b4e6c4}
html.dark .hs-detail .variation-stepper button,html.dark .hs-detail .variation-stepper input{color:#d7f2e0}
html.dark .hs-detail .variation-status.is-error{color:#fca5a5}
.payment-recommendation,.payment-selection-label{display:inline-block;font-size:10px;font-weight:600;line-height:1.4;padding:3px 7px;margin:4px 4px 4px 0;border-radius:6px;background:#e5f5e9;color:#0A6522}
html.dark .hs-detail .payment-recommendation,html.dark .hs-detail .payment-selection-label{background:#285b3c;color:#c5efd1}

/* Official gateway artwork stays readable in both themes. */
.hs-detail .payment-card div:has(>.tripay-channel-logo){background:#fff!important;padding:6px;flex-shrink:0;border-radius:10px}
.hs-detail .payment-card img.tripay-channel-logo{max-width:56px;max-height:34px;width:100%;height:auto;object-fit:contain;padding:0;border-radius:0}
.hs-detail .payment-card img.tripay-channel-logo[hidden]{display:none}
