@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg-warm: #FAF7F2;
    --card-bg: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    
    --brand-kalo-blue: #0191F8;
    --brand-kalo-blue-hover: #007BD4;
    --brand-aurora-cyan: #1AC3E9;
    --brand-cyan: #0191F8;
    --brand-cyan-hover: #007BD4;
    --brand-cyan-light: #EBF7FA;
    
    --brand-teal: #0D9488;
    --brand-teal-light: #EAF7F5;
    
    --brand-purple: #B8860B;
    --brand-purple-light: #FEF9C3;
    --brand-gold: #B8860B;
    --brand-gold-light: #FEF9C3;
    
    --border-subtle: #EBE7DF;
    --border-input: #E2E8F0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-warm);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* Page Container */
.page-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 20px 80px 20px;
    width: 100%;
}

/* Header & Nav */
.public-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 30px 0;
}

.cart-icon-btn {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #0284C7;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    border: none;
    position: relative;
}

.cart-icon-btn svg {
    width: 34px;
    height: 34px;
    display: block;
}

.cart-icon-btn:hover {
    background-color: rgba(2, 132, 199, 0.1);
    transform: scale(1.05);
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #0284C7;
    color: white;
    font-size: 11px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border-radius: 999px;
    border: 2px solid #FAF9F5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Pricing Grid (Frame 1) */
.ticket-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

@media (max-width: 860px) {
    .ticket-grid-3 {
        grid-template-columns: 1fr;
    }
}

.ticket-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    cursor: pointer;
}

.ticket-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.08);
}

.ticket-card.selected {
    border: 2px solid #00B4D8;
}

.ticket-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.ticket-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ticket-category-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0284C7;
    margin-bottom: 4px;
}

.ticket-name {
    font-size: 26px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

/* Price Box */
.price-box {
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.price-box.cyan {
    background-color: var(--brand-cyan-light);
}

.price-box.teal {
    background-color: var(--brand-teal-light);
}

.price-box.purple {
    background-color: var(--brand-purple-light);
}

.price-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-tag-title {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.price-box.cyan .price-tag-title {
    color: #0284C7;
}

.price-box.teal .price-tag-title {
    color: var(--brand-teal);
}

.price-box.purple .price-tag-title {
    color: var(--brand-purple);
}

.price-amount {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.price-box.cyan .price-amount {
    color: #00A3C4;
}

.price-box.teal .price-amount {
    color: var(--brand-teal);
}

.price-box.purple .price-amount {
    color: var(--brand-purple);
}

.price-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
}

/* Ticket Card Quantity Selector */
.ticket-qty-controller {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 14px;
    padding: 6px 12px;
    margin-top: 16px;
    margin-bottom: 20px;
    transition: all 0.2s;
}

.ticket-qty-controller.active {
    background: #F0F9FF;
    border-color: #7DD3FC;
}

.qty-btn-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
    transition: all 0.15s;
}

.qty-btn-minus {
    background: #FFFFFF;
    color: #64748B;
    border: 1px solid #CBD5E1;
}

.qty-btn-minus:hover {
    background: #F1F5F9;
    color: #0F172A;
}

.qty-btn-plus {
    background: #00B4D8;
    color: #FFFFFF;
}

.qty-btn-plus:hover {
    background: #0096C7;
    transform: scale(1.05);
}

.qty-display-text {
    font-size: 13px;
    font-weight: 700;
    color: #1E293B;
}

.qty-badge-added {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #00B4D8;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 9999px;
}

/* Floating Multi-Item Cart Bar */
.floating-cart-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #0F172A;
    color: white;
    padding: 14px 24px;
    border-radius: 9999px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.35);
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 1000;
    max-width: 600px;
    width: calc(100% - 40px);
    justify-content: space-between;
    animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.floating-cart-btn {
    background: #00B4D8;
    color: white;
    padding: 10px 20px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.floating-cart-btn:hover {
    background: #0096C7;
}

.price-original-strike {
    font-size: 11px;
    color: var(--text-light);
    text-decoration: line-through;
}

.price-save-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 9999px;
    color: white;
}

.price-box.teal .price-save-badge {
    background-color: #0D9488;
}

.price-box.purple .price-save-badge {
    background-color: var(--brand-purple);
}

.price-validity-text {
    font-size: 10px;
    color: var(--text-light);
}

/* Benefit List */
.benefit-heading {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.45;
}

.benefit-item.included {
    color: #334155;
    font-weight: 500;
}

.benefit-item.excluded {
    color: #94A3B8;
}

.benefit-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Group Ticket Section */
.group-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.group-title {
    font-size: 24px;
    font-weight: 800;
    color: #00A3C4;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.group-toggle-wrap {
    display: inline-flex;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 24px;
}

.group-toggle-btn {
    padding: 10px 32px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    color: #64748B;
}

.group-toggle-btn.active {
    background-color: #00B4D8;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.25);
}

.group-card-container {
    width: 100%;
    max-width: 440px;
}

/* Main Action Pill Button */
.btn-buy-ticket {
    display: block;
    width: 100%;
    max-width: 440px;
    margin: 32px auto 0 auto;
    padding: 16px 24px;
    background: #00B4D8;
    color: white;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.35);
    transition: all 0.2s;
    text-decoration: none;
}

