/* ==========================================================
   Quodarkie — WooCommerce Cart & Checkout Theme
   Matches ticket purchase page (black & gold luxury)
   ========================================================== */

:root {
  --qt-gold:      #C9A84C;
  --qt-gold-lt:   #E8C97A;
  --qt-gold-dk:   #9A7B2E;
  --qt-black:     #0A0A0A;
  --qt-dark:      #111111;
  --qt-surface:   #1A1A1A;
  --qt-surface2:  #222222;
  --qt-border:    #2D2D2D;
  --qt-border2:   #383838;
  --qt-text:      #E0E0E0;
  --qt-muted:     #888888;
}

/* ── Page shell ─────────────────────────────────────────── */
body.qt-woo-theme {
  background-color: var(--qt-black) !important;
  color: var(--qt-text);
}

body.qt-woo-theme .site-content,
body.qt-woo-theme .entry-content,
body.qt-woo-theme .page-content,
body.qt-woo-theme main,
body.qt-woo-theme #content,
body.qt-woo-theme .content-area {
  color: var(--qt-text);
}

body.qt-woo-theme .entry-title,
body.qt-woo-theme .page-title,
body.qt-woo-theme h1,
body.qt-woo-theme h2,
body.qt-woo-theme h3 {
  color: var(--qt-gold);
  letter-spacing: 0.5px;
}

/* ── Classic WooCommerce wrapper ────────────────────────── */
body.qt-woo-theme .woocommerce {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

body.qt-woo-theme .woocommerce a {
  color: var(--qt-gold);
}

body.qt-woo-theme .woocommerce a:hover {
  color: var(--qt-gold-lt);
}

/* ── Notices ────────────────────────────────────────────── */
body.qt-woo-theme .woocommerce-message,
body.qt-woo-theme .woocommerce-info {
  background: rgba(201, 168, 76, 0.08) !important;
  border: 1px solid rgba(201, 168, 76, 0.35) !important;
  color: var(--qt-gold-lt) !important;
  border-radius: 8px;
}

body.qt-woo-theme .woocommerce-error,
body.qt-woo-theme .woocommerce-error li {
  background: rgba(192, 57, 43, 0.1) !important;
  border-color: rgba(192, 57, 43, 0.4) !important;
  color: #E74C3C !important;
  border-radius: 8px;
}

body.qt-woo-theme .woocommerce-message::before,
body.qt-woo-theme .woocommerce-info::before,
body.qt-woo-theme .woocommerce-error::before {
  color: var(--qt-gold) !important;
}

/* ── Form fields (classic) ──────────────────────────────── */
body.qt-woo-theme .woocommerce form .form-row .description,
body.qt-woo-theme #billing_phone_field .description {
  color: var(--qt-muted) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  margin-top: 6px !important;
}

body.qt-woo-theme .woocommerce form .form-row label,
body.qt-woo-theme .woocommerce-billing-fields h3,
body.qt-woo-theme .woocommerce-additional-fields h3,
body.qt-woo-theme #order_review_heading {
  color: var(--qt-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

body.qt-woo-theme .woocommerce form .form-row input.input-text,
body.qt-woo-theme .woocommerce form .form-row textarea,
body.qt-woo-theme .woocommerce form .form-row select,
body.qt-woo-theme .select2-container--default .select2-selection--single {
  background: var(--qt-dark) !important;
  border: 1px solid var(--qt-border2) !important;
  color: var(--qt-text) !important;
  border-radius: 6px !important;
  padding: 10px 13px !important;
  min-height: 44px;
  box-shadow: none !important;
}

body.qt-woo-theme .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--qt-text) !important;
  line-height: 42px !important;
}

body.qt-woo-theme .select2-dropdown {
  background: var(--qt-surface) !important;
  border-color: var(--qt-border2) !important;
  color: var(--qt-text) !important;
}

body.qt-woo-theme .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--qt-gold) !important;
  color: #000 !important;
}

