/* =========================================================
   STRATEGEM CLUB — Elementor Native Checkout Widget Skin
   Targets the REAL e-checkout__* markup confirmed from live
   page source — every selector below is taken from that real
   HTML, not guessed.
   ========================================================= */

.e-checkout__container{
  --sc-dark:        #122A22;
  --sc-dark-alt:    #244C3E;
  --sc-gold:        #C99B3E;
  --sc-gold-hover:  #B98B2E;
  --sc-maroon:      #661E1A;
  --sc-maroon-hover:#54130F;
  --sc-cream:       #F2E9D4;
  --sc-cream-light: #FBF7EE;
  --sc-text-body:   #6B6B6B;
  --sc-border:      #E1D6BC;
  --sc-shadow:      0 4px 20px rgba(18, 42, 34, 0.06);

  gap: 40px !important;
  align-items: flex-start !important;
}

/* ---------- Left column: billing ---------- */
.e-checkout__column-start #customer_details{
  background: #ffffff;
  border: 1px solid var(--sc-border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--sc-shadow);
}

.woocommerce-billing-fields h3,
.woocommerce-additional-fields h3:not(:empty){
  font-family: 'Bricolage Grotesque', sans-serif !important;
  color: var(--sc-dark) !important;
  font-weight: 700 !important;
  font-size: 19px !important;
  border-bottom: 2px solid var(--sc-gold);
  padding-bottom: 12px;
  margin: 0 0 22px !important;
}

.woocommerce-additional-fields h3:empty{
  display: none;
}

.woocommerce-shipping-fields:empty{
  display: none !important;
}

.woocommerce-additional-fields{
  margin-top: 24px;
}

/* First/Last Name share the row 50/50; every other field is
   full width on its own row. .elementor-widget-woocommerce-
   checkout-page is the real widget wrapper class (confirmed live)
   — Elementor's own CSS sets width:100% on these at that scope,
   which was winning over the grid-column approach alone. Matching
   that same specificity here so this wins instead. */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-additional-fields__field-wrapper .form-row{
  grid-column: span 2;
  margin: 0 0 18px !important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce-checkout .form-row-first,
.elementor-widget-woocommerce-checkout-page .woocommerce-checkout .form-row-last,
.woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-billing-fields__field-wrapper .form-row-last{
  grid-column: span 1 !important;
  width: 100% !important;
}

.woocommerce-billing-fields label,
.woocommerce-additional-fields label{
  display: inline-block;
  color: var(--sc-dark) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  margin-bottom: 6px;
}

.woocommerce-billing-fields .required,
.woocommerce-additional-fields .required{
  color: var(--sc-maroon) !important;
}

.woocommerce-billing-fields input.input-text,
.woocommerce-billing-fields select,
.woocommerce-billing-fields textarea,
.woocommerce-additional-fields input.input-text,
.woocommerce-additional-fields select,
.woocommerce-additional-fields textarea{
  width: 100%;
  border: 1px solid var(--sc-border) !important;
  border-radius: 6px !important;
  background: var(--sc-cream-light) !important;
  color: var(--sc-dark) !important;
  padding: 11px 14px !important;
  font-size: 14px !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.woocommerce-billing-fields input.input-text:focus,
.woocommerce-billing-fields select:focus,
.woocommerce-billing-fields textarea:focus{
  border-color: var(--sc-gold) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 155, 62, 0.15) !important;
}

.woocommerce-billing-fields .woocommerce-invalid input.input-text{
  border-color: var(--sc-maroon) !important;
}

/* Select2 (country/state) — colors only, deliberately no size/
   padding overrides, since Select2 calculates dropdown click
   positions from its own elements' actual rendered size. */
.woocommerce-billing-fields .select2-container{
  width: 100% !important;
}

.woocommerce-billing-fields .select2-container .select2-selection--single{
  display: flex !important;
  align-items: center !important;
  min-height: 46px !important;
  border: 1px solid var(--sc-border) !important;
  border-radius: 6px !important;
  background: var(--sc-cream-light) !important;
}

.woocommerce-billing-fields .select2-container .select2-selection__rendered{
  padding-left: 14px !important;
  padding-right: 30px !important;
  color: var(--sc-dark) !important;
}

.select2-dropdown{
  border: 1px solid var(--sc-border) !important;
  border-radius: 6px !important;
}

.select2-search--dropdown .select2-search__field{
  border: 1px solid var(--sc-border) !important;
  outline: none !important;
  box-shadow: none !important;
}

.select2-search--dropdown .select2-search__field:focus{
  border-color: var(--sc-gold) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(201, 155, 62, 0.15) !important;
}

.select2-results__option--highlighted[aria-selected]{
  background: var(--sc-gold) !important;
  color: var(--sc-dark) !important;
}

.select2-results__option[aria-selected="true"]{
  background: var(--sc-cream) !important;
  color: var(--sc-dark) !important;
}

/* ---------- Right column ---------- */
.e-checkout__order_review{
  background: #ffffff;
  border: 1px solid var(--sc-border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--sc-shadow);
  margin-bottom: 20px;
}

#order_review_heading{
  font-family: 'Bricolage Grotesque', sans-serif !important;
  color: var(--sc-dark) !important;
  font-weight: 700 !important;
  font-size: 19px !important;
  border-bottom: 2px solid var(--sc-gold);
  padding-bottom: 12px;
  margin: 0 0 20px !important;
}

