/* ============================================================
   Doha Quest Booking Pages 3–5 Polish
   File: booking2-pages35.css
   Loaded AFTER wpos-booking.css + booking2.css.
   ============================================================ */


/* Screen-reader-only helper (WC uses this on column headers) */
.screen-reader-text {
  border: 0 !important;
  clip: rect(1px,1px,1px,1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  word-wrap: normal !important;
}

/* ────────────────────────────────────────────────────────────
   PAGE 3: CART (cart.html)
   ──────────────────────────────────────────────────────────── */

/* Two-column cart layout: form (left) + cart-collaterals (right) */
.kadence-woo-cart-form-wrap {
  display: flex !important;
  gap: 30px;
  align-items: flex-start;
  margin-top: 24px;
  flex-wrap: wrap;
}
form.woocommerce-cart-form.wpos-wc-bw-cart-form-wrp {
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  width: 0;        /* force browser to ignore natural table width as flex-basis */
}
.cart-collaterals.wpos-wc-bw-cart-collaterals-wrp {
  flex: 0 0 310px;
  min-width: 260px;
}

/* Make cart table fill the flex item, not dictate its width */
form.woocommerce-cart-form .shop_table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: auto;
}

/* Cart table header — purple (matches original), overrides wpos amber/gold */
form.woocommerce-cart-form .shop_table thead th,
table.shop_table.cart thead th {
  background: #520B75 !important;
  color: #fff !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  padding: 10px 12px !important;
}

/* "Cart Summary" heading above the table */
.cart-summary {
  padding: 0 0 10px;
}
.cart-summary h2 {
  color: #520B75;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0;
}

/* Cart Total card heading */
.cart_totals h2,
.wpos-wc-bw-cart-collaterals-wrp .cart_totals h2 {
  color: #520B75;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 14px !important;
}

/* Remove (trash) column — cell itself vertically centered */
td.product-remove {
  vertical-align: middle !important;
  text-align: center !important;
  width: 40px !important;
  padding: 10px 8px !important;
}

/* Remove (trash) column — red trash-can icon matching original */
td.product-remove a.remove,
td.product-remove a.dq-cart-remove-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  background: transparent !important;
  color: #e00 !important;
  font-size: 1rem !important;
  border: none !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  transition: color .15s !important;
  padding: 0 !important;
}
td.product-remove a.remove::before,
td.product-remove a.dq-cart-remove-btn::before {
  content: none !important;
}
td.product-remove a.remove i,
td.product-remove a.dq-cart-remove-btn i {
  font-size: 1rem !important;
  color: #e00 !important;
  display: block !important;
}
td.product-remove a.remove:hover,
td.product-remove a.dq-cart-remove-btn:hover {
  background: transparent !important;
  color: #a00 !important;
  border: none !important;
}
td.product-remove a.remove:hover i,
td.product-remove a.dq-cart-remove-btn:hover i {
  color: #a00 !important;
}

/* All cart table cells: vertically centered */
table.shop_table.cart td {
  vertical-align: middle !important;
}

/* Product thumbnail in cart */
td.product-thumbnail {
  vertical-align: middle !important;
  width: 96px !important;
  padding: 10px 8px !important;
}
td.product-thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Product name cell — product-title + variation */
td.product-name .product-title {
  font-weight: 700;
  color: #333;
  display: block;
}
td.product-name dl.variation {
  font-size: .82rem;
  color: #777;
  margin: 5px 0 0;
}
td.product-name dl.variation dt {
  display: inline;
  font-weight: 600;
  color: #555;
  clear: left;
}
td.product-name dl.variation dd {
  display: inline;
  margin-left: 4px;
  margin-bottom: 4px;
}
td.product-name dl.variation dd p {
  display: inline;
  margin: 0;
}
td.product-name dl.variation dd + dt {
  display: block;
  margin-left: 0;
  margin-top: 2px;
}

/* Price / subtotal formatting */
td.product-price .woocommerce-Price-amount,
td.product-subtotal .woocommerce-Price-amount {
  font-weight: 700;
  color: #333;
}

/* Quantity cell (static number) */
td.product-quantity .quantity {
  font-weight: 700;
  font-size: .95rem;
  text-align: center;
}