.btn-buy-ticket:hover {
    background: #0096C7;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 180, 216, 0.45);
}

/* White Box Checkout Container (Frames 2, 3, 4) */
.checkout-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 35px -5px rgba(0, 0, 0, 0.03), 0 8px 12px -6px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-subtle);
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 640px) {
    .checkout-card {
        padding: 24px;
    }
}

.checkout-top-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.event-brand-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 4px;
}

.event-brand-sub {
    font-size: 12px;
    color: #94A3B8;
}

.link-back {
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
}

.link-back:hover {
    color: #0284C7;
}

/* Stepper Pills */
.stepper-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-pill {
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.step-pill.active {
    background-color: #00B4D8;
    color: white;
}

.step-pill.inactive {
    background-color: #F1F5F9;
    color: #94A3B8;
}

/* Section Title Area */
.section-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0284C7;
    margin-bottom: 6px;
}

.section-main-title {
    font-size: 26px;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 13px;
    color: #64748B;
    margin-bottom: 28px;
}

/* Table Card Box (Frame 2) */
.ticket-summary-table-box {
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.summary-table-header {
    display: grid;
    grid-template-columns: 1fr 120px 180px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94A3B8;
    padding-bottom: 16px;
    border-bottom: 1px solid #F1F5F9;
}

.summary-table-row {
    display: grid;
    grid-template-columns: 1fr 120px 180px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #F1F5F9;
}

.item-detail-col {
    display: flex;
    gap: 16px;
    align-items: center;
}

.item-thumb-box {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.item-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-thumb-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0284C7;
    color: white;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
    padding: 2px 0;
}

.item-thumb-badge.vip {
    background: linear-gradient(135deg, #E5C653, #D4AF37);
    color: #3B2A03;
}

.item-thumb-badge.expo {
    background: #00B4D8;
    color: #FFFFFF;
}

.item-info-name {
    font-size: 16px;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 4px;
}

.item-info-validity {
    font-size: 11px;
    color: #94A3B8;
    margin-bottom: 8px;
}

.item-benefit-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.benefit-chip {
    font-size: 10px;
    font-weight: 600;
    background: #F1F5F9;
    color: #475569;
    padding: 3px 8px;
    border-radius: 9999px;
}

.qty-pill {
    background: #F1F5F9;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    display: inline-block;
    text-align: center;
}

.price-val-col {
    text-align: right;
    font-size: 18px;
    font-weight: 800;
    color: #0F172A;
}

.price-val-col.vip {
    color: #B8860B;
}

.price-val-col.expo {
    color: #0284C7;
}

.summary-table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.total-registered-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94A3B8;
    margin-bottom: 4px;
}

.total-registered-val {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.total-grand-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94A3B8;
    margin-bottom: 4px;
    text-align: right;
}

.total-grand-val {
    font-size: 26px;
    font-weight: 800;
    color: #0F172A;
    text-align: right;
    letter-spacing: -0.01em;
}

.total-grand-val.vip {
    color: #B8860B;
}

.total-grand-val.expo {
    color: #0284C7;
}

/* Action Buttons Footer */
.checkout-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.btn-pill-white {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #475569;
    padding: 12px 24px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}

.btn-pill-white:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.btn-pill-primary {
    background: #0191F8;
    color: #FFFFFF;
    border: none;
    padding: 14px 28px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 16px rgba(1, 145, 248, 0.35);
    transition: all 0.2s;
}

.btn-pill-primary:hover {
    background: #007BD4;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(1, 145, 248, 0.45);
}

/* Form Styles (Frame 3) */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1E293B;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #1E293B;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.form-input:focus {
    background: #FFFFFF;
    border-color: #00B4D8;
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.form-input-addon-wrap {
    display: flex;
    align-items: center;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
}

.form-addon-prefix {
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 700;
    color: #64748B;
    background: #F1F5F9;
    border-right: 1px solid #E2E8F0;
    user-select: none;
}

.form-input-bare {
    width: 100%;
    padding: 14px 18px;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #1E293B;
    outline: none;
}

.form-helper-text {
    font-size: 11px;
    color: #94A3B8;
    margin-top: 6px;
}

.form-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 640px) {
    .form-2col {
        grid-template-columns: 1fr;
    }
}