/* "Return to cart" — Events Calendar's own ticket-checkout link */
.tribe-checkout-backlinks{
  margin-bottom: 16px;
}

.tribe-checkout-backlink{
  color: var(--sc-gold-hover) !important;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none !important;
}

.tribe-checkout-backlink:hover{
  text-decoration: underline !important;
}

/* Order review table */
.woocommerce-checkout-review-order-table{
  border: none !important;
  border-collapse: collapse;
  width: 100%;
}

.woocommerce-checkout-review-order-table thead{
  display: none;
}

.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th{
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--sc-border) !important;
  color: var(--sc-dark) !important;
  font-size: 14px;
}

.woocommerce-checkout-review-order-table .product-name{
  color: var(--sc-dark) !important;
}

.woocommerce-checkout-review-order-table .product-quantity{
  color: var(--sc-text-body) !important;
  font-weight: 400;
}

.woocommerce-checkout-review-order-table .amount{
  color: var(--sc-dark) !important;
  font-weight: 600;
}

.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout-review-order-table tr.order-total .amount{
  color: var(--sc-maroon) !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  border-bottom: none !important;
}

/* Our injected remove button */
.scc-remove-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--sc-maroon) !important;
  text-decoration: none !important;
  vertical-align: middle;
  transition: background 0.15s ease;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

.scc-remove-link,
.scc-remove-link:link,
.scc-remove-link:visited{
  color: #ffffff !important;
}

.scc-remove-link:hover{
  background: var(--sc-maroon-hover) !important;
  color: #ffffff !important;
}

/* ---------- Coupon box (Elementor's own coupon UI) ---------- */
.e-coupon-box{
  background: var(--sc-dark) !important;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.e-woocommerce-coupon-nudge{
  color: #ffffff !important;
  font-size: 14px;
  margin: 0;
}

.e-show-coupon-form{
  color: var(--sc-gold) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.e-coupon-anchor{
  margin-top: 14px;
}

.e-coupon-anchor-description{
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 12px;
  display: block;
  margin-bottom: 8px;
}

.coupon-container-grid{
  display: flex;
  gap: 8px;
}

.coupon-container-grid #coupon_code{
  flex: 1 1 auto;
  border: 1px solid var(--sc-border) !important;
  border-radius: 6px !important;
  padding: 10px 14px !important;
  background: #ffffff !important;
  color: var(--sc-dark) !important;
}

.e-apply-coupon{
  background: var(--sc-gold) !important;
  color: var(--sc-dark) !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  cursor: pointer;
}

.e-apply-coupon:hover{
  background: var(--sc-gold-hover) !important;
}

/* ---------- Payment section ---------- */
.e-checkout__order_review-2 #payment{
  background: var(--sc-cream-light) !important;
  border: 1px solid var(--sc-border);
  border-radius: 10px;
  padding: 6px;
}

.e-checkout__order_review-2 ul.payment_methods{
  border-bottom: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.e-checkout__order_review-2 li.wc_payment_method{
  border-bottom: 1px solid var(--sc-border);
  padding: 14px !important;
  list-style: none;
}

.e-checkout__order_review-2 li.wc_payment_method:last-child{
  border-bottom: none;
}

.e-checkout__order_review-2 li.wc_payment_method label{
  color: var(--sc-dark) !important;
  font-weight: 600 !important;
}

.e-checkout__order_review-2 input.input-radio{
  accent-color: var(--sc-gold);
}

.e-checkout__order_review-2 .payment_box{
  background: var(--sc-cream) !important;
  color: var(--sc-dark) !important;
  border-radius: 6px;
  margin-top: 10px !important;
  padding: 14px 16px !important;
}

.e-checkout__order_review-2 .payment_box p{
  margin: 0 !important;
  color: var(--sc-dark) !important;
}

.e-checkout__order_review-2 .woocommerce-terms-and-conditions-wrapper,
.e-checkout__order_review-2 .woocommerce-privacy-policy-text{
  color: var(--sc-text-body) !important;
  font-size: 13px;
  margin-top: 16px;
}

.e-checkout__order_review-2 .woocommerce-terms-and-conditions-wrapper a{
  color: var(--sc-gold-hover) !important;
}

.e-checkout__order_review-2 #place_order{
  background: var(--sc-maroon) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 14px !important;
  padding: 16px 24px !important;
  width: 100%;
  margin-top: 16px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  box-shadow: 0 4px 14px rgba(102, 30, 26, 0.25) !important;
}

.e-checkout__order_review-2 #place_order:hover{
  background: var(--sc-maroon-hover) !important;
}

.e-checkout__order_review-2 #place_order:active{
  transform: scale(0.99);
}