/* ── Cart Total table: match original proportions ── */
.wpos-wc-bw-cart-collaterals-wrp .cart_totals table.shop_table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: 1px solid #e0cff0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  margin-bottom: 0 !important;
}
.wpos-wc-bw-cart-collaterals-wrp .cart_totals table.shop_table th,
.wpos-wc-bw-cart-collaterals-wrp .cart_totals table.shop_table td {
  padding: 14px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid #f0e6f8 !important;
  vertical-align: middle !important;
  font-size: 1rem !important;
}
.wpos-wc-bw-cart-collaterals-wrp .cart_totals table.shop_table th {
  text-align: left !important;
  font-weight: 600 !important;
  color: #444 !important;
  width: 40% !important;
}
.wpos-wc-bw-cart-collaterals-wrp .cart_totals table.shop_table td {
  text-align: right !important;
}
.wpos-wc-bw-cart-collaterals-wrp .cart_totals tr.order-total th,
.wpos-wc-bw-cart-collaterals-wrp .cart_totals tr.order-total td {
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  border-bottom: 0 !important;
  color: #1a1a1a !important;
}
.wpos-wc-bw-cart-collaterals-wrp .cart_totals tr.order-total td {
  color: #520B75 !important;
}
/* Cart Total button area */
.wpos-wc-bw-cart-collaterals-wrp .wc-proceed-to-checkout {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 16px 0 0 !important;
}
/* Back button */
.wpos-wc-bw-cart-collaterals-wrp .wc-proceed-to-checkout .wpos-wc-bw-back-btn {
  display: block !important;
  text-align: center !important;
  font-size: 1rem !important;
  padding: 12px !important;
  border: 2px solid #520B75 !important;
  border-radius: 4px !important;
  color: #520B75 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  background: transparent !important;
  transition: all .2s !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.wpos-wc-bw-cart-collaterals-wrp .wc-proceed-to-checkout .wpos-wc-bw-back-btn:hover {
  background: #520B75 !important;
  color: #fff !important;
}
/* Proceed to checkout button */
.wpos-wc-bw-cart-collaterals-wrp .wc-proceed-to-checkout .checkout-button {
  display: block !important;
  text-align: center !important;
  font-size: 1rem !important;
  padding: 14px !important;
  background: #520B75 !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Empty cart state */
#dq-empty-cart {
  padding: 60px 20px;
}
#dq-empty-cart .cart-empty.woocommerce-info {
  background: transparent !important;
  border-left: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  font-size: 1.05rem !important;
  color: #777 !important;
  margin-bottom: 0 !important;
}
#dq-empty-cart .cart-empty.woocommerce-info::before {
  display: none !important;
}

/* WC return-to-shop button */
a.button.wc-backward {
  background: #520B75;
  color: #fff !important;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-size: .9rem;
  display: inline-block;
  transition: background .2s;
  border: none;
}
a.button.wc-backward:hover {
  background: #3d0857;
  color: #fff !important;
}


/* ── NEW: Card-style cart items (.dq-cart-card) ──────────────
   JS injects these into #dq-cart-rows on cart.html
   ──────────────────────────────────────────────────────────── */
.dq-cart-summary-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #510c76;
  margin: 0 0 14px;
}
.dq-cart-card {
  background: #fff;
  border: 1px solid #e0cff0;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
  position: relative;
}
.dq-cart-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #e53e3e !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
.dq-cart-remove-btn:hover { color: #c53030 !important; }
.dq-cart-remove-btn i { font-size: 1rem; }
.dq-cart-thumb {
  text-align: center;
  margin-bottom: 12px;
}
.dq-cart-thumb img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  display: inline-block;
}
.dq-cart-detail-table {
  width: 100%;
  border-collapse: collapse;
}
.dq-cart-detail-table th {
  text-align: left;
  font-weight: 600;
  color: #510c76;
  width: 110px;
  min-width: 80px;
  padding: 3px 8px 3px 0;
  font-size: 0.85rem;
  white-space: nowrap;
  vertical-align: top;
}
.dq-cart-detail-table td {
  text-align: left;
  color: #333;
  padding: 3px 0;
  font-size: 0.85rem;
  vertical-align: top;
  word-break: break-word;
}
.dq-cart-detail-table tr:last-child th,
.dq-cart-detail-table tr:last-child td {
  font-weight: 700;
  border-top: 1px solid #e0cff0;
  padding-top: 7px;
}