/* Ticket Mini Banner inside Form */
.ticket-mini-card {
    background: #F0F7FF;
    border: 1px solid #E0F2FE;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    margin-bottom: 24px;
}

.ticket-mini-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ticket-mini-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #0284C7;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.ticket-mini-icon.vip {
    background: linear-gradient(135deg, #E5C653, #D4AF37);
    color: #3B2A03;
}

.ticket-mini-icon.expo {
    background: #00B4D8;
    color: #FFFFFF;
}

.ticket-mini-title {
    font-size: 14px;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 2px;
}

.ticket-mini-sub {
    font-size: 12px;
    color: #64748B;
}

.ticket-mini-link {
    font-size: 12px;
    font-weight: 700;
    color: #0284C7;
    text-decoration: none;
}

.ticket-mini-link:hover {
    text-decoration: underline;
}

/* Payment Methods (Frame 4) */
.payment-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.payment-grid-3,
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 860px) {
    .payment-grid-3,
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .payment-grid-2 {
        grid-template-columns: 1fr;
    }
}

.payment-method-card {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 20px;
    padding: 24px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.payment-method-card:hover {
    border-color: #CBD5E1;
    transform: translateY(-2px);
}

.payment-method-card.selected {
    border: 2px solid #00B4D8;
    box-shadow: 0 4px 16px rgba(0, 180, 216, 0.12);
}

.payment-card-badge-check {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 22px;
    height: 22px;
    background-color: #00B4D8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.payment-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.payment-icon-box {
    width: 44px;
    height: 44px;
    background: #E0F2FE;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0284C7;
}

.payment-type-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0284C7;
    background: #E0F2FE;
    padding: 4px 10px;
    border-radius: 9999px;
}

.payment-title {
    font-size: 18px;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 4px;
}

.payment-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 12px;
}

.payment-description {
    font-size: 12px;
    line-height: 1.5;
    color: #64748B;
    margin-bottom: 20px;
    flex: 1;
}

.payment-footer-link {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0284C7;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Registered Participant Box (Frame 4) */
.participant-recap-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.participant-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0284C7;
    margin-bottom: 6px;
}

.participant-name-phone {
    font-size: 14px;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 2px;
}

.participant-email {
    font-size: 12px;
    color: #64748B;
}

.link-edit-data {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0284C7;
    text-decoration: none;
}

.link-edit-data:hover {
    text-decoration: underline;
}

/* =========================================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES (< 768px)
   ========================================================= */