body.qt-woo-theme .woocommerce form .form-row input.input-text:focus,
body.qt-woo-theme .woocommerce form .form-row textarea:focus,
body.qt-woo-theme .woocommerce form .form-row select:focus {
  outline: none !important;
  border-color: var(--qt-gold) !important;
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.15) !important;
}

/* ── Checkout columns / cards ───────────────────────────── */
body.qt-woo-theme .woocommerce-checkout .col2-set,
body.qt-woo-theme #order_review,
body.qt-woo-theme .woocommerce-cart-form,
body.qt-woo-theme .cart-collaterals .cart_totals,
body.qt-woo-theme .woocommerce-order {
  background: var(--qt-surface);
  border: 1px solid var(--qt-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

body.qt-woo-theme #order_review {
  border-top: 3px solid var(--qt-gold);
}

/* ── Order review table ─────────────────────────────────── */
body.qt-woo-theme .woocommerce table.shop_table,
body.qt-woo-theme .woocommerce-checkout-review-order-table {
  background: transparent;
  border: 1px solid var(--qt-border) !important;
  border-radius: 8px;
  border-collapse: separate !important;
  overflow: hidden;
  color: var(--qt-text);
}

body.qt-woo-theme .woocommerce table.shop_table th,
body.qt-woo-theme .woocommerce table.shop_table td {
  border-color: var(--qt-border) !important;
  color: var(--qt-text) !important;
  padding: 14px 16px;
}

body.qt-woo-theme .woocommerce table.shop_table thead th {
  background: var(--qt-dark);
  color: var(--qt-gold) !important;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
}

body.qt-woo-theme .woocommerce table.shop_table .order-total th,
body.qt-woo-theme .woocommerce table.shop_table .order-total td {
  color: var(--qt-gold) !important;
  font-weight: 700;
  font-size: 16px;
}

body.qt-woo-theme .woocommerce table.shop_table .product-name,
body.qt-woo-theme .woocommerce table.shop_table .product-name a,
body.qt-woo-theme .woocommerce table.shop_table .woocommerce-table__product-name,
body.qt-woo-theme .woocommerce table.shop_table td.product-name {
  color: var(--qt-text) !important;
  font-weight: 600;
}

/* Line-item meta (Nominee / Category / Votes) — theme often forces dark grey */
body.qt-woo-theme .woocommerce table.shop_table .wc-item-meta,
body.qt-woo-theme .woocommerce table.shop_table ul.wc-item-meta,
body.qt-woo-theme .woocommerce table.shop_table ul.wc-item-meta li,
body.qt-woo-theme .woocommerce table.shop_table ul.wc-item-meta li strong,
body.qt-woo-theme .woocommerce table.shop_table ul.wc-item-meta li p,
body.qt-woo-theme .woocommerce table.shop_table .wc-item-meta-label,
body.qt-woo-theme .woocommerce table.shop_table dl.variation,
body.qt-woo-theme .woocommerce table.shop_table dl.variation dt,
body.qt-woo-theme .woocommerce table.shop_table dl.variation dd,
body.qt-woo-theme .woocommerce table.shop_table dl.variation p {
  color: var(--qt-muted) !important;
}

body.qt-woo-theme .woocommerce table.shop_table tfoot th,
body.qt-woo-theme .woocommerce table.shop_table tfoot td,
body.qt-woo-theme .woocommerce table.shop_table .cart-subtotal th,
body.qt-woo-theme .woocommerce table.shop_table .cart-subtotal td,
body.qt-woo-theme .woocommerce table.shop_table .payment-method th,
body.qt-woo-theme .woocommerce table.shop_table .payment-method td {
  color: var(--qt-text) !important;
}

body.qt-woo-theme .woocommerce table.shop_table .product-total,
body.qt-woo-theme .woocommerce-Price-amount {
  color: var(--qt-gold) !important;
}

/* ── Payment methods ────────────────────────────────────── */
body.qt-woo-theme .woocommerce-checkout #payment,
body.qt-woo-theme.woocommerce-order-pay #payment,
body.qt-woo-theme .woocommerce-order-pay #payment {
  background: var(--qt-dark) !important;
  border: 1px solid var(--qt-border);
  border-radius: 10px;
  color: var(--qt-text) !important;
}

