#sticksommen-prod-controls.sticksommen-prod-desktop .sticksommen-prod-app,
#sticksommen-prod-controls.sticksommen-prod-desktop .sticksommen-prod-qr > summary {
    display: none;
}
/* Keep checkout actions unobstructed while leaving the assistant available elsewhere. */
body.woocommerce-cart .sticksommen-ai-bubble,
body.woocommerce-checkout .sticksommen-ai-bubble {
    display: none !important;
}
#sticksommen-prod-controls .sticksommen-prod-qr {
    border: 0;
    padding: 0;
}
#sticksommen-prod-controls.sticksommen-prod-mobile .sticksommen-prod-qr > summary {
    cursor: pointer;
    text-decoration: underline;
    margin: 1rem 0;
}
body.woocommerce-order-pay .woocommerce:has(> .ss-payment) { width:100% !important; max-width:none !important; }
body.woocommerce-order-pay .woocommerce:has(> .ss-payment) > ul.order_details { display:flex; flex-wrap:wrap; gap:20px 32px; max-width:800px; margin:0 auto 24px; padding:0; }
body.woocommerce-order-pay .woocommerce:has(> .ss-payment) > ul.order_details::before,
body.woocommerce-order-pay .woocommerce:has(> .ss-payment) > ul.order_details::after { content:none !important; display:none !important; }
body.woocommerce-order-pay .woocommerce:has(> .ss-payment) > ul.order_details li { float:none; margin:0; padding:0; border:0; }
.ss-payment { max-width:800px; margin:32px auto; padding:32px; border:1px solid #e6dee3; border-radius:12px; background:#fff; color:#343434; box-shadow:0 6px 24px rgba(70,40,60,.04); box-sizing:border-box; }
.ss-payment .ss-payment-header { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:24px; }
.ss-payment .ss-payment-eyebrow { margin:0 0 6px; color:#ad397a; font-size:13px; font-weight:600; letter-spacing:.04em; }
.ss-payment .ss-payment-header h2 { margin:0; color:#343434; font-size:26px; font-weight:500; line-height:1.3; }
.ss-payment .ss-payment-amount { flex-shrink:0; text-align:right; }
.ss-payment .ss-payment-amount span { display:block; color:#716771; font-size:13px; margin-bottom:4px; }
.ss-payment .ss-payment-amount strong { display:block; color:#343434; font-size:27px; font-weight:600; line-height:1.3; }
.ss-payment .ss-payment-status { display:flex; align-items:center; gap:10px; margin:0 0 28px; padding:14px 16px; background:#faf5f8; color:#684359; border:1px solid #efe1e9; border-radius:7px; font-size:14px; line-height:1.6; }
.ss-payment .ss-payment-status::before { content:''; width:8px; height:8px; flex:0 0 8px; border-radius:50%; background:#ad397a; }
.ss-payment[data-state=paid] .ss-payment-status { background:#f1f7f3; color:#386448; border-color:#dceadd; }
.ss-payment[data-state=paid] .ss-payment-status::before { background:#43855b; }
.ss-payment[data-state=terminal] .ss-payment-status { background:#faf6f1; color:#775739; border-color:#eadfd1; }
.ss-payment[data-state=terminal] .ss-payment-status::before { background:#a47a46; }
.ss-payment #sticksommen-prod-controls { display:grid; grid-template-columns:minmax(0,320px) minmax(0,1fr); gap:32px; align-items:center; grid-template-areas:"action guide"; }
.ss-payment .ss-payment-action { grid-area:action; min-width:0; text-align:center; padding:20px; border:1px solid #ece5ea; border-radius:9px; background:#fff; }
.ss-payment #sticksommen-prod-controls .sticksommen-prod-qr { margin:0; background:transparent; }
.ss-payment .sticksommen-prod-qr img { display:block; width:100%; max-width:300px; height:auto; margin:0 auto; }
.ss-payment .ss-payment-qr-caption { margin:0 0 12px; color:#716771; font-size:13px; line-height:1.6; }
.ss-payment .ss-payment-guide { grid-area:guide; }
.ss-payment .ss-payment-guide h3 { font-size:18px; font-weight:600; margin:0 0 18px; padding:0; border:0; }
.ss-payment .ss-payment-guide ol { list-style:none; counter-reset:payment-step; margin:0; padding:0; }
.ss-payment .ss-payment-guide li { counter-increment:payment-step; display:flex; align-items:center; gap:12px; margin:0 0 16px; font-size:15px; line-height:1.6; }
.ss-payment .ss-payment-guide li::before { content:counter(payment-step); display:flex; align-items:center; justify-content:center; width:28px; height:28px; flex:0 0 28px; border-radius:50%; color:#ad397a; background:#faf0f6; font-size:13px; font-weight:600; }
.ss-payment .ss-payment-hint { margin:22px 0 0; padding-top:18px; border-top:1px solid #ece5ea; color:#716771; font-size:13px; line-height:1.7; }
.ss-payment .sticksommen-prod-app { margin:0; }
.ss-payment .sticksommen-prod-app > span { display:block; margin-bottom:16px; font-size:15px; line-height:1.7; }
.ss-payment :is(.sticksommen-prod-app,.ss-payment-retry,.ss-payment-confirmation) .button { display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:12px 22px; border:0; border-radius:6px; background:#ad397a; color:#fff; font-family:inherit; font-weight:600; font-size:16px; line-height:1.5; text-decoration:none; box-shadow:none; }
.ss-payment .sticksommen-prod-app .button { width:100%; box-sizing:border-box; }
.ss-payment a:focus-visible,.ss-payment button:focus-visible,.ss-payment summary:focus-visible { outline:3px solid #ad397a; outline-offset:4px; }
.ss-payment .ss-payment-retry { margin-top:22px; }
.ss-payment #sticksommen-prod-controls.sticksommen-prod-mobile { grid-template-columns:minmax(0,1fr); gap:24px; grid-template-areas:"guide" "action"; }
.ss-payment .sticksommen-prod-mobile .ss-payment-desktop-copy,
.ss-payment .sticksommen-prod-desktop .ss-payment-mobile-copy { display:none; }
.ss-payment #sticksommen-prod-controls.sticksommen-prod-mobile .sticksommen-prod-qr > summary { margin:20px 0 0; color:#716771; font-size:13px; }
.ss-payment .sticksommen-prod-mobile .sticksommen-prod-qr[open] > summary { margin-bottom:18px !important; }
@media(max-width:767px) {
 body.woocommerce-order-pay .woocommerce:has(> .ss-payment) > ul.order_details { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; align-items:start; }
 body.woocommerce-order-pay .woocommerce:has(> .ss-payment) > ul.order_details li { min-width:0; font-size:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
 body.woocommerce-order-pay .woocommerce:has(> .ss-payment) > ul.order_details li strong { display:block; margin-top:4px; font-size:clamp(11px,3vw,13px); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
 .ss-payment { margin:24px auto; padding:22px; }
 .ss-payment .ss-payment-header { flex-direction:column; align-items:flex-start; gap:16px; }
 .ss-payment .ss-payment-header h2 { font-size:24px; }
 .ss-payment .ss-payment-amount { text-align:left; }
 .ss-payment #sticksommen-prod-controls { grid-template-columns:minmax(0,1fr); gap:24px; grid-template-areas:"action" "guide"; }
 .ss-payment .ss-payment-action { padding:18px; }
 .ss-payment:has(.sticksommen-prod-mobile) { padding:18px; }
 .ss-payment:has(.sticksommen-prod-mobile) .ss-payment-header { gap:10px; margin-bottom:16px; }
 .ss-payment:has(.sticksommen-prod-mobile) .ss-payment-status { padding:10px 12px; margin-bottom:20px; }
 .ss-payment #sticksommen-prod-controls.sticksommen-prod-mobile { gap:12px; }
 .ss-payment .sticksommen-prod-mobile .ss-payment-guide h3 { margin-bottom:12px; }
 .ss-payment .sticksommen-prod-mobile .ss-payment-guide li { margin-bottom:10px; font-size:14px; }
 .ss-payment .sticksommen-prod-mobile .ss-payment-action { padding:0; border:0; }
 .ss-payment .sticksommen-prod-mobile .sticksommen-prod-app > span { display:none; }
 .ss-payment .sticksommen-prod-mobile .ss-payment-hint { margin:8px 0 0; padding-top:12px; }
 /* The app link stays in the reading order, directly after step 3. */
 .ss-payment .sticksommen-prod-mobile .sticksommen-prod-app .button { width:100%; margin:0; box-shadow:0 4px 12px rgba(70,40,60,.12); }
}