@media (max-width: 768px) {
    /* Page Layout */
    .page-container {
        padding: 16px 14px 100px 14px;
    }

    .public-header {
        padding: 10px 0 20px 0;
    }

    /* Step 1: Ticket Selection */
    .ticket-grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 36px;
    }

    .ticket-card {
        border-radius: 20px;
    }

    .ticket-card-img {
        height: 180px;
    }

    .ticket-card-body {
        padding: 20px 16px;
    }

    .ticket-name {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .price-box {
        padding: 14px 14px;
        margin-bottom: 18px;
    }

    .price-amount {
        font-size: 21px;
    }

    .group-section {
        margin-top: 10px;
        margin-bottom: 24px;
    }

    .group-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .group-toggle-wrap {
        width: 100%;
        max-width: 320px;
    }

    .group-toggle-btn {
        flex: 1;
        padding: 10px 0;
        text-align: center;
        font-size: 13px;
    }

    .group-card-container {
        max-width: 100%;
        width: 100%;
    }

    .btn-buy-ticket {
        width: 100%;
        max-width: 100%;
        margin-top: 24px;
        padding: 16px 20px;
        font-size: 15px;
    }

    /* Floating Cart Bar on Mobile */
    .floating-cart-bar {
        bottom: 16px;
        width: calc(100% - 24px);
        padding: 12px 16px;
        gap: 12px;
        border-radius: 20px;
    }

    .floating-cart-btn {
        padding: 9px 14px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* Checkout Card (Steps 2, 3, 4, 5) */
    .checkout-card {
        padding: 24px 16px;
        border-radius: 22px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    }

    .checkout-top-header {
        margin-bottom: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .section-main-title {
        font-size: 22px;
        line-height: 1.25;
        margin-bottom: 6px;
    }

    .section-desc {
        font-size: 13px;
        margin-bottom: 20px;
    }

    /* Step 2: Summary Table on Mobile */
    .ticket-summary-table-box {
        padding: 16px 14px;
        border-radius: 16px;
        margin-bottom: 24px;
    }

    .summary-table-header {
        display: none;
    }

    .summary-table-row {
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
        padding: 16px 0;
    }

    .item-detail-col {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        width: 100%;
    }

    .item-thumb-box {
        width: 58px;
        height: 58px;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .item-info-name {
        font-size: 15px;
    }

    .item-benefit-chips {
        gap: 4px;
        margin-top: 4px;
    }

    .benefit-chip {
        font-size: 10px;
        padding: 2px 7px;
    }

    .summary-table-row > div:nth-child(2) {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-top: 6px;
        border-top: 1px dashed #F1F5F9;
    }

    .price-val-col {
        text-align: right;
        font-size: 18px;
    }

    .summary-table-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding-top: 16px;
    }

    .summary-table-footer > div:last-child {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding-top: 10px;
        border-top: 1px solid #F1F5F9;
    }

    .total-grand-label {
        text-align: left;
    }

    .total-grand-val {
        font-size: 22px;
        text-align: right;
    }

    /* Checkout Bottom Buttons on Mobile */
    .checkout-actions-row {
        flex-direction: column-reverse;
        gap: 12px;
        margin-top: 24px;
        width: 100%;
    }

    .btn-pill-white,
    .btn-pill-primary {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 14px;
    }

    /* Step 3: Form on Mobile */
    .stepper-wrap {
        flex-wrap: wrap;
        gap: 6px;
    }

    .step-pill {
        padding: 5px 12px;
        font-size: 9px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-input,
    .form-input-bare {
        font-size: 16px; /* Prevents auto-zoom in mobile Safari */
        padding: 13px 14px;
    }

    .form-addon-prefix {
        padding: 13px 14px;
        font-size: 15px;
    }

    .ticket-mini-card {
        padding: 14px 14px;
        border-radius: 14px;
        gap: 10px;
    }

    /* Step 4: Payment on Mobile */
    .payment-grid-2 {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 24px;
    }

    .payment-method-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .participant-recap-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
        border-radius: 14px;
    }

    /* Step 5: Order Detail on Mobile */
    .order-ticket-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
    }
}

/* Center Modal Popup Styles */
.kalodata-modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
}

.kalodata-modal-dialog {
    background: #FFFFFF !important;
    border-radius: 24px !important;
    max-width: 480px !important;
    width: 100% !important;
    margin: auto !important;
    padding: 36px 28px !important;
    text-align: center !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35) !important;
    position: relative !important;
    border: 1px solid #E2E8F0 !important;
    box-sizing: border-box !important;
}

/* Global Pagination SVG Safeguard */
nav[role="navigation"] svg,
.pagination svg,
svg.w-5,
svg.h-5 {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.w-5 {
    width: 16px !important;
}

.h-5 {
    height: 16px !important;
}

/* Button Loading & Multi-click Prevention Animation */
@keyframes kld-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.kld-spinner-svg {
    animation: kld-spin 0.75s linear infinite;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

button:disabled,
.btn-pill-primary:disabled {
    opacity: 0.75 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    box-shadow: none !important;
    transform: none !important;
}