/* ---------- Notices ---------- */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-error,
.woocommerce-message,
.woocommerce-info{
  background: var(--sc-cream) !important;
  border-left: 3px solid var(--sc-gold) !important;
  border-radius: 6px;
  padding: 14px 18px !important;
  color: var(--sc-dark) !important;
  list-style: none;
  margin-bottom: 20px !important;
}

.woocommerce-error{
  border-left-color: var(--sc-maroon) !important;
}

.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before{
  display: none !important;
}

.woocommerce-message a,
.woocommerce-message a.restore-item{
  color: var(--sc-gold-hover) !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

/* =========================================================
   Order-received ("Thank you") page — same Elementor checkout
   widget, its post-order state. Confirmed real classes from live
   page source, scoped to the reliable body.woocommerce-order-
   received class (same scoping pattern used successfully on the
   single-event page).
   ========================================================= */
body.woocommerce-order-received{
  --sc-dark:        #122A22;
  --sc-gold:        #C99B3E;
  --sc-gold-hover:  #B98B2E;
  --sc-maroon:      #661E1A;
  --sc-cream:       #F2E9D4;
  --sc-cream-light: #FBF7EE;
  --sc-text-body:   #6B6B6B;
  --sc-border:      #E1D6BC;
}

body.woocommerce-order-received .woocommerce-notice--success{
  display: block;
  color: var(--sc-dark) !important;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px !important;
}

body.woocommerce-order-received .woocommerce-order-overview{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--sc-border);
  border-radius: 10px;
  padding: 20px 24px !important;
  margin: 0 0 28px !important;
}

body.woocommerce-order-received .woocommerce-order-overview li{
  color: var(--sc-text-body) !important;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

body.woocommerce-order-received .woocommerce-order-overview li strong{
  display: block;
  color: var(--sc-dark) !important;
  font-size: 15px;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 700;
  margin-top: 4px;
}

body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title{
  font-family: 'Bricolage Grotesque', sans-serif !important;
  color: var(--sc-dark) !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  border-bottom: 2px solid var(--sc-gold);
  padding-bottom: 10px;
  margin: 0 0 20px !important;
}

body.woocommerce-order-received table.woocommerce-table--order-details{
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

body.woocommerce-order-received table.woocommerce-table--order-details th,
body.woocommerce-order-received table.woocommerce-table--order-details td{
  padding: 14px 12px !important;
  border-bottom: 1px solid var(--sc-border) !important;
  color: var(--sc-dark) !important;
  font-size: 14px;
  text-align: left;
}

body.woocommerce-order-received table.woocommerce-table--order-details thead th{
  background: var(--sc-cream);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--sc-text-body) !important;
}

body.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child th,
body.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child td{
  color: var(--sc-maroon) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  border-bottom: none !important;
}

body.woocommerce-order-received .tribe-event-details{
  color: var(--sc-text-body) !important;
  font-size: 13px;
  line-height: 1.6;
}

body.woocommerce-order-received .event-title{
  color: var(--sc-gold-hover) !important;
  font-weight: 600;
  text-decoration: none;
}

/* "Your Tickets" section + attendee ticket cards */
body.woocommerce-order-received .tec-tickets__attendees-list-wrapper > h4,
body.woocommerce-order-received .tribe-common-h4{
  font-family: 'Bricolage Grotesque', sans-serif !important;
  color: var(--sc-dark) !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  margin: 8px 0 16px !important;
}

body.woocommerce-order-received .tec-tickets__attendees-list{
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.woocommerce-order-received .tec-tickets__attendees-list-item{
  background: var(--sc-cream-light);
  border: 1px solid var(--sc-border);
  border-radius: 8px;
  padding: 14px 16px;
}

body.woocommerce-order-received .tec-tickets__attendees-list-item-attendee-details-name{
  color: var(--sc-dark) !important;
  font-weight: 700 !important;
}

body.woocommerce-order-received .tec-tickets__attendees-list-item-attendee-details-ticket{
  color: var(--sc-text-body) !important;
  font-size: 13px;
}

body.woocommerce-order-received .tec-tickets__wallet-plus-component-pdf-button-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sc-gold) !important;
  color: var(--sc-dark) !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  padding: 9px 16px !important;
  text-decoration: none !important;
  font-size: 13px;
  margin-top: 10px;
}

body.woocommerce-order-received .tec-tickets__wallet-plus-component-pdf-button-link:hover{
  background: var(--sc-gold-hover) !important;
}

/* Billing address */
body.woocommerce-order-received .woocommerce-customer-details{
  background: var(--sc-cream-light);
  border: 1px solid var(--sc-border);
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 12px;
}

body.woocommerce-order-received .woocommerce-customer-details address{
  font-style: normal;
  color: var(--sc-dark) !important;
  font-size: 14px;
  line-height: 1.7;
}

body.woocommerce-order-received .woocommerce-customer-details--phone,
body.woocommerce-order-received .woocommerce-customer-details--email{
  color: var(--sc-dark) !important;
  font-size: 14px;
  margin: 4px 0 0 !important;
}