/* ── Cart totals panel ── */
.dq-cart-totals-wrap {
  background: #fff;
  border: 1px solid #e0cff0;
  border-radius: 8px;
  padding: 18px;
  margin-top: 6px;
}
.dq-cart-total-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #510c76;
  margin: 0 0 12px;
}
.dq-cart-totals-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
}
.dq-cart-totals-table th {
  text-align: left;
  font-weight: 600;
  color: #444;
  padding: 9px 0;
  border-bottom: 1px solid #f0e6f8;
  font-size: 0.95rem;
}
.dq-cart-totals-table td {
  text-align: right;
  padding: 9px 0;
  border-bottom: 1px solid #f0e6f8;
  font-size: 0.95rem;
  color: #333;
}
.dq-cart-totals-table .dq-total-row th,
.dq-cart-totals-table .dq-total-row td {
  border-bottom: none;
  border-top: 2px solid #510c76;
  font-weight: 700;
  font-size: 1.05rem;
  color: #510c76;
  padding-top: 10px;
}
.dq-cart-totals-wrap .wc-proceed-to-checkout {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.dq-cart-totals-wrap .wc-proceed-to-checkout .wpos-wc-bw-back-btn {
  display: block !important;
  text-align: center !important;
  padding: 10px !important;
  border: 2px solid #510c76 !important;
  border-radius: 4px !important;
  color: #510c76 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  background: transparent !important;
  transition: all 0.2s !important;
  box-sizing: border-box !important;
}
.dq-cart-totals-wrap .wc-proceed-to-checkout .wpos-wc-bw-back-btn:hover {
  background: #510c76 !important;
  color: #fff !important;
}
.dq-cart-totals-wrap .wc-proceed-to-checkout .checkout-button {
  display: block !important;
  text-align: center !important;
  padding: 12px !important;
  background: #510c76 !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  transition: background 0.2s !important;
  box-sizing: border-box !important;
}
.dq-cart-totals-wrap .wc-proceed-to-checkout .checkout-button:hover {
  background: #3d0857 !important;
  color: #fff !important;
}

/* ── tickets-select: "View Cart" link per product ── */
.dq-view-cart-wrap {
  margin-top: 6px;
}
.dq-view-cart-btn {
  display: block;
  text-align: center;
  padding: 9px 14px;
  background: #510c76;
  color: #fff !important;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none !important;
  font-size: 0.92rem;
  transition: background 0.2s;
}
.dq-view-cart-btn:hover {
  background: #3d0857;
  color: #fff !important;
}

/* ── Product details popup modal ── */
.dq-product-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
.dq-product-modal-overlay.active {
  display: flex;
}
.dq-product-modal {
  background: #fff;
  border-radius: 10px;
  max-width: 420px;
  width: 92%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  animation: dqModalIn 0.2s ease;
}
@keyframes dqModalIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dq-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.08);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  color: #333;
  line-height: 1;
  z-index: 1;
}
.dq-modal-close:hover { background: rgba(0,0,0,0.15); }
.dq-modal-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  display: block;
}
.dq-modal-body {
  padding: 18px 20px 24px;
}
.dq-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #510c76;
  margin: 0 0 6px;
}
.dq-modal-price {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 14px;
}
.dq-modal-desc {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.6;
}
.dq-modal-desc ul {
  padding-left: 18px;
  margin: 8px 0 0;
}
.dq-modal-desc ul li { margin-bottom: 5px; }
.dq-modal-tag {
  display: inline-block;
  background: #f0e5f8;
  color: #510c76;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* ── tickets-select: "Your Order" section (shown after add-to-cart) ── */
.dq-your-order-section {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #e0cff0;
  border-radius: 8px;
  padding: 18px;
}
.dq-your-order-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 12px;
}
.dq-your-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
}
.dq-your-order-table thead th {
  background: #f5a524 !important;
  color: #1a1a1a !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  padding: 9px 10px !important;
  text-align: left;
}
.dq-your-order-table tbody td {
  padding: 8px 10px;
  border-bottom: 1px solid #f0e6f8;
  font-size: 0.88rem;
  color: #333;
}
.dq-your-order-table tfoot th,
.dq-your-order-table tfoot td {
  padding: 9px 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border-top: 2px solid #510c76;
  color: #510c76;
}
.dq-go-to-cart-btn {
  display: block;
  text-align: center;
  padding: 12px;
  background: #510c76;
  color: #fff !important;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none !important;
  transition: background 0.2s;
}
.dq-go-to-cart-btn:hover {
  background: #3d0857;
  color: #fff !important;
}


