/* FEESTival ticket flow — Cart · Checkout · Confirmation.
   Enqueued on cart/checkout/order-received (mu-plugin). Woo-native restyle;
   festival decor only on the confirmation (handoff B/C/D). Builds on the
   existing webshop-brand.css (orange CTAs, teal titles, jvwk-confirm-* card). */
.woocommerce-cart, .woocommerce-checkout, .woocommerce-order-received{
  --teal:#2F6386; --orange:#F2A73B; --orange-h:#E0931F; --gold:#F2C158; --gold-ink:#C88704;
  --blue-2:#2456A8; --blue-3:#173B7A; --cream:#FAF6EF; --cream-2:#F2ECDD; --hair:#EADFCE;
  --field-line:#DCD5C4; --ink:#1C1C1C; --grey:#6b6255; --grey-2:#9E9284; --label:#3A3833;
  --green:#1B7A3D; --amber-bg:#FEF3DC; --amber-ink:#C88704;
  --slab:"Roboto Slab",Georgia,serif; font-family:"Roboto",system-ui,sans-serif;
}
.woocommerce-cart .entry-title, .woocommerce-checkout .entry-title,
.woocommerce-cart .woocommerce-products-header, .woocommerce-checkout h1.entry-title{
  font-family:var(--slab); color:var(--teal); font-weight:800; text-transform:none!important}