body.qt-woo-theme .woocommerce-checkout #payment ul.payment_methods,
body.qt-woo-theme .woocommerce-order-pay #payment ul.payment_methods {
  border-bottom-color: var(--qt-border) !important;
}

body.qt-woo-theme .woocommerce-checkout #payment ul.payment_methods li,
body.qt-woo-theme .woocommerce-checkout #payment ul.payment_methods li label,
body.qt-woo-theme .woocommerce-checkout #payment ul.payment_methods li label *,
body.qt-woo-theme .woocommerce-order-pay #payment ul.payment_methods li,
body.qt-woo-theme .woocommerce-order-pay #payment ul.payment_methods li label,
body.qt-woo-theme .woocommerce-order-pay #payment ul.payment_methods li label *,
body.qt-woo-theme #payment .wc_payment_method label {
  color: var(--qt-text) !important;
}

body.qt-woo-theme .woocommerce-checkout #payment div.payment_box,
body.qt-woo-theme .woocommerce-order-pay #payment div.payment_box {
  background: var(--qt-surface2) !important;
  color: var(--qt-muted) !important;
  border-radius: 6px;
}

body.qt-woo-theme .woocommerce-checkout #payment div.payment_box::before,
body.qt-woo-theme .woocommerce-order-pay #payment div.payment_box::before {
  border-bottom-color: var(--qt-surface2) !important;
}

/* ── Buttons ────────────────────────────────────────────── */
body.qt-woo-theme .woocommerce #respond input#submit,
body.qt-woo-theme .woocommerce a.button,
body.qt-woo-theme .woocommerce button.button,
body.qt-woo-theme .woocommerce input.button,
body.qt-woo-theme .woocommerce #place_order {
  background: var(--qt-gold) !important;
  color: #000 !important;
  border: 1px solid var(--qt-gold) !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  padding: 12px 24px !important;
  transition: background 0.18s, color 0.18s;
}

body.qt-woo-theme .woocommerce #respond input#submit:hover,
body.qt-woo-theme .woocommerce a.button:hover,
body.qt-woo-theme .woocommerce button.button:hover,
body.qt-woo-theme .woocommerce input.button:hover,
body.qt-woo-theme .woocommerce #place_order:hover {
  background: var(--qt-gold-lt) !important;
  color: #000 !important;
}

body.qt-woo-theme .woocommerce a.button.alt,
body.qt-woo-theme .woocommerce button.button.alt {
  background: var(--qt-gold) !important;
  color: #000 !important;
}

body.qt-woo-theme .woocommerce .checkout-button {
  width: 100%;
  text-align: center;
}

/* ── Cart qty inputs ────────────────────────────────────── */
body.qt-woo-theme .woocommerce .quantity .qty {
  background: var(--qt-dark);
  border: 1px solid var(--qt-border2);
  color: var(--qt-text);
  border-radius: 6px;
  min-height: 40px;
}

body.qt-woo-theme .woocommerce .coupon .input-text {
  background: var(--qt-dark) !important;
  border: 1px solid var(--qt-border2) !important;
  color: var(--qt-text) !important;
  border-radius: 6px !important;
}

/* ── Thank you / order received ─────────────────────────── */
body.qt-woo-theme .woocommerce-order-overview {
  background: var(--qt-surface);
  border: 1px solid var(--qt-border);
  border-radius: 10px;
  padding: 16px 20px;
}

body.qt-woo-theme .woocommerce-order-overview li {
  color: var(--qt-muted);
  border-right-color: var(--qt-border) !important;
}

body.qt-woo-theme .woocommerce-order-overview li strong {
  color: var(--qt-gold);
}