/* ────────────────────────────────────────────────────────────
   PAGE 4: CHECKOUT (checkout.html)
   ──────────────────────────────────────────────────────────── */

/* Notices (login / coupon) */
.woocommerce .woocommerce-info {
  border-left: 3px solid #520B75;
  background: #f9f6ff;
  color: #444;
  padding: 12px 16px 12px 44px;
  border-radius: 4px;
  font-size: .9rem;
  margin-bottom: 14px;
  position: relative;
}
.woocommerce .woocommerce-info::before {
  content: '\f05a';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 14px;
  top: 12px;
  color: #520B75;
  font-size: .95rem;
}
.woocommerce .woocommerce-info a {
  color: #520B75;
  font-weight: 600;
}
.woocommerce .woocommerce-info a:hover {
  text-decoration: underline;
}

/* Reset Bootstrap .col-1 grid interference */
#customer_details .col-1,
.woocommerce #customer_details .col-1,
.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
  flex: 1 1 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ── Billing form CARD — matches original "Contact Details" panel ── */
.woocommerce-billing-fields {
  background: #fff !important;
  border: 1px solid #ddd8e8 !important;
  border-radius: 8px !important;
  padding: 24px 22px !important;
  box-sizing: border-box !important;
}

/* Contact Details h3 heading — icon + text, matches original weight */
.woocommerce-billing-fields h3 {
  color: #222 !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  margin: 0 0 16px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.woocommerce-billing-fields h3 i {
  color: #520B75;
  font-size: 1rem;
}

/* ── Returning customer notice ── */
.dq-returning-notice {
  background: #eef6fb;
  border: 1px solid #b3d9ee;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #333;
  margin-bottom: 12px;
}
.dq-returning-notice a {
  color: #520B75;
  font-weight: 600;
  text-decoration: none;
}
.dq-returning-notice a:hover { text-decoration: underline; }

/* ── Billing Details h3 ── */
.dq-billing-heading {
  color: #222 !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  margin: 16px 0 14px !important;
}

/* Coupon notice inside card — light peach/rose bg, matches original */
.dq-coupon-notice {
  background: #fdf0ed !important;
  border-radius: 4px !important;
  padding: 10px 14px !important;
  font-size: .88rem !important;
  color: #333 !important;
  margin-bottom: 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.dq-coupon-notice i {
  color: #c0392b !important;
  font-size: .9rem !important;
  flex-shrink: 0 !important;
}
.dq-coupon-notice a {
  color: #520B75 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.dq-coupon-notice a:hover { text-decoration: underline !important; }

/* Billing field label */
.woocommerce .form-row label,
.woocommerce .form-row label.required_field {
  font-weight: 500;
  font-size: .85rem;
  color: #555;
  margin-bottom: 5px;
  display: block;
}
.woocommerce .form-row .required {
  color: #dc3545;
}

/* Input text fields */
.woocommerce .input-text,
.woocommerce-page .input-text {
  border: 1px solid #ccc !important;
  border-radius: 5px !important;
  padding: 9px 12px !important;
  font-size: .93rem !important;
  width: 100% !important;
  display: block;
  box-sizing: border-box !important;
  background: #fff !important;
  color: #333 !important;
  transition: border-color .2s, box-shadow .2s;
}
.woocommerce .input-text::placeholder,
.woocommerce-page .input-text::placeholder {
  color: #aaa !important;
}
.woocommerce .input-text:focus,
.woocommerce-page .input-text:focus {
  border-color: #520B75 !important;
  box-shadow: 0 0 0 3px rgba(82,11,117,.08) !important;
  outline: none !important;
}
.woocommerce-invalid.woocommerce-invalid-required-field .input-text,
.woocommerce .woocommerce-invalid .input-text {
  border-color: #dc3545 !important;
}

/* ── Bootstrap 4 collision fix: .form-row {display:flex} ──
   Bootstrap turns WC billing <p class="form-row"> into a flex row,
   putting label + input side-by-side. Kill it inside billing fields. */
.woocommerce-billing-fields .form-row,
.woocommerce-billing-fields p.form-row {
  display: block !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}
.woocommerce-billing-fields .woocommerce-input-wrapper {
  display: block !important;
  width: 100% !important;
}

/* ── Billing field wrapper: CSS GRID (reliable 2-column) ── */
.woocommerce-billing-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4px 16px !important;
}
/* form-row-first and form-row-last: natural grid flow (no overrides needed) */
.woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-billing-fields__field-wrapper .form-row-last {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
}
/* form-row-wide / full-width items span both columns */
.woocommerce-billing-fields__field-wrapper .form-row-wide {
  grid-column: 1 / -1 !important;
}

/* Spacing between form rows */
.woocommerce-billing-fields__field-wrapper p.form-row {
  margin: 0 0 12px !important;
}

/* Your Order section — card panel */
#order_review {
  padding: 0 !important;
  background: #fff;
  border: 1px solid #e0cff0;
  border-radius: 8px;
  padding: 24px 20px !important;
  box-sizing: border-box;
}
#order_review h3#order_review_heading {
  color: #222 !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  margin: 0 0 14px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
