.qhocp-wrap{max-width:980px;margin:0 auto 20px}
.qhocp-hero{position:relative;padding:26px;border-radius:calc(var(--qhocp-radius,22px) + 2px);background:linear-gradient(135deg,var(--qhocp-primary,#0c1a3d),var(--qhocp-secondary,#233378));color:#fff;box-shadow:0 14px 34px rgba(12,26,61,.13);overflow:hidden}
.qhocp-ticket-hero{border:1px solid rgba(255,255,255,.08);padding-bottom:22px}
.qhocp-hero:before,.qhocp-hero:after{content:"";position:absolute;border-radius:999px;background:rgba(255,255,255,.08);pointer-events:none}
.qhocp-hero:before{width:180px;height:180px;right:-50px;top:-50px}.qhocp-hero:after{width:130px;height:130px;left:-35px;bottom:-35px}
.qhocp-ticket-perf{position:absolute;left:0;right:0;top:92px;border-top:2px dashed rgba(255,255,255,.16);z-index:0}
.qhocp-ticket-hero .qhocp-hero-top,.qhocp-ticket-hero .qhocp-ticket-head,.qhocp-ticket-hero .qhocp-summary-grid,.qhocp-ticket-hero .qhocp-inline-note,.qhocp-ticket-hero .qhocp-actions{position:relative;z-index:1}
.qhocp-ticket-hero:has(.qhocp-actions)::before,.qhocp-ticket-hero::before{box-shadow:none}
.qhocp-ticket-hero .qhocp-hero-top{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.qhocp-badge{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.02em;background:rgba(255,255,255,.16);backdrop-filter:blur(8px)}.qhocp-badge-soft{background:rgba(255,255,255,.10)}
.qhocp-ticket-head{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:18px;align-items:start;margin-bottom:18px}
.qhocp-title{margin:0 0 8px;font-size:28px;line-height:1.08;color:#fff;font-weight:700}.qhocp-subtitle{margin:0;font-size:14px;line-height:1.65;color:rgba(255,255,255,.90);max-width:620px}
.qhocp-ticket-stub{align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:14px 12px;border-radius:16px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(8px);text-align:center;min-height:84px}
.qhocp-stub-label{display:block;margin-bottom:8px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.qhocp-ticket-stub strong{font-size:22px;line-height:1.1;color:#fff}
.qhocp-grid{display:grid;gap:12px}.qhocp-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:4px}
.qhocp-card{border-radius:calc(var(--qhocp-radius,22px) - 8px);background:var(--qhocp-surface,#fff);color:var(--qhocp-text,#0f172a);border:1px solid rgba(15,23,42,.06);box-shadow:0 10px 30px rgba(2,6,23,.05)}
.qhocp-summary-card{position:relative;padding:14px 15px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.96));overflow:hidden}
.qhocp-summary-card::after{content:"";position:absolute;right:-18px;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--qhocp-primary,#0c1a3d),var(--qhocp-secondary,#233378));opacity:.08}
.qhocp-summary-card strong{display:block;font-size:14px;line-height:1.45;word-break:break-word}.qhocp-label{display:block;margin-bottom:6px;font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--qhocp-muted,#667085)}
.qhocp-inline-note{margin-top:18px;padding:18px 20px;border-radius:16px;background:rgba(255,255,255,.10);backdrop-filter:blur(10px)}.qhocp-inline-note h3{margin:0 0 6px;font-size:17px;color:#fff}.qhocp-inline-note p{margin:0;font-size:14px;line-height:1.75;color:rgba(255,255,255,.92)}
.qhocp-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.qhocp-btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;padding:10px 16px;border-radius:999px;text-decoration:none !important;font-weight:700;font-size:13px;transition:transform .18s ease,opacity .18s ease,background .18s ease}.qhocp-btn:hover{transform:translateY(-1px);opacity:.95}.qhocp-btn-primary{background:#fff;color:var(--qhocp-primary,#0c1a3d)}.qhocp-btn-secondary{background:rgba(255,255,255,.10);color:#fff;border:1px solid rgba(255,255,255,.20)}
.qhocp-wrap-after{margin-top:14px}.qhocp-note-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;display:grid !important}.qhocp-note-card{padding:18px;display:block !important}.qhocp-note-card h3{margin:0 0 6px;font-size:16px;color:var(--qhocp-text,#0f172a)}.qhocp-note-card p{margin:0;font-size:13px;line-height:1.65;color:var(--qhocp-muted,#667085)}

/* More forceful WooCommerce / theme block hiding on the thank-you page */
body.woocommerce-order-received .entry-title,
body.woocommerce-order-received .woocommerce-notice,
body.woocommerce-order-received .woocommerce-thankyou-order-received,
body.woocommerce-order-received .woocommerce-order > p:first-child,
body.woocommerce-order-received .woocommerce-order > .woocommerce-notice,
body.woocommerce-order-received .woocommerce-order-overview,
body.woocommerce-order-received ul.order_details,
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received table.woocommerce-table--order-details,
body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-order-received .woocommerce-columns--addresses,
body.woocommerce-order-received .addresses,
body.woocommerce-order-received address,
body.woocommerce-order-received .col2-set,
body.woocommerce-order-received .woocommerce-column,
body.woocommerce-order-received .shop_table.order_details,
body.woocommerce-order-received .woocommerce-table.shop_table.order_details,
body.woocommerce-order-received .customer_details,
body.woocommerce-order-received .billing-address,
body.woocommerce-order-received .shipping-address{display:none !important}

.woocommerce-order{max-width:980px;margin:18px auto 0;padding:0 0 18px}
.woocommerce-order > *:not(.qhocp-wrap):not(.qhocp-wrap-after){display:none !important}
.qhocp-hide-overview .woocommerce-order-overview,.qhocp-hide-customer .woocommerce-customer-details{display:none !important}

@media (max-width:980px){.qhocp-ticket-head{grid-template-columns:1fr}.qhocp-summary-grid,.qhocp-note-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}.qhocp-ticket-perf{top:134px}}
@media (max-width:640px){.qhocp-wrap{margin-bottom:16px}.qhocp-hero{padding:20px 16px}.qhocp-title{font-size:24px}.qhocp-subtitle{font-size:13px;line-height:1.65}.qhocp-ticket-stub{min-height:74px}.qhocp-ticket-stub strong{font-size:20px}.qhocp-summary-grid,.qhocp-note-grid{grid-template-columns:1fr !important}.qhocp-actions{flex-direction:column}.qhocp-btn{width:100%}.qhocp-ticket-perf{top:152px}}