body.qt-woo-theme .woocommerce-order-details__title,
body.qt-woo-theme .woocommerce-column__title {
  color: var(--qt-gold);
  border-bottom: 1px solid var(--qt-border);
  padding-bottom: 8px;
}

/* Order received — force readable contrast (theme/Elementor often override) */
body.qt-woo-theme.woocommerce-order-received .woocommerce-order,
body.qt-woo-theme.woocommerce-order-received .woocommerce-order-details,
body.qt-woo-theme.woocommerce-order-received .woocommerce-customer-details,
body.qt-woo-theme.woocommerce-order-received .woocommerce-table--order-details,
body.qt-woo-theme.woocommerce-order-received .woocommerce-table--order-details th,
body.qt-woo-theme.woocommerce-order-received .woocommerce-table--order-details td,
body.qt-woo-theme.woocommerce-order-received .woocommerce-table--order-details .product-name,
body.qt-woo-theme.woocommerce-order-received .woocommerce-table--order-details .product-name a,
body.qt-woo-theme.woocommerce-order-received .woocommerce-table--order-details tfoot th,
body.qt-woo-theme.woocommerce-order-received address {
  color: var(--qt-text) !important;
}

body.qt-woo-theme.woocommerce-order-received .woocommerce-table--order-details ul.wc-item-meta,
body.qt-woo-theme.woocommerce-order-received .woocommerce-table--order-details ul.wc-item-meta li,
body.qt-woo-theme.woocommerce-order-received .woocommerce-table--order-details ul.wc-item-meta strong,
body.qt-woo-theme.woocommerce-order-received .woocommerce-table--order-details ul.wc-item-meta p {
  color: var(--qt-muted) !important;
}

body.qt-woo-theme.woocommerce-order-received .woocommerce-table--order-details .woocommerce-Price-amount,
body.qt-woo-theme.woocommerce-order-received .woocommerce-table--order-details tfoot td,
body.qt-woo-theme.woocommerce-order-received .woocommerce-table--order-details .product-total {
  color: var(--qt-gold) !important;
}

/* Ticket block injected by plugin */
body.qt-woo-theme .woocommerce h3[style*="C9A84C"],
body.qt-woo-theme .woocommerce h3[style*="color"] {
  color: var(--qt-gold) !important;
  border-bottom-color: var(--qt-gold) !important;
}

/* ── Block-based checkout (WooCommerce Blocks) ──────────── */
body.qt-woo-theme .wp-block-woocommerce-checkout,
body.qt-woo-theme .wp-block-woocommerce-cart {
  color: var(--qt-text);
  --wc-block-components-text-input-color: var(--qt-text);
  --wc-block-components-label-color: var(--qt-muted);
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  overflow-x: hidden;
}