#order_review h3#order_review_heading i {
  color: #520B75;
  font-size: 1rem;
}
#order_review h3#payments_heading {
  color: #520B75;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 24px 0 14px;
}

/* Order review table — clean neutral header (not yellow) */
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
}
.woocommerce-checkout-review-order-table thead tr th {
  background: #520B75 !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: .88rem !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  padding: 10px 12px !important;
}
/* ── Your Order: yellow header row (matches original site) ── */
.woocommerce-checkout-review-order-table thead tr.dq-order-header-row th {
  background: #f5a524 !important;
  color: #1a1a1a !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  padding: 9px 12px !important;
}
.woocommerce-checkout-review-order-table tbody td,
.woocommerce-checkout-review-order-table tfoot td,
.woocommerce-checkout-review-order-table tfoot th {
  padding: 10px 12px !important;
  border-bottom: 1px solid #f0e6f8 !important;
  font-size: .9rem !important;
}
.woocommerce-checkout-review-order-table tfoot tr.order-total th,
.woocommerce-checkout-review-order-table tfoot tr.order-total td {
  font-weight: 700 !important;
  font-size: 1rem !important;
  border-top: 2px solid #520B75 !important;
  border-bottom: none !important;
  padding-top: 12px !important;
}
.woocommerce-checkout-review-order-table tfoot tr.order-total td .woocommerce-Price-amount {
  color: #520B75 !important;
  font-size: 1.15rem !important;
}

/* Product name in order review */
.woocommerce-checkout-review-order-table .product-name .product-title {
  font-weight: 700;
  color: #333;
}
.woocommerce-checkout-review-order-table .product-quantity {
  color: #777;
  font-weight: 400;
  font-size: .9rem;
}

/* Variation in checkout order review */
.woocommerce-checkout-review-order-table dl.variation,
#order_review dl.variation {
  font-size: .82rem;
  color: #777;
  margin: 5px 0 0;
}
#order_review dl.variation dt {
  display: inline;
  font-weight: 600;
  color: #555;
}
#order_review dl.variation dd {
  display: inline;
  margin-left: 4px;
  margin-bottom: 4px;
}
#order_review dl.variation dd p {
  display: inline;
  margin: 0;
}
#order_review dl.variation dd + dt {
  display: block;
  margin-left: 0;
  margin-top: 2px;
}

/* Payment section — SkipCash */
.woocommerce-checkout #payment {
  margin-top: 0;
}
.woocommerce-checkout #payment ul.wc_payment_methods {
  list-style: none;
  padding: 0 0 4px;
  margin: 0;
}
.woocommerce-checkout #payment ul.wc_payment_methods li.wc_payment_method label {
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  color: #333;
}
.woocommerce-checkout #payment div.payment_box {
  background: #f9f9f9 !important;
  border: 1px solid #e5e6f5 !important;
  border-radius: 4px !important;
  padding: 12px 16px !important;
  font-size: .88rem !important;
  color: #555 !important;
  margin: 8px 0 0 !important;
}
.woocommerce-checkout #payment div.payment_box::before {
  display: none !important;
}

/* Privacy policy text */
.woocommerce-privacy-policy-text {
  font-size: .82rem;
  color: #777;
  margin: 12px 0;
}
.woocommerce-privacy-policy-text a {
  color: #520B75;
}

