/*
 * PANDAWA STUDIO — Guest Checkout UI Adapter
 * Version: 0.3.0
 * Scope: Guest checkout, service selection/history and guest order status.
 * Authenticated Member/Admin/Super Admin views are deliberately excluded.
 */

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] {
    --pandawa-checkout-page-width: 1180px;
    --pandawa-checkout-gutter: clamp(16px, 3vw, 34px);
    background: var(--pandawa-color-canvas, #f8f7fc) !important;
    color: var(--pandawa-color-ink, #19172a) !important;
    font-family: var(--pandawa-font-sans, Inter, system-ui, sans-serif) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-layout,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .layout {
    min-height: 100vh !important;
    background: var(--pandawa-color-canvas, #f8f7fc) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-sidebar,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .sidebar {
    z-index: 100 !important;
    border: 0 !important;
    border-right: 1px solid var(--pandawa-color-line, #e9e6f1) !important;
    background: var(--pandawa-color-surface, #fff) !important;
    box-shadow: 8px 0 32px rgba(35, 28, 68, .035) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-sidebar .logo-wrapper,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-sidebar .logo-icon-wrapper,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-sidebar .morden-logo,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .sidebar .logo-wrapper,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .sidebar .logo-icon-wrapper,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .sidebar .morden-logo {
    background: transparent !important;
    box-shadow: none !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-content,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .main {
    min-width: 0 !important;
    background: var(--pandawa-color-canvas, #f8f7fc) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-payment-header,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 80 !important;
    min-height: 70px !important;
    padding: 12px var(--pandawa-checkout-gutter, 26px) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--pandawa-color-line, #e9e6f1) !important;
    background: color-mix(in srgb, var(--pandawa-color-surface, #fff) 92%, transparent) !important;
    color: var(--pandawa-color-ink, #19172a) !important;
    box-shadow: 0 5px 22px rgba(35, 28, 68, .04) !important;
    backdrop-filter: blur(18px);
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-payment-header .guest-menu-toggle,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .topbar .menu,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-payment-header .theme-toggle,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .topbar .theme-toggle,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .account-trigger {
    display: inline-grid !important;
    place-items: center !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border: 1px solid var(--pandawa-color-line, #e9e6f1) !important;
    border-radius: 12px !important;
    background: var(--pandawa-color-surface, #fff) !important;
    color: var(--pandawa-color-muted, #747286) !important;
    box-shadow: none !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-payment-header .guest-menu-toggle:hover,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .topbar .menu:hover,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-payment-header .theme-toggle:hover,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .topbar .theme-toggle:hover,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .account-trigger:hover {
    border-color: color-mix(in srgb, var(--pandawa-color-brand, #6845e8) 35%, var(--pandawa-color-line, #e9e6f1)) !important;
    background: var(--pandawa-color-brand-soft, #f1edff) !important;
    color: var(--pandawa-color-brand, #6845e8) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-payment-header .header-link,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .topbar .header-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    border: 1px solid var(--pandawa-color-line, #e9e6f1) !important;
    border-radius: 12px !important;
    background: var(--pandawa-color-surface, #fff) !important;
    color: var(--pandawa-color-brand, #6845e8) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-payment-header .account-popup,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .topbar .account-popup {
    border: 1px solid var(--pandawa-color-line, #e9e6f1) !important;
    border-radius: 16px !important;
    background: var(--pandawa-color-surface-raised, #fff) !important;
    box-shadow: var(--pandawa-shadow-raised, 0 18px 44px rgba(40, 29, 94, .12)) !important;
    color: var(--pandawa-color-ink, #19172a) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-content > main {
    width: min(var(--pandawa-checkout-page-width, 1180px), calc(100% - 48px)) !important;
    max-width: var(--pandawa-checkout-page-width, 1180px) !important;
    margin: 28px auto 58px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .layout > main.main {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 28px clamp(20px, 3vw, 42px) 58px !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .heading,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .pagehead {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .heading h1,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .pagehead h1,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] #checkoutPageTitle {
    margin: 0 !important;
    color: var(--pandawa-color-ink, #19172a) !important;
    font-size: clamp(25px, 3vw, 34px) !important;
    font-weight: 850 !important;
    letter-spacing: -.045em !important;
    line-height: 1.15 !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .heading .muted,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .intro,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .heading p {
    color: var(--pandawa-color-muted, #747286) !important;
    font-size: 13px !important;
    line-height: 1.75 !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .pandawa-checkout-breadcrumb {
    color: var(--pandawa-color-subtle, #9896a8) !important;
    font-size: 11px !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .pandawa-checkout-breadcrumb a {
    color: var(--pandawa-color-brand, #6845e8) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .checkout-content,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .content {
    min-width: 0 !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .panel,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-history-result,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .service-detail-card {
    border: 1px solid var(--pandawa-color-line, #e9e6f1) !important;
    border-radius: var(--pandawa-radius-lg, 18px) !important;
    background: var(--pandawa-color-surface-raised, #fff) !important;
    box-shadow: var(--pandawa-shadow-card, 0 8px 26px rgba(33, 25, 71, .055)) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .panel {
    margin-bottom: 16px !important;
    padding: clamp(18px, 2.4vw, 28px) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .service-card {
    align-items: center !important;
    gap: 22px !important;
    border-color: color-mix(in srgb, var(--pandawa-color-brand, #6845e8) 18%, var(--pandawa-color-line, #e9e6f1)) !important;
    background: linear-gradient(130deg, var(--pandawa-color-brand-soft, #f1edff), var(--pandawa-color-surface, #fff) 62%) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .service-label,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .eyebrow {
    color: var(--pandawa-color-brand, #6845e8) !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    letter-spacing: .12em !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .service-name,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .panel h2,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-history-result h2 {
    color: var(--pandawa-color-ink, #19172a) !important;
    font-weight: 850 !important;
    letter-spacing: -.025em !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .price,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .total {
    color: var(--pandawa-color-brand, #6845e8) !important;
    font-weight: 850 !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .limits .limit,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .tag {
    border: 1px solid var(--pandawa-color-line, #e9e6f1) !important;
    border-radius: 999px !important;
    background: var(--pandawa-color-brand-soft, #f1edff) !important;
    color: var(--pandawa-color-brand-strong, #5134c7) !important;
    font-size: 10px !important;
    font-weight: 750 !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .checkout-steps {
    gap: 10px !important;
    margin: 0 0 22px !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .checkout-step {
    min-height: 43px !important;
    padding: 11px 13px !important;
    border: 1px solid var(--pandawa-color-line, #e9e6f1) !important;
    border-radius: 12px !important;
    background: var(--pandawa-color-surface, #fff) !important;
    color: var(--pandawa-color-muted, #747286) !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    text-align: center !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .checkout-step.completed,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .checkout-step.active {
    border-color: color-mix(in srgb, var(--pandawa-color-brand, #6845e8) 25%, var(--pandawa-color-line, #e9e6f1)) !important;
    background: var(--pandawa-color-brand-soft, #f1edff) !important;
    color: var(--pandawa-color-brand-strong, #5134c7) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .section-heading {
    gap: 12px !important;
    margin-bottom: 18px !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .section-number {
    width: 36px !important;
    height: 36px !important;
    border-radius: 11px !important;
    background: var(--pandawa-color-brand-soft, #f1edff) !important;
    color: var(--pandawa-color-brand, #6845e8) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .checkout-content label,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-history-field label {
    color: var(--pandawa-color-ink, #19172a) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .checkout-content input:not([type="checkbox"]):not([type="radio"]),
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .checkout-content select,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .checkout-content textarea,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-history-field input,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .platform-search-row .search {
    min-height: 46px !important;
    padding: 11px 13px !important;
    border: 1px solid var(--pandawa-color-line, #e9e6f1) !important;
    border-radius: 11px !important;
    background: var(--pandawa-color-surface, #fff) !important;
    color: var(--pandawa-color-ink, #19172a) !important;
    font: 500 13px/1.45 var(--pandawa-font-sans, Inter, system-ui, sans-serif) !important;
    box-shadow: none !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .checkout-content input:focus,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .checkout-content select:focus,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .checkout-content textarea:focus,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-history-field input:focus,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .platform-search-row .search:focus {
    border-color: var(--pandawa-color-brand, #6845e8) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--pandawa-color-brand, #6845e8) 14%, transparent) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .method {
    gap: 13px !important;
    padding: 15px !important;
    border: 1px solid var(--pandawa-color-line, #e9e6f1) !important;
    border-radius: 13px !important;
    background: var(--pandawa-color-surface, #fff) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .method:has(input:checked) {
    border-color: var(--pandawa-color-brand, #6845e8) !important;
    background: var(--pandawa-color-brand-soft, #f1edff) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .submit-button,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .submit-btn,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-history-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    min-height: 50px !important;
    padding: 0 20px !important;
    border: 1px solid transparent !important;
    border-radius: 13px !important;
    background: linear-gradient(120deg, var(--pandawa-color-brand, #6845e8), var(--pandawa-color-brand-strong, #5134c7)) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    box-shadow: var(--pandawa-shadow-brand, 0 12px 28px rgba(104, 69, 232, .22)) !important;
    transition: transform var(--pandawa-transition-fast, 160ms ease), box-shadow var(--pandawa-transition-fast, 160ms ease) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .submit-button:hover,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .submit-btn:hover,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-history-button:hover {
    transform: translateY(-1px) !important;
    box-shadow: var(--pandawa-shadow-raised, 0 18px 44px rgba(40, 29, 94, .12)) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .notice,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .checkout-info,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-history-note {
    border: 1px solid color-mix(in srgb, var(--pandawa-color-brand, #6845e8) 16%, var(--pandawa-color-line, #e9e6f1)) !important;
    border-radius: 12px !important;
    background: var(--pandawa-color-brand-soft, #f1edff) !important;
    color: var(--pandawa-color-muted, #747286) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .error-panel,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-history-error,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .error {
    border-color: #f1c9d0 !important;
    background: #fff7f8 !important;
    color: #a92e48 !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .warning {
    border: 1px solid #f2dfb5 !important;
    border-radius: 12px !important;
    background: #fff9eb !important;
    color: #805c18 !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .success,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-payment-success {
    border: 1px solid #cdebd9 !important;
    border-radius: 14px !important;
    background: #f0fbf4 !important;
    color: #17633c !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-history-result {
    margin-top: 22px !important;
    padding: 20px !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-history-row,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .item {
    display: flex !important;
    justify-content: space-between !important;
    gap: 14px !important;
    padding: 13px 0 !important;
    border-bottom: 1px solid var(--pandawa-color-line, #e9e6f1) !important;
    color: var(--pandawa-color-muted, #747286) !important;
    font-size: 12px !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-history-row strong,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .item strong {
    max-width: 65% !important;
    color: var(--pandawa-color-ink, #19172a) !important;
    text-align: right !important;
    overflow-wrap: anywhere !important;
}

/* Guest checkout catalogue / platform selection */
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .platform-search-wrap {
    margin: 0 0 22px !important;
    padding: clamp(17px, 2.4vw, 24px) !important;
    border: 1px solid var(--pandawa-color-line, #e9e6f1) !important;
    border-radius: var(--pandawa-radius-lg, 18px) !important;
    background: var(--pandawa-color-surface-raised, #fff) !important;
    box-shadow: var(--pandawa-shadow-card, 0 8px 26px rgba(33, 25, 71, .055)) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .platforms {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) !important;
    gap: 14px !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .platforms .platform {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    min-height: 155px !important;
    padding: 18px !important;
    border: 1px solid var(--pandawa-color-line, #e9e6f1) !important;
    border-radius: 16px !important;
    background: var(--pandawa-color-surface, #fff) !important;
    color: var(--pandawa-color-ink, #19172a) !important;
    box-shadow: var(--pandawa-shadow-card, 0 8px 26px rgba(33, 25, 71, .055)) !important;
    transition: transform var(--pandawa-transition-fast, 160ms ease), border-color var(--pandawa-transition-fast, 160ms ease), box-shadow var(--pandawa-transition-fast, 160ms ease) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .platforms .platform:hover,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .platforms .platform:focus-visible {
    transform: translateY(-2px) !important;
    border-color: color-mix(in srgb, var(--pandawa-color-brand, #6845e8) 40%, var(--pandawa-color-line, #e9e6f1)) !important;
    box-shadow: var(--pandawa-shadow-raised, 0 18px 44px rgba(40, 29, 94, .12)) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .platform-name {
    color: var(--pandawa-color-ink, #19172a) !important;
    font-weight: 850 !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .platform .starting {
    margin-top: 20px !important;
    border-top-color: var(--pandawa-color-line, #e9e6f1) !important;
    color: var(--pandawa-color-muted, #747286) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .service-list {
    min-width: 0 !important;
    margin-top: 18px !important;
}

/* Guest order status */
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-payment-success,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-payment-pending,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-payment-failed {
    padding: clamp(20px, 3vw, 30px) !important;
    box-shadow: var(--pandawa-shadow-card, 0 8px 26px rgba(33, 25, 71, .055)) !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .qris {
    max-width: min(280px, 100%) !important;
    border: 1px solid var(--pandawa-color-line, #e9e6f1) !important;
    border-radius: 14px !important;
    background: #fff !important;
    padding: 10px !important;
}

html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-overlay,
html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .sidebar-overlay {
    background: rgba(18, 16, 34, .48) !important;
    backdrop-filter: blur(3px);
}

/* Dark mode */
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] {
    background: var(--pandawa-color-canvas, #12111d) !important;
    color: var(--pandawa-color-ink, #f1eff8) !important;
}

html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .guest-sidebar,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .sidebar,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .guest-payment-header,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .topbar,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .panel,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .platform-search-wrap,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .platforms .platform,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .guest-history-result,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .guest-payment-header .account-popup,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .topbar .account-popup {
    border-color: var(--pandawa-color-line, #343149) !important;
    background: var(--pandawa-color-surface, #191827) !important;
    color: var(--pandawa-color-ink, #f1eff8) !important;
}

html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .heading h1,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .pagehead h1,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] #checkoutPageTitle,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .panel h2,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .service-name,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .platform-name,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .guest-history-row strong,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .item strong {
    color: var(--pandawa-color-ink, #f1eff8) !important;
}

html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .checkout-content input:not([type="checkbox"]):not([type="radio"]),
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .checkout-content select,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .checkout-content textarea,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .guest-history-field input,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .platform-search-row .search {
    border-color: var(--pandawa-color-line, #343149) !important;
    background: var(--pandawa-color-surface-raised, #211f32) !important;
    color: var(--pandawa-color-ink, #f1eff8) !important;
}

html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .service-card {
    border-color: var(--pandawa-color-line, #343149) !important;
    background: linear-gradient(130deg, #30284d, #191827 62%) !important;
}

html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .checkout-step,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .method {
    border-color: var(--pandawa-color-line, #343149) !important;
    background: var(--pandawa-color-surface-raised, #211f32) !important;
    color: var(--pandawa-color-muted, #b4b1c4) !important;
}

html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .checkout-step.active,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .checkout-step.completed {
    background: var(--pandawa-color-brand-soft, #30284d) !important;
    color: var(--pandawa-color-brand, #a18aff) !important;
}

html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .warning {
    border-color: #6a522a !important;
    background: #302718 !important;
    color: #ebcb8b !important;
}

html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .success,
html[data-pandawa-design="core"] body.dark-only[data-pandawa-guest-checkout="true"] .guest-payment-success {
    border-color: #28543d !important;
    background: #172d23 !important;
    color: #a7e1be !important;
}

@media (max-width: 900px) {
    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-sidebar,
    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .sidebar {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
    }

    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-content > main {
        width: calc(100% - 32px) !important;
        margin-top: 22px !important;
        margin-bottom: 42px !important;
    }

    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .layout > main.main {
        width: auto !important;
        margin: 0 !important;
        padding: 22px 20px 42px !important;
    }
}

@media (max-width: 620px) {
    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-payment-header,
    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .topbar {
        min-height: 62px !important;
        padding: 9px 14px !important;
        gap: 8px !important;
    }

    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-payment-header .guest-menu-toggle,
    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .topbar .menu,
    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-payment-header .theme-toggle,
    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .topbar .theme-toggle,
    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .account-trigger {
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
    }

    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-content > main {
        width: calc(100% - 28px) !important;
        margin-top: 18px !important;
        margin-bottom: 34px !important;
    }

    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .layout > main.main {
        width: auto !important;
        margin: 0 !important;
        padding: 18px 14px 34px !important;
    }

    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .heading,
    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .pagehead {
        align-items: flex-start !important;
    }

    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .checkout-steps {
        grid-template-columns: 1fr !important;
        gap: 7px !important;
    }

    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .checkout-step {
        min-height: 38px !important;
        padding: 9px 12px !important;
        text-align: left !important;
    }

    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .service-card {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .price-box {
        width: 100% !important;
        text-align: left !important;
    }

    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .form-grid {
        grid-template-columns: 1fr !important;
    }

    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .form-grid .field.full {
        grid-column: auto !important;
    }

    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .platforms {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .platforms .platform {
        min-height: 135px !important;
        padding: 13px !important;
    }

    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-history-row,
    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .item {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 5px !important;
    }

    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .guest-history-row strong,
    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] .item strong {
        max-width: 100% !important;
        text-align: left !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] *,
    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] *::before,
    html[data-pandawa-design="core"] body[data-pandawa-guest-checkout="true"] *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