body.qt-woo-theme .wc-block-cart,
body.qt-woo-theme .wc-block-checkout,
body.qt-woo-theme .wc-block-components-sidebar-layout,
body.qt-woo-theme .wp-block-woocommerce-filled-cart-block,
body.qt-woo-theme .wp-block-woocommerce-cart-items-block,
body.qt-woo-theme .wp-block-woocommerce-cart-totals-block,
body.qt-woo-theme .wc-block-components-main,
body.qt-woo-theme .wc-block-components-sidebar {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

body.qt-woo-theme .wc-block-components-text-input input,
body.qt-woo-theme .wc-block-components-textarea textarea,
body.qt-woo-theme .wc-block-components-select select {
  background: var(--qt-dark) !important;
  border: 1px solid var(--qt-border2) !important;
  color: var(--qt-text) !important;
  border-radius: 6px !important;
}

body.qt-woo-theme .wc-block-components-text-input label,
body.qt-woo-theme .wc-block-components-checkbox .wc-block-components-checkbox__label {
  color: var(--qt-muted) !important;
}

body.qt-woo-theme .wc-block-components-panel,
body.qt-woo-theme .wc-block-checkout__main,
body.qt-woo-theme .wc-block-checkout__sidebar,
body.qt-woo-theme .wc-block-cart__main,
body.qt-woo-theme .wc-block-cart__sidebar {
  background: var(--qt-surface);
  border: 1px solid var(--qt-border);
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

body.qt-woo-theme .wc-block-checkout__sidebar {
  border-top: 3px solid var(--qt-gold);
}

body.qt-woo-theme .wc-block-components-order-summary-item__quantity,
body.qt-woo-theme .wc-block-components-product-name,
body.qt-woo-theme .wc-block-components-totals-item__label {
  color: var(--qt-text) !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

body.qt-woo-theme .wc-block-components-totals-item,
body.qt-woo-theme .wc-block-components-totals-coupon,
body.qt-woo-theme .wc-block-cart-items,
body.qt-woo-theme .wc-block-cart-items__row {
  max-width: 100%;
  min-width: 0;
}

body.qt-woo-theme .wc-block-components-product-price,
body.qt-woo-theme .wc-block-components-totals-item__value,
body.qt-woo-theme .wc-block-components-formatted-money-amount {
  color: var(--qt-gold) !important;
}

body.qt-woo-theme .wc-block-components-button:not(.is-link),
body.qt-woo-theme .wc-block-cart__submit-button,
body.qt-woo-theme .wc-block-components-checkout-place-order-button {
  background: var(--qt-gold) !important;
  color: #000 !important;
  border-color: var(--qt-gold) !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
}

body.qt-woo-theme .wc-block-components-button:not(.is-link):hover,
body.qt-woo-theme .wc-block-cart__submit-button:hover,
body.qt-woo-theme .wc-block-components-checkout-place-order-button:hover {
  background: var(--qt-gold-lt) !important;
  color: #000 !important;
}

body.qt-woo-theme .wc-block-components-radio-control__option,
body.qt-woo-theme .wc-block-components-radio-control-accordion-option {
  background: var(--qt-dark) !important;
  border-color: var(--qt-border) !important;
  color: var(--qt-text) !important;
}

body.qt-woo-theme .wc-block-components-radio-control__option--checked-option-highlighted,
body.qt-woo-theme .wc-block-components-radio-control__option:checked + label {
  border-color: var(--qt-gold) !important;
  box-shadow: inset 0 0 0 1px var(--qt-gold);
}

body.qt-woo-theme .wc-block-components-notice-banner {
  border-radius: 8px;
}

body.qt-woo-theme .wc-block-components-notice-banner.is-info {
  background: rgba(201, 168, 76, 0.08) !important;
  border-color: rgba(201, 168, 76, 0.35) !important;
  color: var(--qt-gold-lt) !important;
}

body.qt-woo-theme .wc-block-components-notice-banner.is-error {
  background: rgba(192, 57, 43, 0.1) !important;
  border-color: rgba(192, 57, 43, 0.4) !important;
  color: #E74C3C !important;
}

/* ── WooCommerce Blocks — cart coupon field ───────────── */
body.qt-woo-theme .wc-block-components-totals-coupon,
body.qt-woo-theme .wc-block-components-totals-coupon-link {
  color: var(--qt-gold) !important;
}

body.qt-woo-theme .wc-block-components-totals-coupon__input,
body.qt-woo-theme .wc-block-components-text-input input[type="text"] {
  background: var(--qt-dark) !important;
  border-color: var(--qt-border2) !important;
  color: var(--qt-text) !important;
  border-radius: 6px !important;
}

body.qt-woo-theme .wc-block-components-totals-coupon__button,
body.qt-woo-theme .wc-block-components-button:not(.is-link) {
  background: var(--qt-gold) !important;
  color: #000 !important;
  border-radius: 6px !important;
}

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  body.qt-woo-theme.woocommerce-cart,
  body.qt-woo-theme.woocommerce-checkout,
  body.qt-woo-theme.woocommerce-order-pay {
    overflow-x: hidden;
  }

  body.qt-woo-theme .woocommerce-checkout .col2-set,
  body.qt-woo-theme #order_review,
  body.qt-woo-theme .woocommerce-cart-form,
  body.qt-woo-theme .cart-collaterals .cart_totals {
    padding: 16px;
    box-sizing: border-box;
    max-width: 100%;
  }

  body.qt-woo-theme .wc-block-components-sidebar-layout,
  body.qt-woo-theme .wc-block-cart,
  body.qt-woo-theme .wc-block-checkout,
  body.qt-woo-theme .wp-block-woocommerce-filled-cart-block {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 16px;
    grid-template-columns: 1fr !important;
  }

  body.qt-woo-theme .wc-block-cart__main,
  body.qt-woo-theme .wc-block-cart__sidebar,
  body.qt-woo-theme .wc-block-checkout__main,
  body.qt-woo-theme .wc-block-checkout__sidebar,
  body.qt-woo-theme .wc-block-components-main,
  body.qt-woo-theme .wc-block-components-sidebar,
  body.qt-woo-theme .wp-block-woocommerce-cart-items-block,
  body.qt-woo-theme .wp-block-woocommerce-cart-totals-block,
  body.qt-woo-theme .wp-block-woocommerce-checkout-fields-block,
  body.qt-woo-theme .wp-block-woocommerce-checkout-totals-block,
  body.qt-woo-theme .wc-block-components-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 100% !important;
    padding: 16px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.qt-woo-theme .wc-block-components-totals-item,
  body.qt-woo-theme .wc-block-components-totals-item__label,
  body.qt-woo-theme .wc-block-components-totals-coupon,
  body.qt-woo-theme .wc-block-components-product-name {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.qt-woo-theme .wc-block-components-express-payment,
  body.qt-woo-theme .wc-block-components-express-payment-continue-rule,
  body.qt-woo-theme .wc-block-cart__submit,
  body.qt-woo-theme .wc-block-cart__submit-container,
  body.qt-woo-theme .wc-block-cart__submit-button,
  body.qt-woo-theme .wc-block-components-checkout-place-order-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  body.qt-woo-theme .wc-block-components-totals-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
  }

  body.qt-woo-theme .wc-block-components-text-input,
  body.qt-woo-theme .wc-block-components-text-input input,
  body.qt-woo-theme .wc-block-components-textarea textarea,
  body.qt-woo-theme .wc-block-components-select select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Ticket Express wallets (Apple / Google / Amazon Pay) — above Payment options */
body.qt-woo-theme .qt-checkout-express-shell,
body.qt-woo-theme .wp-block-woocommerce-checkout-express-payment-block,
body.qt-woo-theme .wc-block-components-express-payment {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 16px;
}
body.qt-woo-theme .qt-express-or,
body.qt-woo-theme .wc-block-components-express-payment-continue-rule {
  text-align: center;
  margin: 14px 0;
  color: var(--qt-muted, #888);
  font-size: 13px;
}

/* Visible host until Stripe ready — full opacity required for wallet detection */
body.qt-woo-theme .qt-stripe-express-wrap {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 20px;
  position: relative;
  z-index: 2;
}
body.qt-woo-theme .qt-stripe-express-wrap.is-pending {
  min-height: 52px;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}
body.qt-woo-theme .qt-stripe-express-wrap.is-pending .qt-stripe-express-or {
  visibility: hidden;
  height: 0;
  margin: 0;
  overflow: hidden;
}
body.qt-woo-theme .qt-stripe-express-wrap.is-ready {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  min-height: 0;
}
body.qt-woo-theme .qt-stripe-express-wrap.is-empty {
  display: none !important;
}
body.qt-woo-theme .qt-stripe-express-checkout {
  width: 100%;
  min-height: 48px;
}
body.qt-woo-theme .qt-stripe-express-or {
  text-align: center;
  margin: 14px 0 0;
  color: var(--qt-muted, #888);
  font-size: 13px;
}

/*
 * COMPLETE ticket checkout UI:
 * Elementor hides Blocks checkout (wallets like cart) and shows classic.
 * For ticket carts: show Blocks, hide classic duplicate.
 * Specificity + !important must beat Elementor responsive hide utilities.
 */
body.qt-ticket-checkout .elementor-328 .elementor-element-14cbadf,
body.qt-ticket-checkout .elementor-328 .elementor-element-14cbadf.elementor-hidden-desktop,
body.qt-ticket-checkout .elementor-328 .elementor-element-14cbadf.elementor-hidden-tablet,
body.qt-ticket-checkout .elementor-328 .elementor-element-14cbadf.elementor-hidden-mobile {
  display: block !important;
}

@media (max-width: 1024px) {
  body.qt-ticket-checkout .elementor-328 .elementor-element-14cbadf.elementor-hidden-tablet,
  body.qt-ticket-checkout .elementor-328 .elementor-element-14cbadf.elementor-hidden-mobile {
    display: block !important;
  }
}
@media (max-width: 767px) {
  body.qt-ticket-checkout .elementor-328 .elementor-element-14cbadf.elementor-hidden-mobile {
    display: block !important;
  }
}
@media (min-width: 1025px) {
  body.qt-ticket-checkout .elementor-328 .elementor-element-14cbadf.elementor-hidden-desktop {
    display: block !important;
  }
}

body.qt-ticket-checkout .elementor-328 .elementor-element-425ebb3 {
  display: none !important;
}

body.qt-ticket-checkout .wc-block-components-express-payment--checkout,
body.qt-ticket-checkout .wp-block-woocommerce-checkout-express-payment-block {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 20px !important;
}
body.qt-ticket-checkout .wc-block-components-express-payment__event-buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
body.qt-ticket-checkout .wc-block-components-express-payment__event-buttons li {
  display: list-item !important;
  width: 100% !important;
  margin: 0 !important;
  min-height: 48px !important;
}
body.qt-ticket-checkout .wc-block-components-express-payment__event-buttons iframe,
body.qt-ticket-checkout .wc-block-components-express-payment__event-buttons button {
  width: 100% !important;
  min-height: 48px !important;
}

/* MTN Blocks payment method styling (match classic look) */
body.qt-ticket-checkout .qv-mtn-blocks {
  margin: 8px 0 4px;
}
body.qt-ticket-checkout .qv-mtn-blocks__box {
  background: #fffbea;
  border: 2px solid #FFCB00;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 8px 0 14px;
  text-align: center;
  color: #111;
}
body.qt-ticket-checkout .qv-mtn-blocks__label {
  font-size: 11px;
  text-transform: uppercase;
  color: #666;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
body.qt-ticket-checkout .qv-mtn-blocks__number {
  font-size: 22px;
  font-weight: 800;
  color: #111;
  letter-spacing: 1px;
}
body.qt-ticket-checkout .qv-mtn-blocks__name {
  font-size: 13px;
  color: #444;
  margin-top: 4px;
}
body.qt-ticket-checkout .qv-mtn-blocks__txn-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: inherit;
}
body.qt-ticket-checkout .qv-mtn-blocks__txn-input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 6px;
}
body.qt-ticket-checkout .qv-mtn-blocks__hint {
  display: block;
  font-size: 12px;
  color: #888;
}

/* Never show a second wallet strip above Payment options (duplicates Amazon/Apple/Google). */
body.qt-ticket-checkout #qt-stripe-express-wrap,
body.qt-ticket-checkout .qt-stripe-express-wrap {
  display: none !important;
}

/* Keep a single Express Checkout block (top only). Hide any stray express near payment. */
body.qt-ticket-checkout .wc-block-checkout__payment-method .wc-block-components-express-payment,
body.qt-ticket-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-express-payment {
  display: none !important;
}