/* breadcrumb — match the shop exactly (Astra styles the shop one via its woo container) */
.woocommerce-cart .woocommerce-breadcrumb, .woocommerce-checkout .woocommerce-breadcrumb{
  font-family:"Roboto",sans-serif; font-size:13.8px; color:#777; margin:0 0 14px; padding:0}
.woocommerce-cart .woocommerce-breadcrumb a, .woocommerce-checkout .woocommerce-breadcrumb a{color:#777; text-decoration:none}
.woocommerce-cart .woocommerce-breadcrumb a:hover, .woocommerce-checkout .woocommerce-breadcrumb a:hover{color:var(--teal)}

/* comp cart & checkout show no SSO nudge (it lives on the PDP) */
.woocommerce-cart .jvwk-sso-nudge, .woocommerce-cart .jvwk-loggedin,
.woocommerce-checkout .jvwk-sso-nudge, .woocommerce-checkout .jvwk-loggedin{display:none!important}

/* white page background (Astra separate-container ships grey) */
body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-order-received,
body.woocommerce-cart .site-content, body.woocommerce-checkout .site-content,
body.woocommerce-order-received .site-content,
body.woocommerce-cart .ast-separate-container,
body.woocommerce-checkout .ast-separate-container,
body.woocommerce-order-received .ast-separate-container{background-color:#fff!important}

/* ============ B · CART ==================================================== */
/* fill the container so the item lines up with the page title (no centring indent) */
.woocommerce-cart .woocommerce{
  max-width:none; margin:0;
  display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:20px 40px; align-items:start}
.woocommerce-cart .woocommerce>.jvwk-loggedin,
.woocommerce-cart .woocommerce>.jvwk-sso-nudge,
.woocommerce-cart .woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1; margin:0}
.woocommerce-cart form.woocommerce-cart-form{grid-column:1}
.woocommerce-cart .cart-collaterals{grid-column:2}
@media(max-width:820px){.woocommerce-cart .woocommerce{grid-template-columns:1fr; max-width:460px}}

/* item table → single flex row */
.woocommerce-cart table.cart{border:0; margin:0; background:none}
.woocommerce-cart table.cart thead{display:none}
.woocommerce-cart table.cart tbody,.woocommerce-cart table.cart tr,.woocommerce-cart table.cart td{display:block; border:0; padding:0}
.woocommerce-cart table.cart .cart_item{
  display:flex; gap:16px; align-items:center;
  padding:0 0 20px; border-bottom:1px solid var(--hair); margin:0 0 16px}
/* hide the columns the comp doesn't show (qty editor, unit price) */
.woocommerce-cart table.cart .product-price,
.woocommerce-cart table.cart .product-quantity,
.woocommerce-cart table.cart .actions{display:none}
/* remove control — in the flow, vertically centred, roomy hit area */
.woocommerce-cart table.cart .product-remove{order:9; width:auto; margin-left:6px}
.woocommerce-cart table.cart .product-remove a.remove{
  display:flex; align-items:center; justify-content:center; width:28px; height:28px;
  border-radius:50%; font-size:16px; line-height:1; color:var(--grey-2)!important; background:none!important}
.woocommerce-cart table.cart .product-remove a.remove:hover{background:#EFE8DA!important; color:var(--red,#B4231F)!important}
/* thumbnail 64px QR kaartje */
.woocommerce-cart table.cart .product-thumbnail{flex:0 0 64px}
.woocommerce-cart table.cart .product-thumbnail img{
  width:64px; height:64px; border-radius:10px; object-fit:cover; object-position:top; box-shadow:0 2px 8px rgba(0,0,0,.12)}
/* name block */
.woocommerce-cart table.cart .product-name{flex:1; font-size:14.5px; font-weight:700; color:var(--ink); line-height:1.35}
.woocommerce-cart table.cart .product-name a{color:var(--ink); text-decoration:none; font-weight:700}
.feest-cart-qty{color:var(--grey-2); font-weight:400}
.feest-cart-when{font-size:12px; font-weight:400; color:var(--grey); margin:4px 0 0}
.woocommerce-cart table.cart .product-name .variation,
.woocommerce-cart table.cart .product-name dl.variation{margin:6px 0 0; font-size:12px}
.woocommerce-cart table.cart .product-name .variation dt{display:none}
.woocommerce-cart table.cart .product-name .variation dd{margin:0; color:var(--teal); font-weight:600}
.woocommerce-cart table.cart .product-name .variation dd p{margin:0}
.woocommerce-cart table.cart .product-name .variation dd::before{content:"Tickets voor: "; color:var(--teal); font-weight:600}
/* line total */
.woocommerce-cart table.cart .product-subtotal{flex:0 0 auto; align-self:center; font-size:14.5px; font-weight:700; color:var(--ink); white-space:nowrap}
/* "← Verder winkelen" */
.feest-cart-back{display:inline-block; margin-top:2px; font-size:12px; color:var(--teal); font-weight:700; text-decoration:underline}

/* Overzicht card */
.woocommerce-cart .cart-collaterals{width:auto; float:none}
.woocommerce-cart .cart-collaterals .cross-sells{display:none}
.woocommerce-cart .cart-collaterals .cart_totals{
  width:100%!important; float:none!important; background:var(--cream-2); border:0; border-radius:12px; padding:20px}
/* kill Astra's default cart-totals header strip (light bg + negative margin) */
.woocommerce-cart .cart_totals h2{
  font-size:0; font-weight:700; color:var(--teal); text-transform:uppercase; letter-spacing:.04em;
  margin:0 0 14px!important; padding:0!important; background:none!important; border:0!important; font-family:"Roboto",sans-serif}
.woocommerce-cart .cart_totals h2::before{content:"Overzicht"; font-size:13px}
.woocommerce-cart .cart_totals table{margin:0; border:0}
.woocommerce-cart .cart_totals tr{display:flex; justify-content:space-between; align-items:baseline}
.woocommerce-cart .cart_totals .cart-subtotal{font-size:13px; margin-bottom:8px}
.woocommerce-cart .cart_totals th{font-weight:400; color:var(--grey); font-size:13px; padding:0; text-align:left}
.woocommerce-cart .cart_totals td{font-weight:600; padding:0; text-align:right; white-space:nowrap; border:0}
.woocommerce-cart .cart_totals .order-total{font-size:15px; font-weight:800; padding-top:10px; margin-top:2px; border-top:1px solid var(--field-line)}
.woocommerce-cart .cart_totals .order-total th{font-weight:800; color:var(--ink); font-size:15px}
.woocommerce-cart .cart_totals .order-total .amount{color:var(--teal); font-size:15px}
.woocommerce-cart .cart_totals .shipping,.woocommerce-cart .cart_totals .tax-total{display:none}
.woocommerce-cart .wc-proceed-to-checkout{padding:16px 0 0; margin:0}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button{
  background:var(--orange)!important; color:var(--ink)!important; font-weight:700; font-size:14px;
  border-radius:8px; width:100%; text-align:center; padding:14px; margin:0}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover{background:var(--orange-h)!important}
.woocommerce-cart .cart_totals::after{content:"🔒 Veilig via iDEAL"; display:block; text-align:center; font-size:11px; color:var(--grey); margin-top:10px}

/* empty cart (comp card) — hide Woo defaults, show ours */
.woocommerce-cart .cart-empty.woocommerce-info,
.woocommerce-cart .wc-empty-cart-message,
.woocommerce-cart .return-to-shop{display:none!important}
.woocommerce-cart .feest-cart-empty{
  max-width:420px; margin:0 auto; background:#fff; border-radius:14px; padding:40px 32px;
  text-align:center; box-shadow:0 1px 3px rgba(0,0,0,.06)}
.feest-cart-empty__icon{
  width:52px; height:52px; margin:0 auto 14px; border-radius:14px; background:var(--amber-bg);
  color:var(--amber-ink); display:flex; align-items:center; justify-content:center; font-size:24px}
.feest-cart-empty__title{margin:0 0 6px; font-size:15px; font-weight:700; color:var(--ink)}
.feest-cart-empty__help{margin:0 0 18px; font-size:12.5px; line-height:1.55; color:var(--grey)}
.feest-cart-empty__btn{
  display:inline-block; padding:12px 24px; border-radius:8px; background:var(--orange);
  color:var(--ink); font-weight:700; font-size:13.5px; text-decoration:none}
.feest-cart-empty__btn:hover{background:var(--orange-h)}

/* ===== C · CHECKOUT (custom form-checkout.php template — comp layout) ===== */
/* comp strips these from the payment moment */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .checkout_coupon,
.woocommerce-checkout .jvwk-sso-notice,
.woocommerce-checkout .jvwk-kaartje-row,
.woocommerce-checkout .jvwk-trust,
.woocommerce-checkout .jvwk-pay-reassure,
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout #billing_phone_field,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #order_comments_field,
/* the real gateway list is hidden — a single iDEAL gateway, auto-selected; the
   decorative Betaalmethode box on the left stands in for it */
.feest-checkout #payment ul.payment_methods,
.feest-checkout #payment .woocommerce-privacy-policy-text{display:none!important}

/* two-column grid (from the template) */
.feest-checkout .feest-co{
  max-width:1040px; margin:0; display:grid; grid-template-columns:minmax(0,1fr) 360px;
  gap:60px; align-items:start}
.feest-checkout .feest-co__aside{position:sticky; top:24px}
@media(max-width:820px){
  .feest-checkout .feest-co{grid-template-columns:1fr; max-width:460px; gap:24px}
  .feest-checkout .feest-co__aside{position:static}}

/* section headings → small uppercase teal */
.feest-checkout .feest-co__h,
.feest-checkout #customer_details h3,
.feest-checkout #order_review_heading{
  display:block; width:auto!important; float:none!important;
  font-family:"Roboto",sans-serif; font-size:13px; font-weight:700;
  color:var(--teal); text-transform:uppercase; letter-spacing:.04em; margin:0 0 14px; border:0!important; padding:0}

/* billing fields → 2-col grid, .fld / .lbl look */
.feest-checkout #customer_details .col-2{display:none} /* no shipping for virtual tickets */
.feest-checkout .col2-set,.feest-checkout #customer_details .col-1{width:auto!important; float:none!important}
.feest-checkout .woocommerce-billing-fields__field-wrapper{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.feest-checkout .woocommerce-billing-fields__field-wrapper .form-row{width:auto!important; float:none!important; margin:0; padding:0}
.feest-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide{grid-column:1/-1}
.feest-checkout .form-row label{font-size:11px; font-weight:600; color:var(--label); margin:0 0 5px}
.feest-checkout .form-row label .required{color:var(--teal); border:0; text-decoration:none}
.feest-checkout .input-text,.feest-checkout select,.feest-checkout textarea{
  width:100%; border:1px solid var(--field-line)!important; box-shadow:none!important; border-radius:8px!important;
  padding:11px 13px; font-size:13px; color:var(--ink); background:#fff}
.feest-checkout .input-text:focus,.feest-checkout textarea:focus{
  border-color:var(--teal)!important; box-shadow:0 0 0 3px rgba(47,99,134,.15)!important; outline:none}

/* decorative Betaalmethode box (left) */
.feest-checkout .feest-co__pay{margin-top:22px}
.feest-checkout .feest-co__ideal{
  display:flex; align-items:center; gap:8px; background:var(--cream-2);
  box-shadow:inset 0 0 0 1.5px var(--teal); border-radius:8px; padding:12px 14px}
.feest-checkout .feest-co__ideal-name{font-size:12.5px; font-weight:700; color:var(--ink)}
.feest-checkout .feest-co__ideal-note{font-size:11.5px; color:var(--grey)}

/* the ONE order card (heading is inside it now) */
.feest-checkout .feest-order-card{background:var(--cream-2); border-radius:12px; padding:20px}
.feest-checkout .feest-order-card #order_review_heading{margin:0 0 12px}
.feest-checkout #order_review{background:none!important; border:0!important; padding:0!important; margin:0; width:auto!important; float:none!important}
.feest-checkout #order_review table.shop_table{background:none; border:0; margin:0; width:100%}
.feest-checkout #order_review table.shop_table thead{display:none}
.feest-checkout #order_review .cart_item{display:block; margin:0 0 8px}
.feest-checkout #order_review .cart_item td{border:0; padding:0}
.feest-checkout #order_review .product-name{color:var(--ink); font-weight:700; font-size:13px}
.feest-checkout #order_review .product-total{display:none}
.feest-checkout #order_review .variation{margin:2px 0 0; font-size:11.5px}
.feest-checkout #order_review .variation dt{display:none}
.feest-checkout #order_review .variation dd{margin:0; color:var(--teal); font-weight:600}
.feest-checkout #order_review .variation dd p{margin:0}
.feest-checkout #order_review tfoot .cart-subtotal,
.feest-checkout #order_review tfoot .woocommerce-shipping-totals{display:none}
.feest-checkout #order_review tfoot .order-total{
  display:flex; justify-content:space-between; align-items:baseline; font-size:15px; font-weight:800;
  padding-top:12px; border-top:1px solid var(--field-line); margin-top:8px}
.feest-checkout #order_review tfoot .order-total th{font-weight:800; color:var(--ink); text-align:left; border:0; padding:0}
.feest-checkout #order_review tfoot .order-total td{color:var(--teal); text-align:right; border:0; padding:0}
.feest-checkout #order_review tfoot .order-total .amount{color:var(--teal)}

/* payment area inside the card: keep only the button + terms */
.feest-checkout #payment{background:none!important; border:0!important; margin:0; padding:0}
.feest-checkout #payment .form-row.place-order{padding:0; margin:0}
.feest-checkout .woocommerce-terms-and-conditions-wrapper{margin:12px 0 0; font-size:11.5px; color:var(--label)}
.feest-checkout #place_order{
  background:var(--orange)!important; color:var(--ink)!important; font-weight:700; border-radius:8px;
  width:100%; padding:15px; font-size:14px; margin:20px 0 0; border:0; float:none}
.feest-checkout #place_order:hover{background:var(--orange-h)!important}
.feest-checkout #payment .place-order::after{content:"🔒 Veilig betalen, versleuteld"; display:block; text-align:center; font-size:11px; color:var(--grey); margin-top:26px}

/* marketing opt-in checkbox (left column, under the fields) */
.feest-checkout .jvwk-optin-row{clear:both; margin:8px 0 0}
.feest-checkout .jvwk-optin-row label.checkbox{
  display:flex!important; align-items:center; gap:9px; font-size:12px; font-weight:400; color:var(--label); line-height:1.3; margin:0; cursor:pointer}
.feest-checkout .jvwk-optin-row input[type=checkbox]{
  width:17px!important; height:17px!important; flex:0 0 17px; margin:0!important; padding:0;
  accent-color:var(--teal); vertical-align:middle; cursor:pointer; position:static}
.feest-checkout .jvwk-optin-row .optional{display:none}

/* ============ D · BEVESTIGING (comp: celebration, blue/gold) ============= */
/* full-bleed on the order-received page — widen Astra's boxed container */
body.woocommerce-order-received .ast-container{max-width:100%!important; padding-left:0!important; padding-right:0!important}
body.woocommerce-order-received .entry-content{margin:0}
body.woocommerce-order-received .feest-confirm{
  max-width:none; width:100%; margin:0; background:#fff; overflow:hidden; box-shadow:none}
/* keep the body copy readable/centred even though the band is full-bleed */
body.woocommerce-order-received .feest-confirm__hero{padding-left:40px; padding-right:40px}
body.woocommerce-order-received .feest-confirm__body{max-width:960px; margin:0 auto; padding:34px 40px 44px}
/* hero */
body.woocommerce-order-received .feest-confirm__hero{
  position:relative; overflow:hidden; text-align:center; padding:40px 40px 50px;
  background:radial-gradient(circle at 50% -10%,#3E7FC7,#2456A8 45%,#173B7A 100%)}
body.woocommerce-order-received .feest-confirm__badge{
  position:relative; width:66px; height:66px; margin:0 auto 12px; border-radius:50%; font-size:28px;
  display:flex; align-items:center; justify-content:center;
  background:radial-gradient(circle at 35% 30%,#FFE9A8,#F2C158 55%,#C9932B)}
body.woocommerce-order-received .feest-confirm__title{
  position:relative; margin:0 0 6px; font-family:var(--slab); font-weight:800; font-size:26px; line-height:1.2; color:#fff}
body.woocommerce-order-received .feest-confirm__sub{position:relative; margin:0; font-size:13px; color:#CFE0F5}
/* confetti */
body.woocommerce-order-received .feest-confetti{position:absolute; width:6px; height:13px; border-radius:1px}
body.woocommerce-order-received .feest-confetti.c1{top:20px; left:60px; background:#5FBF8E; transform:rotate(20deg)}
body.woocommerce-order-received .feest-confetti.c2{top:50px; left:140px; background:var(--orange); transform:rotate(-18deg)}
body.woocommerce-order-received .feest-confetti.c3{top:16px; right:100px; background:#FFDD57; transform:rotate(25deg)}
body.woocommerce-order-received .feest-confetti.c4{top:55px; right:180px; background:#E85C4A; transform:rotate(-22deg)}
/* body */
body.woocommerce-order-received .feest-confirm__body{padding:30px 40px}
body.woocommerce-order-received .feest-confirm__voor{margin:0 0 14px; font-size:13.5px; font-weight:700; color:var(--ink)}
body.woocommerce-order-received .feest-confirm__kaartjes{display:flex; flex-wrap:wrap; gap:16px; margin:0 0 20px}
body.woocommerce-order-received .feest-confirm__kaartje{width:150px; border-radius:14px; overflow:hidden; box-shadow:0 4px 14px rgba(0,0,0,.12)}
body.woocommerce-order-received .feest-confirm__kaartje img{display:block; width:100%; height:auto; margin:0}
body.woocommerce-order-received .feest-confirm__kaartje-name{
  margin:6px 10px 8px; font-size:10px; font-weight:700; color:var(--teal); text-transform:uppercase; letter-spacing:.02em}
body.woocommerce-order-received .feest-confirm__email{margin:0 0 20px; font-size:12.5px; line-height:1.6; color:var(--grey)}
body.woocommerce-order-received .feest-confirm__actions{display:flex; flex-wrap:wrap; gap:12px}
body.woocommerce-order-received .feest-confirm__btn{
  padding:13px 24px; border-radius:8px; font-weight:700; font-size:13.5px; text-decoration:none}
body.woocommerce-order-received .feest-confirm__btn--primary{background:var(--teal); color:#fff}
body.woocommerce-order-received .feest-confirm__btn--primary:hover{background:#25506d}
body.woocommerce-order-received .feest-confirm__btn--ghost{background:var(--cream-2); color:var(--label); font-weight:600}
body.woocommerce-order-received .feest-confirm__btn--ghost:hover{background:#E8DFC9}
/* --- redesign: generic confirmation (no ticket image / QR) --- */
/* pending payment: neutral grey hero instead of the celebratory blue + confetti */
body.woocommerce-order-received .feest-confirm__hero--pending{background:radial-gradient(circle at 50% -10%,#8A9099,#666C74 45%,#4B5057 100%)}
body.woocommerce-order-received .feest-confirm__hero--pending .feest-confirm__badge{background:radial-gradient(circle at 35% 30%,#EDEDED,#CFCFCF 55%,#A8A8A8)}
body.woocommerce-order-received .feest-confirm__lead{margin:0 0 20px; font-size:15px; line-height:1.6; color:var(--ink)}
/* names-only chips */
body.woocommerce-order-received .feest-confirm__voor{margin:0 0 8px; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--grey)}
body.woocommerce-order-received .feest-confirm__names{display:flex; flex-wrap:wrap; gap:8px; margin:0 0 22px}
body.woocommerce-order-received .feest-confirm__name{display:inline-flex; align-items:center; padding:6px 13px; border-radius:999px; background:var(--cream-2); color:var(--teal); font-size:13px; font-weight:700}
/* "wat nu?" list */
body.woocommerce-order-received .feest-confirm__next{list-style:none; margin:0 0 18px; padding:0}
body.woocommerce-order-received .feest-confirm__next li{display:flex; gap:10px; margin:0 0 10px; font-size:14px; line-height:1.5; color:var(--ink)}
body.woocommerce-order-received .feest-confirm__next-i{flex-shrink:0; font-size:16px; line-height:1.45}
body.woocommerce-order-received .feest-confirm__next-t{min-width:0; overflow-wrap:break-word}
body.woocommerce-order-received .feest-confirm__support{margin:0 0 22px; font-size:12.5px; color:var(--grey)}
body.woocommerce-order-received .feest-confirm__support a{color:var(--teal)}
/* hide any leftover Woo order-details / downloads on this celebratory page */
body.woocommerce-order-received .woocommerce-order-overview,
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details{display:none}
@media(max-width:600px){
  body.woocommerce-order-received .feest-confirm__hero{padding:28px 22px 36px}
  body.woocommerce-order-received .feest-confirm__title{font-size:20px}
  body.woocommerce-order-received .feest-confirm__body{padding:22px}
  body.woocommerce-order-received .feest-confirm__actions{flex-direction:column}
  body.woocommerce-order-received .feest-confirm__btn{text-align:center}}