/* Terms checkbox row */
p.form-row.validate-required .woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}
.woocommerce-terms-and-conditions-checkbox-text {
  font-size: .88rem;
  line-height: 1.4;
  color: #444;
}
.woocommerce-terms-and-conditions-checkbox-text a {
  color: #520B75;
}

/* Checkout error */
#dq-checkout-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  padding: 12px 16px;
  color: #721c24;
  font-size: .9rem;
  margin-top: 12px;
}
#dq-checkout-error ul {
  margin: 0;
  padding-left: 16px;
}

/* Proceed to Payment button */
button#dq-place-order-btn,
#payment button.button.alt {
  background: #520B75 !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 14px !important;
  font-size: 1.05rem !important;
  border: none !important;
  border-radius: 4px !important;
  width: 100% !important;
  cursor: pointer;
  margin-top: 16px;
  transition: background .2s;
  display: block;
  text-align: center;
}
button#dq-place-order-btn:hover,
#payment button.button.alt:hover {
  background: #3d0857 !important;
}
button#dq-place-order-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
}


/* ────────────────────────────────────────────────────────────
   PAGE 5: CONFIRMATION (confirmation.html)
   ──────────────────────────────────────────────────────────── */

body[data-page="confirmation"] .wpos-bw-booking-wrap {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.dq-conf-card {
  background: #fff;
  border-radius: 10px;
  padding: 44px 40px;
  box-shadow: 0 4px 24px rgba(82,11,117,.1);
  text-align: center;
}

.dq-conf-checkmark {
  width: 76px;
  height: 76px;
  background: #28a745;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 4px 20px rgba(40,167,69,.3);
}
.dq-conf-checkmark i {
  color: #fff;
  font-size: 2rem;
}

.dq-conf-title {
  color: #520B75;
  font-weight: 800;
  font-size: 1.75rem;
  margin-bottom: 8px;
  line-height: 1.2;
}
.dq-conf-subtitle {
  color: #666;
  font-size: .98rem;
  margin-bottom: 30px;
}

.dq-booking-details {
  background: #f9f6ff;
  border: 2px solid #e0cff0;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 28px;
  text-align: left;
}

.dq-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e0cff0;
  flex-wrap: wrap;
  gap: 4px;
}
.dq-detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.dq-detail-label {
  color: #777;
  font-size: .88rem;
  flex-shrink: 0;
}
.dq-detail-value {
  font-weight: 700;
  text-align: right;
  color: #222;
  font-size: .92rem;
}
.dq-detail-value.dq-ref {
  color: #520B75;
  font-size: 1.05rem;
  letter-spacing: 1px;
}
#dq-conf-lines .dq-detail-row {
  border-bottom: 1px solid #e0cff0;
}

.dq-conf-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid #520B75;
}
.dq-conf-total-row strong {
  font-size: 1rem;
}
#dq-conf-total {
  font-size: 1.2rem;
  color: #520B75;
}

.dq-conf-info {
  text-align: left;
  margin-bottom: 28px;
  font-size: .9rem;
}
.dq-conf-info p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  color: #444;
  line-height: 1.4;
}
.dq-conf-info p:last-child { margin-bottom: 0; }
.dq-conf-info p i {
  color: #28a745;
  flex-shrink: 0;
  margin-top: 2px;
}

.dq-conf-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.dq-conf-actions .btn-home {
  background: #520B75;
  color: #fff;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .2s;
}
.dq-conf-actions .btn-home:hover {
  background: #3d0857;
  color: #fff;
}
.dq-conf-actions .btn-more {
  background: transparent;
  color: #520B75;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 4px;
  border: 2px solid #520B75;
  text-decoration: none;
  transition: all .2s;
}
.dq-conf-actions .btn-more:hover {
  background: #520B75;
  color: #fff;
}


/* ────────────────────────────────────────────────────────────
   SHARED — pages 3, 4, 5
   ──────────────────────────────────────────────────────────── */

/* Empty wrapper doesn't push layout */
.woocommerce-notices-wrapper:empty {
  display: none;
}

/* Price amounts */
.woocommerce-Price-amount.amount {
  font-weight: 700;
}
.woocommerce-Price-currencySymbol {
  font-size: .85em;
}
