/* SYOU / Weszło Travel - checkout flow UI. */
body.syou-wt-page-ui-active{background:#fff;color:var(--syou-wt-page-text)}
body.syou-wt-page-ui-active .syou-wt-flow-page,body.syou-wt-page-ui-active .syou-wt-flow-page *{box-sizing:border-box}
body.syou-wt-page-ui-active .syou-wt-flow-page{font-family:'Poppins',Arial,sans-serif;color:var(--syou-wt-page-text);position:relative;width:100%;max-width:100%;margin:0 auto;overflow:visible}
body.syou-wt-hide-theme-title .entry-title,body.syou-wt-hide-theme-title .page-title,body.syou-wt-hide-theme-title .page-header,body.syou-wt-hide-theme-title header.entry-header{display:none!important}

.syou-wt-flow-hero{position:relative;overflow:hidden;max-width:var(--syou-wt-page-max);min-height:210px;margin:22px auto 56px;border-radius:var(--syou-wt-page-radius);background-image:var(--syou-wt-hero-image,linear-gradient(120deg,#272727,#090909));background-position:center;background-size:cover;box-shadow:0 16px 40px rgba(0,0,0,.08)}
.syou-wt-flow-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.62),rgba(0,0,0,.32),rgba(0,0,0,.58))}
.syou-wt-flow-hero-inner{position:relative;z-index:1;min-height:210px;display:flex;align-items:center;justify-content:center;padding:30px}
.syou-wt-flow-steps{display:flex;align-items:center;justify-content:center;gap:16px;max-width:920px;color:#fff}
.syou-wt-flow-step{display:inline-flex;align-items:center;gap:9px;color:rgba(255,255,255,.58)!important;text-decoration:none!important;font-size:19px;font-weight:700;line-height:1.2;white-space:nowrap;transition:opacity .18s ease,color .18s ease}
.syou-wt-flow-step.is-active,.syou-wt-flow-step.is-done{color:#fff!important}
.syou-wt-flow-step.is-done:hover{opacity:.8}
.syou-wt-step-index{display:inline-flex;width:31px;height:31px;align-items:center;justify-content:center;border-radius:999px;border:1px solid rgba(255,255,255,.34);font-size:13px;background:rgba(0,0,0,.18);backdrop-filter:blur(3px)}
.syou-wt-flow-step.is-active .syou-wt-step-index{background:var(--syou-wt-page-accent);border-color:var(--syou-wt-page-accent);color:#111}
.syou-wt-flow-step.is-active>span:last-child{position:relative}
.syou-wt-flow-step.is-active>span:last-child:after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;border-radius:3px;background:var(--syou-wt-page-accent)}
.syou-wt-step-arrow{font-size:24px;color:rgba(255,255,255,.72)}
.syou-wt-flow-main{width:min(calc(100% - 32px),var(--syou-wt-page-max));margin:0 auto 70px}

/* Buttons */
.syou-wt-flow-page .button.syou-wt-primary-button,.syou-wt-flow-page a.syou-wt-primary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 28px!important;border:0!important;border-radius:12px!important;background:var(--syou-wt-page-accent)!important;color:#111!important;font-weight:800!important;text-decoration:none!important;box-shadow:0 10px 24px rgba(0,0,0,.08);transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
.syou-wt-flow-page .button.syou-wt-primary-button:hover,.syou-wt-flow-page a.syou-wt-primary-button:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(0,0,0,.12);filter:brightness(.98)}

/* Cart */
.syou-wt-cart-card{overflow:hidden;border:1px solid var(--syou-wt-page-border);border-radius:var(--syou-wt-page-radius);background:var(--syou-wt-page-surface);box-shadow:0 12px 35px rgba(0,0,0,.045)}
.syou-wt-cart-head,.syou-wt-cart-row{display:grid;grid-template-columns:minmax(360px,1.75fr) minmax(150px,.72fr) minmax(150px,.62fr) minmax(155px,.72fr) 34px;gap:22px;align-items:center}
.syou-wt-cart-head{padding:18px 26px;background:var(--syou-wt-page-soft);font-size:12px;font-weight:700;color:var(--syou-wt-page-muted);text-transform:uppercase;letter-spacing:.055em}
.syou-wt-cart-row{padding:26px;border-top:1px solid var(--syou-wt-page-border)}
.syou-wt-cart-product{display:flex;align-items:center;gap:18px;min-width:0}
.syou-wt-cart-thumb{width:84px;height:84px;flex:0 0 84px;border-radius:12px;overflow:hidden;background:var(--syou-wt-page-soft)}
.syou-wt-cart-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;margin:0!important}
.syou-wt-cart-product-copy{min-width:0}
.syou-wt-cart-title{display:block;color:var(--syou-wt-page-text)!important;text-decoration:none!important;font-size:16px;font-weight:800;line-height:1.35}
.syou-wt-cart-meta{margin-top:7px;color:var(--syou-wt-page-muted);font-size:12px;line-height:1.45}
.syou-wt-cart-meta dl{margin:0}.syou-wt-cart-meta dt,.syou-wt-cart-meta dd{display:inline;margin:0}.syou-wt-cart-meta dd:after{content:" · ";margin:0 3px}.syou-wt-cart-meta dd:last-child:after{display:none}
.syou-wt-cart-money strong{font-size:16px;font-weight:800;color:var(--syou-wt-page-text)}
.syou-wt-cart-full strong{font-size:18px}
.syou-wt-qty-control{display:inline-flex;align-items:center;height:42px;border:1px solid var(--syou-wt-page-border);border-radius:12px;background:#fff;overflow:hidden}
.syou-wt-qty-btn{width:40px;height:40px;padding:0;border:0!important;background:#fff!important;color:#111!important;font-size:20px;line-height:1;cursor:pointer}
.syou-wt-qty-btn:hover{background:var(--syou-wt-page-soft)!important}
.syou-wt-qty-control .quantity{margin:0!important;float:none!important;width:auto!important}
.syou-wt-qty-input{width:44px!important;height:40px!important;min-height:40px!important;padding:0!important;border:0!important;border-left:1px solid var(--syou-wt-page-border)!important;border-right:1px solid var(--syou-wt-page-border)!important;border-radius:0!important;text-align:center!important;box-shadow:none!important;-moz-appearance:textfield}
.syou-wt-qty-input::-webkit-outer-spin-button,.syou-wt-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.syou-wt-cart-remove{text-align:right}.syou-wt-cart-remove a{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;border-radius:999px;color:#777!important;text-decoration:none!important;font-size:22px;font-weight:400}.syou-wt-cart-remove a:hover{background:#fff0f0;color:#c90000!important}
.syou-wt-cart-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 26px;border-top:1px solid var(--syou-wt-page-border);background:#fff}
.syou-wt-back-link{color:var(--syou-wt-page-text)!important;text-decoration:none!important;font-size:13px;font-weight:700}
.syou-wt-update-cart{min-height:38px!important;padding:0 18px!important;border:1px solid var(--syou-wt-page-border)!important;border-radius:10px!important;background:#fff!important;color:var(--syou-wt-page-text)!important;font-size:12px!important;font-weight:700!important}
.syou-wt-cart-summary{display:grid;grid-template-columns:1fr 1fr auto;gap:0;align-items:stretch;margin-top:22px;border:1px solid var(--syou-wt-page-border);border-radius:var(--syou-wt-page-radius);background:var(--syou-wt-page-surface);box-shadow:0 12px 35px rgba(0,0,0,.045);overflow:hidden}
.syou-wt-cart-summary>div{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:21px 26px;border-right:1px solid var(--syou-wt-page-border)}
.syou-wt-cart-summary span{font-size:12px;color:var(--syou-wt-page-muted)}
.syou-wt-cart-summary strong{font-size:20px;line-height:1.2}
.syou-wt-cart-summary .syou-wt-primary-button{margin:14px;min-width:270px}
.syou-wt-mobile-label{display:none}
.syou-wt-empty-card{max-width:660px;margin:0 auto;padding:54px 30px;text-align:center;border:1px solid var(--syou-wt-page-border);border-radius:var(--syou-wt-page-radius);background:#fff}
.syou-wt-empty-icon{display:flex;width:56px;height:56px;margin:0 auto 15px;align-items:center;justify-content:center;border-radius:50%;background:#ecfff1;font-size:24px;color:#168a36}.syou-wt-empty-card h1{margin:0 0 8px}.syou-wt-empty-card p{color:var(--syou-wt-page-muted);margin:0 0 22px}

/* Checkout */
.syou-wt-flow-checkout .woocommerce,.syou-wt-flow-thankyou .woocommerce{width:100%}
.syou-wt-flow-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,420px);grid-template-areas:"participants reviewhead" "customer review";gap:28px 34px;align-items:start;width:100%}.syou-wt-flow-checkout form.checkout>*{min-width:0}
.syou-wt-flow-checkout .syou-wt-participants{grid-area:participants;margin:0!important}
.syou-wt-flow-checkout #customer_details{grid-area:customer;float:none!important;width:100%!important;margin:0!important}
.syou-wt-flow-checkout #order_review_heading{grid-area:reviewhead;margin:0!important;padding:2px 0 0!important;font-size:20px!important;font-weight:800!important;color:var(--syou-wt-page-text)!important}
.syou-wt-flow-checkout #order_review{grid-area:review;position:sticky;top:24px;width:100%!important;float:none!important;margin:0!important;padding:24px!important;border:1px solid var(--syou-wt-page-border)!important;border-radius:var(--syou-wt-page-radius)!important;background:#fff!important;box-shadow:0 16px 40px rgba(0,0,0,.06)}
.syou-wt-flow-checkout #customer_details .col-1,.syou-wt-flow-checkout #customer_details .col-2{float:none!important;width:100%!important;padding:0!important;margin:0!important}
.syou-wt-flow-checkout #customer_details .col-2:empty{display:none}
.syou-wt-flow-checkout .woocommerce-billing-fields,.syou-wt-flow-checkout .woocommerce-additional-fields{padding:24px;border:1px solid var(--syou-wt-page-border);border-radius:var(--syou-wt-page-radius);background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.035)}
.syou-wt-flow-checkout .woocommerce-additional-fields{margin-top:18px}
.syou-wt-flow-checkout .woocommerce-billing-fields>h3,.syou-wt-flow-checkout .woocommerce-additional-fields>h3{margin:0 0 20px!important;font-size:19px!important;font-weight:800!important}
.syou-wt-flow-checkout .syou-wt-participant-card{border-color:var(--syou-wt-page-border)!important;border-radius:var(--syou-wt-page-radius)!important;padding:24px!important;box-shadow:0 10px 30px rgba(0,0,0,.035)!important}
.syou-wt-flow-checkout .syou-wt-section-heading{text-align:left!important;margin-bottom:18px!important}.syou-wt-flow-checkout .syou-wt-section-heading h2{font-size:21px!important}.syou-wt-flow-checkout .syou-wt-number{background:var(--syou-wt-page-accent)!important;color:#111!important}
.syou-wt-flow-checkout .form-row{margin-bottom:14px!important}
.syou-wt-flow-checkout .form-row label{font-size:12px!important;font-weight:700!important;margin-bottom:6px!important;color:var(--syou-wt-page-text)!important}
.syou-wt-flow-checkout input.input-text,.syou-wt-flow-checkout textarea,.syou-wt-flow-checkout select,.syou-wt-flow-checkout .select2-selection{min-height:48px!important;border:1px solid var(--syou-wt-page-border)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;font-size:14px!important;color:var(--syou-wt-page-text)!important;transition:border-color .18s ease,box-shadow .18s ease}
.syou-wt-flow-checkout input.input-text:focus,.syou-wt-flow-checkout textarea:focus,.syou-wt-flow-checkout select:focus,.syou-wt-flow-checkout .select2-container--default.select2-container--focus .select2-selection--single{border-color:#bdbdbd!important;box-shadow:0 0 0 3px rgba(245,163,0,.12)!important;outline:0!important}
.syou-wt-flow-checkout textarea{min-height:110px!important;padding:12px!important;resize:vertical}
.syou-wt-flow-checkout input.input-text{padding:0 14px!important}
.syou-wt-flow-checkout select{padding:0 42px 0 14px!important;appearance:none!important;-webkit-appearance:none!important;background-image:linear-gradient(45deg,transparent 50%,#555 50%),linear-gradient(135deg,#555 50%,transparent 50%)!important;background-position:calc(100% - 18px) calc(50% - 3px),calc(100% - 12px) calc(50% - 3px)!important;background-size:6px 6px!important;background-repeat:no-repeat!important}
.syou-wt-flow-checkout .select2-container{width:100%!important}.syou-wt-flow-checkout .select2-container .select2-selection--single .select2-selection__rendered{line-height:46px!important;padding-left:14px!important;padding-right:40px!important}.syou-wt-flow-checkout .select2-container .select2-selection--single .select2-selection__arrow{height:46px!important;right:10px!important}
.syou-wt-flow-checkout .woocommerce-checkout-review-order-table{margin:0 0 20px!important;border:0!important;border-collapse:separate!important;border-spacing:0!important}
.syou-wt-flow-checkout .woocommerce-checkout-review-order-table th,.syou-wt-flow-checkout .woocommerce-checkout-review-order-table td{padding:12px 4px!important;border:0!important;border-bottom:1px solid var(--syou-wt-page-border)!important;font-size:13px!important;vertical-align:top}
.syou-wt-flow-checkout .woocommerce-checkout-review-order-table thead th{font-size:11px!important;text-transform:uppercase;letter-spacing:.05em;color:var(--syou-wt-page-muted)}
.syou-wt-flow-checkout .woocommerce-checkout-review-order-table td:last-child,.syou-wt-flow-checkout .woocommerce-checkout-review-order-table th:last-child{text-align:right}
.syou-wt-flow-checkout .order-total th,.syou-wt-flow-checkout .order-total td{font-size:15px!important;font-weight:800!important}
.syou-wt-review-full-total th,.syou-wt-review-full-total td{padding-top:16px!important;font-size:15px!important}.syou-wt-review-full-total strong{font-size:18px!important}.syou-wt-review-full-total small{display:block;margin-top:4px;color:var(--syou-wt-page-muted);font-size:10px;line-height:1.35;font-weight:400}
.syou-wt-flow-checkout .woocommerce-checkout-payment{margin-top:22px!important;padding:24px!important;border:1px solid var(--syou-wt-page-border)!important;border-radius:var(--syou-wt-page-radius)!important;background:#fff!important;box-shadow:0 10px 30px rgba(0,0,0,.035)!important}
.syou-wt-flow-checkout .woocommerce-checkout-payment h3,.syou-wt-flow-checkout #payment_heading{margin:0 0 18px!important;font-size:20px!important;font-weight:800!important;color:var(--syou-wt-page-text)!important;letter-spacing:0!important;text-transform:none!important}
.syou-wt-flow-checkout #payment{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
.syou-wt-flow-checkout #payment ul.payment_methods{padding:0!important;border:0!important}
.syou-wt-flow-checkout #payment ul.payment_methods li{margin:0 0 12px!important;padding:14px 16px!important;border:1px solid var(--syou-wt-page-border)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 8px 22px rgba(0,0,0,.03)}
.syou-wt-flow-checkout #payment ul.payment_methods li label{display:inline-flex!important;align-items:center;gap:10px;font-size:14px!important;font-weight:700!important;color:var(--syou-wt-page-text)!important}
.syou-wt-flow-checkout #payment ul.payment_methods li input[type=radio]{margin-right:10px!important}
.syou-wt-flow-checkout #payment ul.payment_methods li img{max-height:24px!important;width:auto!important}
.syou-wt-flow-checkout #payment div.payment_box{margin:12px 0 0!important;padding:12px 14px!important;border:1px solid var(--syou-wt-page-border)!important;border-radius:12px!important;background:#f7f7f7!important;color:#3a3a3a!important;font-size:12px!important;line-height:1.55!important}.syou-wt-flow-checkout #payment div.payment_box:before{display:none!important}
.syou-wt-flow-checkout #payment .place-order{padding:16px 0 0!important;margin:8px 0 0!important;border-top:1px solid var(--syou-wt-page-border)!important}
.syou-wt-flow-checkout #payment .terms,.syou-wt-flow-checkout #payment .wc-terms-and-conditions,.syou-wt-flow-checkout #payment .woocommerce-terms-and-conditions-wrapper{margin-bottom:10px!important}
.syou-wt-flow-checkout #place_order{width:100%!important;min-height:52px!important;margin-top:12px!important;border:0!important;border-radius:12px!important;background:var(--syou-wt-page-accent)!important;color:#111!important;font-size:14px!important;font-weight:800!important;box-shadow:none!important}
.syou-wt-flow-checkout .woocommerce-privacy-policy-text,.syou-wt-flow-checkout .wc-terms-and-conditions{font-size:11px!important;color:var(--syou-wt-page-muted)!important;line-height:1.55!important}
.syou-wt-flow-checkout .woocommerce-error,.syou-wt-flow-checkout .woocommerce-message,.syou-wt-flow-checkout .woocommerce-info{border-radius:12px!important}
body.syou-wt-stage-checkout .syou-wt-flow-checkout .uczestnik-box,body.syou-wt-stage-checkout .syou-wt-flow-checkout .wtravel-uczestnik-box,body.syou-wt-stage-checkout .syou-wt-flow-checkout .wtravel-participants-wrapper{display:none!important}

/* Thank you / order received */
.syou-wt-flow-thankyou .woocommerce-order{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.58fr);gap:24px;align-items:start}
.syou-wt-flow-thankyou .woocommerce-thankyou-order-received{grid-column:1/-1;margin:0!important;padding:24px 26px!important;border:1px solid #cdebd5;border-radius:var(--syou-wt-page-radius);background:#f4fff7;color:#145b29!important;font-size:17px!important;font-weight:800!important}
.syou-wt-flow-thankyou .woocommerce-order-overview{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(4,1fr);gap:0;margin:0!important;padding:0!important;border:1px solid var(--syou-wt-page-border);border-radius:var(--syou-wt-page-radius);overflow:hidden;background:#fff}
.syou-wt-flow-thankyou .woocommerce-order-overview li{float:none!important;width:auto!important;margin:0!important;padding:18px 20px!important;border-right:1px solid var(--syou-wt-page-border)!important;font-size:10px!important;color:var(--syou-wt-page-muted)!important}.syou-wt-flow-thankyou .woocommerce-order-overview li:last-child{border-right:0!important}.syou-wt-flow-thankyou .woocommerce-order-overview strong{display:block;margin-top:5px;font-size:14px!important;color:var(--syou-wt-page-text)!important}
.syou-wt-flow-thankyou .woocommerce-order-details,.syou-wt-flow-thankyou .woocommerce-customer-details,.syou-wt-flow-thankyou .syou-wt-thankyou{margin:0!important;padding:24px!important;border:1px solid var(--syou-wt-page-border)!important;border-radius:var(--syou-wt-page-radius)!important;background:#fff!important;box-shadow:0 10px 30px rgba(0,0,0,.035)!important}
.syou-wt-flow-thankyou .woocommerce-order-details{grid-column:1}.syou-wt-flow-thankyou .woocommerce-customer-details{grid-column:2}.syou-wt-flow-thankyou .syou-wt-thankyou{grid-column:1/-1!important}
.syou-wt-flow-thankyou h2{font-size:19px!important;font-weight:800!important;margin:0 0 17px!important}.syou-wt-flow-thankyou h3{font-size:15px!important;font-weight:800!important}
.syou-wt-flow-thankyou table{border-collapse:separate!important;border-spacing:0!important;border:0!important}.syou-wt-flow-thankyou table th,.syou-wt-flow-thankyou table td{padding:12px 4px!important;border:0!important;border-bottom:1px solid var(--syou-wt-page-border)!important}

@media(max-width:1100px){
 .syou-wt-cart-head,.syou-wt-cart-row{grid-template-columns:minmax(300px,1.5fr) 135px 145px 145px 30px;gap:14px}.syou-wt-flow-checkout form.checkout{grid-template-columns:minmax(0,1fr) minmax(320px,380px);gap:24px}
}
@media(max-width:900px){
 .syou-wt-flow-hero{min-height:180px;margin:14px auto 34px}.syou-wt-flow-hero-inner{min-height:180px}.syou-wt-flow-step{font-size:15px}.syou-wt-step-index{width:28px;height:28px}.syou-wt-flow-steps{gap:10px}.syou-wt-step-arrow{font-size:18px}
 .syou-wt-cart-head{display:none}.syou-wt-cart-row{grid-template-columns:1fr auto;gap:18px;padding:22px}.syou-wt-cart-product{grid-column:1/-1}.syou-wt-cart-money,.syou-wt-cart-qty{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.syou-wt-cart-full{grid-column:2}.syou-wt-cart-remove{position:absolute;right:18px;top:18px}.syou-wt-cart-row{position:relative}.syou-wt-mobile-label{display:block;font-size:10px!important;color:var(--syou-wt-page-muted);font-weight:600}.syou-wt-cart-summary{grid-template-columns:1fr 1fr}.syou-wt-cart-summary .syou-wt-primary-button{grid-column:1/-1;margin:14px}
 .syou-wt-flow-checkout form.checkout{display:block}.syou-wt-flow-checkout #customer_details{margin-top:18px!important}.syou-wt-flow-checkout #order_review_heading{margin:28px 0 12px!important}.syou-wt-flow-checkout #order_review{position:static!important}.syou-wt-flow-thankyou .woocommerce-order{display:block}.syou-wt-flow-thankyou .woocommerce-order>*{margin-bottom:18px!important}.syou-wt-flow-thankyou .woocommerce-order-overview{grid-template-columns:1fr 1fr!important}.syou-wt-flow-thankyou .woocommerce-order-overview li:nth-child(2){border-right:0!important}.syou-wt-flow-thankyou .woocommerce-order-overview li:nth-child(-n+2){border-bottom:1px solid var(--syou-wt-page-border)!important}
}
@media(max-width:620px){
 .syou-wt-flow-main{width:min(calc(100% - 22px),var(--syou-wt-page-max));margin-bottom:42px}.syou-wt-flow-hero{width:calc(100% - 22px);margin:10px auto 28px;min-height:150px;border-radius:13px}.syou-wt-flow-hero-inner{min-height:150px;padding:18px 12px}.syou-wt-flow-steps{width:100%;gap:6px}.syou-wt-flow-step{gap:5px;font-size:11px;white-space:normal;text-align:center}.syou-wt-step-index{display:none}.syou-wt-step-arrow{font-size:15px}.syou-wt-flow-step.is-active>span:last-child:after{bottom:-6px}
 .syou-wt-cart-row{padding:18px 15px;gap:14px}.syou-wt-cart-thumb{width:66px;height:66px;flex-basis:66px}.syou-wt-cart-title{font-size:14px}.syou-wt-cart-money strong{font-size:14px}.syou-wt-cart-full strong{font-size:16px}.syou-wt-cart-actions{padding:16px 15px;align-items:flex-start;flex-direction:column}.syou-wt-update-cart{width:100%}.syou-wt-cart-summary{grid-template-columns:1fr}.syou-wt-cart-summary>div{border-right:0;border-bottom:1px solid var(--syou-wt-page-border);padding:16px}.syou-wt-cart-summary .syou-wt-primary-button{grid-column:auto;width:calc(100% - 24px);margin:12px}.syou-wt-cart-summary strong{font-size:18px}
 .syou-wt-flow-checkout .woocommerce-billing-fields,.syou-wt-flow-checkout .woocommerce-additional-fields,.syou-wt-flow-checkout .syou-wt-participant-card,.syou-wt-flow-checkout #order_review{padding:17px!important;border-radius:13px!important}.syou-wt-flow-checkout .form-row-first,.syou-wt-flow-checkout .form-row-last{float:none!important;width:100%!important}.syou-wt-flow-thankyou .woocommerce-order-overview{grid-template-columns:1fr!important}.syou-wt-flow-thankyou .woocommerce-order-overview li{border-right:0!important;border-bottom:1px solid var(--syou-wt-page-border)!important}.syou-wt-flow-thankyou .woocommerce-order-overview li:last-child{border-bottom:0!important}
}

/* Enhanced thank-you summary */
.syou-wt-thankyou-modern{padding:0!important;overflow:hidden}
.syou-wt-thankyou-title{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;border-bottom:1px solid var(--syou-wt-page-border)}
.syou-wt-thankyou-title span:first-child{display:block;margin-bottom:4px;color:var(--syou-wt-page-muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.syou-wt-thankyou-title h2{margin:0!important;font-size:22px!important}
.syou-wt-order-badge{display:inline-flex!important;align-items:center;justify-content:center;min-height:36px;padding:0 14px;border-radius:999px;background:var(--syou-wt-page-soft);color:var(--syou-wt-page-text)!important;font-size:12px!important;font-weight:800!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap}
.syou-wt-finance-grid{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--syou-wt-page-border)}
.syou-wt-finance-card{display:flex;flex-direction:column;gap:6px;padding:22px 24px;border-right:1px solid var(--syou-wt-page-border)}.syou-wt-finance-card:last-child{border-right:0}.syou-wt-finance-card span{font-size:11px;color:var(--syou-wt-page-muted)}.syou-wt-finance-card strong{font-size:20px;line-height:1.2}.syou-wt-finance-card.is-total{background:#fffaf0}.syou-wt-finance-card.is-total strong{font-size:23px}
.syou-wt-thankyou-section{padding:24px;border-bottom:1px solid var(--syou-wt-page-border)}.syou-wt-thankyou-section:last-child{border-bottom:0}.syou-wt-thankyou-section h3{margin:0 0 14px!important}
.syou-wt-thankyou-participants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.syou-wt-thankyou-person{display:flex;gap:12px;padding:15px;border:1px solid var(--syou-wt-page-border);border-radius:12px;background:var(--syou-wt-page-soft)}.syou-wt-person-no{display:flex;flex:0 0 34px;width:34px;height:34px;align-items:center;justify-content:center;border-radius:50%;background:var(--syou-wt-page-accent);color:#111;font-size:12px;font-weight:800}.syou-wt-thankyou-person strong,.syou-wt-thankyou-person span,.syou-wt-thankyou-person small{display:block}.syou-wt-thankyou-person strong{font-size:14px}.syou-wt-thankyou-person span{margin-top:2px;font-size:11px;color:var(--syou-wt-page-muted)}.syou-wt-thankyou-person small{margin-top:6px;font-size:10px;color:var(--syou-wt-page-muted)}
.syou-wt-billing-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 28px}.syou-wt-billing-summary>div{padding:10px 0;border-bottom:1px solid var(--syou-wt-page-border)}.syou-wt-billing-summary span,.syou-wt-billing-summary strong{display:block}.syou-wt-billing-summary span{font-size:10px;color:var(--syou-wt-page-muted);text-transform:uppercase;letter-spacing:.04em}.syou-wt-billing-summary strong{margin-top:3px;font-size:13px}
@media(max-width:700px){.syou-wt-finance-grid{grid-template-columns:1fr}.syou-wt-finance-card{border-right:0;border-bottom:1px solid var(--syou-wt-page-border)}.syou-wt-finance-card:last-child{border-bottom:0}.syou-wt-thankyou-participants,.syou-wt-billing-summary{grid-template-columns:1fr}.syou-wt-thankyou-title{align-items:flex-start;flex-direction:column}}


/* === v1.2.0 robust checkout shell === */
body.syou-wt-stage-checkout .syou-wt-flow-main{width:min(calc(100% - 32px),var(--syou-wt-page-max))!important;max-width:var(--syou-wt-page-max)!important;margin-left:auto!important;margin-right:auto!important}
body.syou-wt-stage-checkout .syou-wt-flow-checkout .woocommerce{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.syou-wt-stage-checkout .syou-wt-flow-checkout form.checkout{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;float:none!important;margin:0!important;padding:0!important}
.syou-wt-checkout-shell{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(390px,430px)!important;gap:34px!important;width:100%!important;max-width:none!important;align-items:start!important}
.syou-wt-checkout-left,.syou-wt-checkout-right{min-width:0!important;width:100%!important;max-width:none!important;float:none!important}
.syou-wt-checkout-left>.syou-wt-participants{margin:0 0 18px!important}
.syou-wt-checkout-left>#customer_details{margin:0!important}
.syou-wt-checkout-right{position:relative!important}
.syou-wt-checkout-right>#order_review_heading{display:block!important;width:100%!important;margin:0 0 12px!important;padding:0!important;color:var(--syou-wt-page-text)!important;font-size:20px!important;line-height:1.3!important;font-weight:800!important;text-align:left!important}
.syou-wt-checkout-right>#order_review{position:sticky!important;top:22px!important;display:block!important;width:100%!important;max-width:none!important;float:none!important;margin:0!important;padding:22px!important;border:1px solid var(--syou-wt-page-border)!important;border-radius:var(--syou-wt-page-radius)!important;background:#fff!important;box-shadow:0 16px 42px rgba(0,0,0,.065)!important}
.syou-wt-checkout-right .woocommerce-checkout-review-order-table{width:100%!important}

/* Billing / participant cards */
.syou-wt-flow-checkout .woocommerce-billing-fields,.syou-wt-flow-checkout .woocommerce-additional-fields,.syou-wt-flow-checkout .syou-wt-participant-card{width:100%!important;max-width:none!important;border:1px solid var(--syou-wt-page-border)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 10px 30px rgba(0,0,0,.035)!important}
.syou-wt-flow-checkout .woocommerce-billing-fields,.syou-wt-flow-checkout .woocommerce-additional-fields{padding:24px!important}
.syou-wt-flow-checkout .syou-wt-participant-card{padding:24px!important}
.syou-wt-flow-checkout .woocommerce-billing-fields h3,.syou-wt-flow-checkout .woocommerce-additional-fields h3,.syou-wt-flow-checkout #order_review h3,.syou-wt-flow-checkout #payment h3{color:var(--syou-wt-page-text)!important;font-family:'Poppins',Arial,sans-serif!important;text-transform:none!important;letter-spacing:0!important}

/* Document type select / SelectWoo */
.syou-wt-flow-checkout .select2-container{width:100%!important;max-width:none!important}
.syou-wt-flow-checkout .select2-container .selection{display:block!important;width:100%!important}
.syou-wt-flow-checkout .select2-container .select2-selection--single{height:52px!important;min-height:52px!important;border:1px solid var(--syou-wt-page-border)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;outline:0!important}
.syou-wt-flow-checkout .select2-container .select2-selection--single .select2-selection__rendered{height:50px!important;line-height:50px!important;padding:0 46px 0 14px!important;color:var(--syou-wt-page-text)!important;font-size:14px!important;font-family:'Poppins',Arial,sans-serif!important}
.syou-wt-flow-checkout .select2-container .select2-selection--single .select2-selection__arrow{right:12px!important;top:0!important;width:24px!important;height:50px!important}
.syou-wt-flow-checkout .select2-container .select2-selection--single .select2-selection__arrow b{border-color:#333 transparent transparent transparent!important;border-width:5px 4px 0 4px!important;margin-left:-4px!important;margin-top:-2px!important}
.syou-wt-flow-checkout .select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #333 transparent!important;border-width:0 4px 5px 4px!important}
.syou-wt-flow-checkout .select2-selection__clear{display:none!important}
.select2-container--open .select2-dropdown{border:1px solid var(--syou-wt-page-border)!important;border-radius:12px!important;overflow:hidden!important;box-shadow:0 14px 34px rgba(0,0,0,.12)!important;font-family:'Poppins',Arial,sans-serif!important}
.select2-results__option{padding:11px 14px!important;font-size:13px!important}.select2-results__option--highlighted{background:#f7f7f7!important;color:#111!important}

/* Payment - neutral, premium, no theme blue */
.syou-wt-payment-intro{display:flex!important;align-items:center!important;gap:12px!important;margin:20px 0 14px!important;padding-top:20px!important;border-top:1px solid var(--syou-wt-page-border)!important;color:var(--syou-wt-page-text)!important}
.syou-wt-payment-intro:first-child{margin-top:0!important;padding-top:0!important;border-top:0!important}
.syou-wt-payment-intro .syou-wt-payment-mark{position:relative;display:inline-flex;width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#fff7e5;border:1px solid #f5dfad}
.syou-wt-payment-intro .syou-wt-payment-mark:before{content:"";position:absolute;left:10px;right:10px;top:10px;bottom:10px;border:2px solid #111;border-radius:4px}
.syou-wt-payment-intro .syou-wt-payment-mark:after{content:"";position:absolute;left:14px;right:14px;top:17px;height:2px;background:#111}
.syou-wt-payment-intro strong{display:block!important;color:var(--syou-wt-page-text)!important;font-size:16px!important;line-height:1.25!important;font-weight:800!important;font-family:'Poppins',Arial,sans-serif!important}
.syou-wt-payment-intro small{display:block!important;margin-top:2px!important;color:var(--syou-wt-page-muted)!important;font-size:10px!important;line-height:1.4!important}
.syou-wt-flow-checkout #payment,.syou-wt-flow-checkout .woocommerce-checkout-payment{background:transparent!important;color:var(--syou-wt-page-text)!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
.syou-wt-flow-checkout #payment ul.payment_methods{margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.syou-wt-flow-checkout #payment ul.payment_methods li{position:relative!important;margin:0 0 10px!important;padding:14px 14px!important;border:1px solid var(--syou-wt-page-border)!important;border-radius:13px!important;background:#fff!important;color:var(--syou-wt-page-text)!important;box-shadow:none!important;transition:border-color .18s ease,background .18s ease!important}
.syou-wt-flow-checkout #payment ul.payment_methods li:has(input[type=radio]:checked){border-color:#d8ad45!important;background:#fffaf0!important}
.syou-wt-flow-checkout #payment ul.payment_methods li label{color:var(--syou-wt-page-text)!important;font-size:13px!important;font-weight:700!important;font-family:'Poppins',Arial,sans-serif!important}
.syou-wt-flow-checkout #payment ul.payment_methods li input[type=radio]{accent-color:var(--syou-wt-page-accent)!important}
.syou-wt-flow-checkout #payment div.payment_box{margin:12px 0 0!important;padding:11px 12px!important;border:1px solid #ededed!important;border-radius:10px!important;background:#f7f7f7!important;color:#4b4b4b!important;font-size:10px!important;line-height:1.55!important;box-shadow:none!important}
.syou-wt-flow-checkout #payment div.payment_box:before{display:none!important}
.syou-wt-flow-checkout #payment .place-order{margin:16px 0 0!important;padding:16px 0 0!important;border-top:1px solid var(--syou-wt-page-border)!important;background:transparent!important}
.syou-wt-flow-checkout #place_order{min-height:52px!important;border-radius:12px!important;background:var(--syou-wt-page-accent)!important;color:#111!important;font-family:'Poppins',Arial,sans-serif!important;font-size:14px!important;font-weight:800!important;box-shadow:0 10px 22px rgba(0,0,0,.08)!important}
.syou-wt-flow-checkout #place_order:hover{filter:brightness(.97)!important;transform:translateY(-1px)!important}
.syou-wt-flow-checkout .woocommerce-terms-and-conditions-wrapper,.syou-wt-flow-checkout .woocommerce-privacy-policy-text,.syou-wt-flow-checkout .woocommerce-terms-and-conditions-checkbox-text{color:#555!important;font-family:'Poppins',Arial,sans-serif!important;font-size:10px!important;line-height:1.5!important}

/* Reservation timer */
.syou-wt-reservation-timer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;margin:0 0 24px;padding:14px 18px;border:1px solid #f1d89c;border-radius:14px;background:linear-gradient(135deg,#fffaf0 0%,#fff 75%);box-shadow:0 9px 26px rgba(0,0,0,.035);font-family:'Poppins',Arial,sans-serif;color:var(--syou-wt-page-text)}
.syou-wt-timer-icon{position:relative;width:42px;height:42px;border-radius:12px;background:var(--syou-wt-page-accent);box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}
.syou-wt-timer-icon:before{content:"";position:absolute;width:16px;height:16px;left:13px;top:13px;border:2px solid #111;border-radius:50%}
.syou-wt-timer-icon:after{content:"";position:absolute;width:7px;height:2px;left:20px;top:20px;background:#111;transform-origin:left center;transform:rotate(-90deg);border-radius:2px}
.syou-wt-timer-copy strong{display:block;font-size:13px;line-height:1.35;font-weight:800}.syou-wt-timer-copy small{display:block;margin-top:2px;color:var(--syou-wt-page-muted);font-size:10px;line-height:1.4}
.syou-wt-timer-value{display:flex;align-items:center;gap:3px;min-width:104px;justify-content:center;padding:9px 12px;border-radius:11px;background:#111;color:#fff;font-size:20px;line-height:1;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.syou-wt-reservation-timer.is-ending{border-color:#e2ae43;background:#fff7e8}.syou-wt-reservation-timer.is-ending .syou-wt-timer-value{background:#7b5000}
.syou-wt-reservation-timer.is-expired{border-color:#e7c4c4;background:#fff7f7}.syou-wt-reservation-timer.is-expired .syou-wt-timer-icon{background:#f0d4d4}.syou-wt-reservation-timer.is-expired .syou-wt-timer-value{background:#7e2020}

@media(max-width:1050px){.syou-wt-checkout-shell{grid-template-columns:minmax(0,1fr) minmax(340px,380px)!important;gap:24px!important}}
@media(max-width:900px){.syou-wt-checkout-shell{display:block!important}.syou-wt-checkout-right{margin-top:24px!important}.syou-wt-checkout-right>#order_review{position:static!important}.syou-wt-reservation-timer{margin-bottom:18px}}
@media(max-width:620px){body.syou-wt-stage-checkout .syou-wt-flow-main{width:calc(100% - 22px)!important}.syou-wt-reservation-timer{grid-template-columns:auto 1fr;padding:13px 14px}.syou-wt-timer-value{grid-column:1/-1;width:100%;min-height:44px}.syou-wt-timer-copy strong{font-size:12px}.syou-wt-checkout-right>#order_review{padding:17px!important}}


/* === v1.2.2 checkout full-width refinements === */
body.syou-wt-stage-checkout .syou-wt-flow-main,
body.syou-wt-stage-checkout .syou-wt-flow-checkout,
body.syou-wt-stage-checkout .syou-wt-flow-checkout .woocommerce,
body.syou-wt-stage-checkout .syou-wt-flow-checkout form.checkout,
body.syou-wt-stage-checkout .syou-wt-checkout-shell,
body.syou-wt-stage-checkout .syou-wt-checkout-left,
body.syou-wt-stage-checkout .syou-wt-checkout-right{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    float:none!important;
}
body.syou-wt-stage-checkout .syou-wt-checkout-shell{
    display:block!important;
    grid-template-columns:none!important;
}
body.syou-wt-stage-checkout .syou-wt-checkout-left>.syou-wt-participants,
body.syou-wt-stage-checkout .syou-wt-participants,
body.syou-wt-stage-checkout .syou-wt-participants .syou-wt-participant-card,
body.syou-wt-stage-checkout .syou-wt-participants .syou-wt-fields,
body.syou-wt-stage-checkout .syou-wt-participants .form-row,
body.syou-wt-stage-checkout #customer_details,
body.syou-wt-stage-checkout #customer_details .col-1,
body.syou-wt-stage-checkout #customer_details .col-2{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    float:none!important;
    clear:both!important;
}
body.syou-wt-stage-checkout .syou-wt-participants .syou-wt-participant-card{
    display:block!important;
    margin-left:0!important;
    margin-right:0!important;
}
body.syou-wt-stage-checkout .syou-wt-checkout-right{
    margin-top:26px!important;
}
body.syou-wt-stage-checkout .syou-wt-checkout-right>#order_review{
    position:static!important;
    top:auto!important;
    width:100%!important;
    max-width:none!important;
}

/* Hide legacy/theme payment headings. The plugin renders its own compact intro. */
body.syou-wt-stage-checkout #payment_heading,
body.syou-wt-stage-checkout .woocommerce-checkout-payment>h1,
body.syou-wt-stage-checkout .woocommerce-checkout-payment>h2,
body.syou-wt-stage-checkout .woocommerce-checkout-payment>h3,
body.syou-wt-stage-checkout .woocommerce-checkout-payment>h4{
    display:none!important;
}
body.syou-wt-stage-checkout .syou-wt-payment-intro{
    margin:0 0 14px!important;
    padding:0 0 14px!important;
    border:0!important;
    border-bottom:1px solid var(--syou-wt-page-border)!important;
}
body.syou-wt-stage-checkout .syou-wt-payment-intro strong{
    font-size:15px!important;
    line-height:1.25!important;
    color:var(--syou-wt-page-text)!important;
}
body.syou-wt-stage-checkout .syou-wt-payment-intro small{
    margin-top:3px!important;
    font-size:11px!important;
    color:var(--syou-wt-page-muted)!important;
}
body.syou-wt-stage-checkout .syou-wt-payment-intro .syou-wt-payment-mark{
    width:34px!important;
    height:34px!important;
    flex-basis:34px!important;
    border-radius:10px!important;
}
body.syou-wt-stage-checkout .syou-wt-payment-intro .syou-wt-payment-mark:before{
    left:9px!important;right:9px!important;top:9px!important;bottom:9px!important;
}
body.syou-wt-stage-checkout .syou-wt-payment-intro .syou-wt-payment-mark:after{
    left:13px!important;right:13px!important;top:16px!important;
}
body.syou-wt-stage-checkout #payment ul.payment_methods li{
    padding:13px 15px!important;
    border-radius:12px!important;
}
body.syou-wt-stage-checkout #payment ul.payment_methods li label{
    font-size:13px!important;
    line-height:1.35!important;
}
body.syou-wt-stage-checkout #payment ul.payment_methods li label img,
body.syou-wt-stage-checkout #payment ul.payment_methods li img,
body.syou-wt-stage-checkout #payment .payment_method_autopay img{
    display:inline-block!important;
    width:auto!important;
    height:auto!important;
    max-width:150px!important;
    max-height:30px!important;
    object-fit:contain!important;
    vertical-align:middle!important;
    margin:0 0 0 10px!important;
}
body.syou-wt-stage-checkout #payment div.payment_box{
    font-size:11px!important;
    background:#f7f7f7!important;
}
body.syou-wt-stage-checkout .syou-wt-empty-checkout-box{
    display:none!important;
}
@media(max-width:620px){
    body.syou-wt-stage-checkout .syou-wt-checkout-right{margin-top:20px!important}
    body.syou-wt-stage-checkout .syou-wt-participant-card{padding:17px!important}
}

/* Checkout KPI summary - deposit / full price / participants. */
body.syou-wt-stage-checkout .syou-wt-checkout-metrics{
 display:grid!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:12px!important;
 width:100%!important;
 margin:22px 0 18px!important;
 padding:0!important;
 font-family:'Poppins',Arial,sans-serif!important;
}
body.syou-wt-stage-checkout .syou-wt-checkout-metric{
 display:flex!important;
 align-items:center!important;
 gap:13px!important;
 min-width:0!important;
 min-height:88px!important;
 padding:16px 17px!important;
 border:1px solid var(--syou-wt-page-border)!important;
 border-radius:14px!important;
 background:#fff!important;
 box-shadow:0 8px 24px rgba(0,0,0,.035)!important;
 color:var(--syou-wt-page-text)!important;
}
body.syou-wt-stage-checkout .syou-wt-checkout-metric.is-total{
 border-color:#f0d28e!important;
 background:linear-gradient(135deg,#fffaf0 0%,#fff 82%)!important;
}
body.syou-wt-stage-checkout .syou-wt-metric-icon{
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 width:38px!important;
 height:38px!important;
 flex:0 0 38px!important;
 border-radius:11px!important;
 background:#f6f6f6!important;
 color:#161616!important;
 font-size:15px!important;
 line-height:1!important;
 font-weight:800!important;
}
body.syou-wt-stage-checkout .syou-wt-checkout-metric.is-deposit .syou-wt-metric-icon,
body.syou-wt-stage-checkout .syou-wt-checkout-metric.is-total .syou-wt-metric-icon{
 background:var(--syou-wt-page-accent)!important;
}
body.syou-wt-stage-checkout .syou-wt-checkout-metric>div{min-width:0!important}
body.syou-wt-stage-checkout .syou-wt-checkout-metric small{
 display:block!important;
 margin:0 0 5px!important;
 color:var(--syou-wt-page-muted)!important;
 font-size:10px!important;
 line-height:1.3!important;
 font-weight:600!important;
}
body.syou-wt-stage-checkout .syou-wt-checkout-metric strong{
 display:block!important;
 margin:0!important;
 color:var(--syou-wt-page-text)!important;
 font-size:17px!important;
 line-height:1.2!important;
 font-weight:800!important;
 white-space:nowrap!important;
}
@media(max-width:760px){
 body.syou-wt-stage-checkout .syou-wt-checkout-metrics{grid-template-columns:1fr!important;gap:9px!important;margin:18px 0 15px!important}
 body.syou-wt-stage-checkout .syou-wt-checkout-metric{min-height:72px!important;padding:13px 14px!important}
 body.syou-wt-stage-checkout .syou-wt-checkout-metric strong{font-size:16px!important}
}


/* === v1.2.4 canonical flow width ===
 * Jeden kontrakt szerokości dla hero, koszyka, checkoutu i finalizacji.
 * --syou-wt-page-max pochodzi z ustawienia „Maksymalna szerokość treści (px)”.
 */
body.syou-wt-page-ui-active .syou-wt-flow-hero,
body.syou-wt-page-ui-active .syou-wt-flow-main{
    width:min(calc(100% - 32px),var(--syou-wt-page-max))!important;
    max-width:var(--syou-wt-page-max)!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

/* Wcześniejsze reguły checkoutu celowo rozciągały flow-main do viewportu.
   Od tej wersji 100% oznacza wyłącznie 100% wspólnego kontenera. */
body.syou-wt-stage-checkout .syou-wt-flow-main{
    width:min(calc(100% - 32px),var(--syou-wt-page-max))!important;
    max-width:var(--syou-wt-page-max)!important;
    margin-left:auto!important;
    margin-right:auto!important;
}
body.syou-wt-stage-checkout .syou-wt-flow-checkout,
body.syou-wt-stage-checkout .syou-wt-flow-checkout .woocommerce,
body.syou-wt-stage-checkout .syou-wt-flow-checkout form.checkout,
body.syou-wt-stage-checkout .syou-wt-checkout-shell,
body.syou-wt-stage-checkout .syou-wt-checkout-left,
body.syou-wt-stage-checkout .syou-wt-checkout-right,
body.syou-wt-stage-checkout .syou-wt-reservation-timer,
body.syou-wt-stage-checkout .syou-wt-checkout-metrics,
body.syou-wt-stage-checkout .syou-wt-participants,
body.syou-wt-stage-checkout #customer_details,
body.syou-wt-stage-checkout #order_review{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
}

/* Elementor / motyw nie może nadać wewnętrznym wrapperom szerokości viewportu. */
body.syou-wt-page-ui-active .syou-wt-flow-main .elementor-widget-container,
body.syou-wt-page-ui-active .syou-wt-flow-main .woocommerce,
body.syou-wt-page-ui-active .syou-wt-flow-main form,
body.syou-wt-page-ui-active .syou-wt-flow-main section{
    box-sizing:border-box;
}

@media(max-width:620px){
    body.syou-wt-page-ui-active .syou-wt-flow-hero,
    body.syou-wt-page-ui-active .syou-wt-flow-main,
    body.syou-wt-stage-checkout .syou-wt-flow-main{
        width:calc(100% - 22px)!important;
        max-width:none!important;
    }
}

/* === v1.2.5 checkout polish: section headers, notices, document select, rhythm, terms === */
body.syou-wt-stage-checkout .syou-wt-section-intro{
    display:flex!important;
    align-items:center!important;
    gap:13px!important;
    width:100%!important;
    margin:0 0 18px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:var(--syou-wt-page-text)!important;
    font-family:'Poppins',Arial,sans-serif!important;
}
body.syou-wt-stage-checkout .syou-wt-section-icon{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:40px!important;
    height:40px!important;
    flex:0 0 40px!important;
    border:1px solid #f0d18a!important;
    border-radius:12px!important;
    background:#fff8e8!important;
    color:#171717!important;
    box-shadow:none!important;
}
body.syou-wt-stage-checkout .syou-wt-section-icon svg{
    width:20px!important;
    height:20px!important;
    display:block!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}
body.syou-wt-stage-checkout .syou-wt-section-intro>div{min-width:0!important}
body.syou-wt-stage-checkout .syou-wt-section-intro strong{
    display:block!important;
    margin:0!important;
    color:#171717!important;
    font-family:'Poppins',Arial,sans-serif!important;
    font-size:17px!important;
    line-height:1.3!important;
    font-weight:800!important;
    letter-spacing:0!important;
    text-transform:none!important;
}
body.syou-wt-stage-checkout .syou-wt-section-intro small{
    display:block!important;
    margin:3px 0 0!important;
    color:var(--syou-wt-page-muted)!important;
    font-family:'Poppins',Arial,sans-serif!important;
    font-size:11px!important;
    line-height:1.45!important;
    font-weight:400!important;
}
/* Retire the old text-only headers when the modern intro exists. */
body.syou-wt-stage-checkout .syou-wt-section-heading{display:none!important}
body.syou-wt-stage-checkout .woocommerce-billing-fields>h3{display:none!important}
body.syou-wt-stage-checkout .syou-wt-payment-intro{
    margin:0 0 18px!important;
    padding:0!important;
    border:0!important;
}

/* One consistent 28px vertical rhythm between primary checkout blocks. */
body.syou-wt-stage-checkout .syou-wt-checkout-left>.syou-wt-participants{margin:0 0 28px!important}
body.syou-wt-stage-checkout .syou-wt-checkout-left>#customer_details{margin:0!important}
body.syou-wt-stage-checkout .syou-wt-checkout-right{margin-top:28px!important}
body.syou-wt-stage-checkout .woocommerce-checkout-review-order-table{margin:0 0 28px!important}
body.syou-wt-stage-checkout .syou-wt-checkout-metrics{margin:28px 0!important}
body.syou-wt-stage-checkout #payment,
body.syou-wt-stage-checkout .woocommerce-checkout-payment{margin:0!important}
body.syou-wt-stage-checkout .woocommerce-billing-fields,
body.syou-wt-stage-checkout .syou-wt-participant-card{padding:24px!important}
body.syou-wt-stage-checkout .syou-wt-participant-card:last-child{margin-bottom:0!important}

/* Validation notices - same visual language as the reservation timer. */
body.syou-wt-stage-checkout .woocommerce-NoticeGroup-checkout,
body.syou-wt-stage-checkout .woocommerce-notices-wrapper{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 28px!important;
    padding:0!important;
}
body.syou-wt-stage-checkout ul.woocommerce-error,
body.syou-wt-stage-checkout .woocommerce-error.syou-wt-notice-card{
    position:relative!important;
    width:100%!important;
    margin:0!important;
    padding:16px 20px 16px 58px!important;
    border:1px solid #edc4c4!important;
    border-top:1px solid #edc4c4!important;
    border-radius:14px!important;
    background:linear-gradient(135deg,#fff7f7 0%,#fff 82%)!important;
    color:#552727!important;
    box-shadow:0 9px 26px rgba(105,25,25,.045)!important;
    list-style:none!important;
    font-family:'Poppins',Arial,sans-serif!important;
}
body.syou-wt-stage-checkout ul.woocommerce-error:before,
body.syou-wt-stage-checkout .woocommerce-error.syou-wt-notice-card:before{
    content:"!"!important;
    position:absolute!important;
    left:16px!important;
    top:16px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:28px!important;
    height:28px!important;
    margin:0!important;
    border-radius:9px!important;
    background:#b92e2e!important;
    color:#fff!important;
    font-family:'Poppins',Arial,sans-serif!important;
    font-size:15px!important;
    line-height:1!important;
    font-weight:800!important;
}
body.syou-wt-stage-checkout ul.woocommerce-error>li{
    margin:0!important;
    padding:3px 0!important;
    color:#552727!important;
    font-size:12px!important;
    line-height:1.5!important;
    list-style:none!important;
}
body.syou-wt-stage-checkout ul.woocommerce-error>li:before{display:none!important}
body.syou-wt-stage-checkout ul.woocommerce-error a{color:#b92e2e!important;font-weight:700!important}

/* Rodzaj rachunku - stable 52px control and one centered chevron. */
body.syou-wt-stage-checkout .syou-wt-document-type .woocommerce-input-wrapper{
    position:relative!important;
    display:block!important;
    width:100%!important;
}
body.syou-wt-stage-checkout .syou-wt-document-type .woocommerce-input-wrapper:after{
    content:""!important;
    position:absolute!important;
    z-index:4!important;
    right:19px!important;
    top:50%!important;
    width:7px!important;
    height:7px!important;
    margin-top:-5px!important;
    border-right:2px solid #333!important;
    border-bottom:2px solid #333!important;
    transform:rotate(45deg)!important;
    transform-origin:center!important;
    pointer-events:none!important;
}
body.syou-wt-stage-checkout .syou-wt-document-type select{
    display:block!important;
    width:100%!important;
    height:52px!important;
    min-height:52px!important;
    margin:0!important;
    padding:0 52px 0 16px!important;
    border:1px solid var(--syou-wt-page-border)!important;
    border-radius:12px!important;
    background:#fff!important;
    background-image:none!important;
    color:#171717!important;
    font-family:'Poppins',Arial,sans-serif!important;
    font-size:14px!important;
    line-height:50px!important;
    appearance:none!important;
    -webkit-appearance:none!important;
    box-shadow:none!important;
    outline:0!important;
}
body.syou-wt-stage-checkout .syou-wt-document-type select:focus{
    border-color:#d5ad4c!important;
    box-shadow:0 0 0 3px rgba(255,182,41,.14)!important;
}
body.syou-wt-stage-checkout .syou-wt-document-type option{
    background:#fff!important;
    color:#171717!important;
    font-family:'Poppins',Arial,sans-serif!important;
    font-size:14px!important;
}
body.syou-wt-stage-checkout .syou-wt-document-type .select2-container{
    display:block!important;
    width:100%!important;
    height:52px!important;
    margin:0!important;
}
body.syou-wt-stage-checkout .syou-wt-document-type .select2-selection--single{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    height:52px!important;
    min-height:52px!important;
    padding:0!important;
    border:1px solid var(--syou-wt-page-border)!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:none!important;
}
body.syou-wt-stage-checkout .syou-wt-document-type .select2-selection__rendered{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    height:50px!important;
    padding:0 52px 0 16px!important;
    color:#171717!important;
    font-family:'Poppins',Arial,sans-serif!important;
    font-size:14px!important;
    line-height:1.2!important;
}
body.syou-wt-stage-checkout .syou-wt-document-type .select2-selection__arrow,
body.syou-wt-stage-checkout .syou-wt-document-type .select2-selection__clear{display:none!important}
.syou-wt-document-dropdown{
    margin-top:6px!important;
    border:1px solid #dedede!important;
    border-radius:12px!important;
    overflow:hidden!important;
    background:#fff!important;
    box-shadow:0 16px 38px rgba(0,0,0,.14)!important;
    font-family:'Poppins',Arial,sans-serif!important;
}
.syou-wt-document-dropdown .select2-results__options{padding:6px!important;max-height:260px!important}
.syou-wt-document-dropdown .select2-results__option{
    margin:0!important;
    padding:11px 12px!important;
    border-radius:8px!important;
    color:#171717!important;
    background:#fff!important;
    font-size:13px!important;
    line-height:1.35!important;
}
.syou-wt-document-dropdown .select2-results__option--highlighted[aria-selected],
.syou-wt-document-dropdown .select2-results__option--highlighted[data-selected]{
    background:#fff5df!important;
    color:#171717!important;
}
.syou-wt-document-dropdown .select2-results__option[aria-selected="true"],
.syou-wt-document-dropdown .select2-results__option[data-selected="true"]{
    background:#FFB629!important;
    color:#111!important;
    font-weight:700!important;
}

/* Terms/privacy - custom checkbox and brand link. */
body.syou-wt-stage-checkout #payment .woocommerce-terms-and-conditions-wrapper,
body.syou-wt-stage-checkout #payment .wc-terms-and-conditions,
body.syou-wt-stage-checkout #payment .form-row.validate-required{
    font-family:'Poppins',Arial,sans-serif!important;
}
body.syou-wt-stage-checkout #payment .woocommerce-form__label-for-checkbox,
body.syou-wt-stage-checkout #payment label.checkbox{
    display:flex!important;
    align-items:flex-start!important;
    gap:9px!important;
    margin:0!important;
    color:#3e3e3e!important;
    font-family:'Poppins',Arial,sans-serif!important;
    font-size:11px!important;
    line-height:1.5!important;
    cursor:pointer!important;
}
body.syou-wt-stage-checkout #payment input[type="checkbox"]{
    appearance:none!important;
    -webkit-appearance:none!important;
    display:inline-block!important;
    width:19px!important;
    height:19px!important;
    min-width:19px!important;
    min-height:19px!important;
    flex:0 0 19px!important;
    margin:0!important;
    padding:0!important;
    border:1.5px solid #bcbcbc!important;
    border-radius:5px!important;
    background:#fff!important;
    box-shadow:none!important;
    outline:0!important;
    cursor:pointer!important;
    vertical-align:top!important;
}
body.syou-wt-stage-checkout #payment input[type="checkbox"]:hover{border-color:#8b8b8b!important}
body.syou-wt-stage-checkout #payment input[type="checkbox"]:focus-visible{border-color:#d39a24!important;box-shadow:0 0 0 3px rgba(255,182,41,.18)!important}
body.syou-wt-stage-checkout #payment input[type="checkbox"]:checked{
    border-color:#FFB629!important;
    background-color:#FFB629!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.2 8.1 6.5 11.2 12.8 4.9'/%3E%3C/svg%3E")!important;
    background-repeat:no-repeat!important;
    background-position:center!important;
    background-size:13px 13px!important;
}
body.syou-wt-stage-checkout #payment .woocommerce-terms-and-conditions-wrapper a,
body.syou-wt-stage-checkout #payment .woocommerce-privacy-policy-text a,
body.syou-wt-stage-checkout #payment .woocommerce-terms-and-conditions-checkbox-text a,
body.syou-wt-stage-checkout #payment label.checkbox a{
    color:#FFB629!important;
    font-weight:700!important;
    text-decoration:none!important;
}
body.syou-wt-stage-checkout #payment .woocommerce-terms-and-conditions-wrapper a:hover,
body.syou-wt-stage-checkout #payment .woocommerce-privacy-policy-text a:hover,
body.syou-wt-stage-checkout #payment label.checkbox a:hover{text-decoration:underline!important}

@media(max-width:620px){
    body.syou-wt-stage-checkout .syou-wt-section-icon{width:36px!important;height:36px!important;flex-basis:36px!important}
    body.syou-wt-stage-checkout .syou-wt-section-icon svg{width:18px!important;height:18px!important}
    body.syou-wt-stage-checkout .syou-wt-section-intro strong{font-size:15px!important}
    body.syou-wt-stage-checkout .syou-wt-section-intro small{font-size:10px!important}
    body.syou-wt-stage-checkout ul.woocommerce-error{padding:14px 14px 14px 52px!important}
    body.syou-wt-stage-checkout ul.woocommerce-error:before{left:13px!important;top:13px!important}
}

/* === v1.2.6: equal spacing around checkout KPI cards === */
body.syou-wt-stage-checkout .syou-wt-flow-main .syou-wt-checkout-metrics{
    margin-top:28px!important;
    margin-bottom:28px!important;
}

/* Admin-only quick finalization test mode */
.syou-wt-flow-checkout .syou-wt-admin-test-badge{display:flex;flex-direction:column;gap:3px;margin:0 0 14px;padding:11px 13px;border:1px dashed #d89a19;border-radius:11px;background:#fff9ec;color:#2d2d2d;font-family:'Poppins',Arial,sans-serif}.syou-wt-flow-checkout .syou-wt-admin-test-badge strong{font-size:12px;font-weight:800}.syou-wt-flow-checkout .syou-wt-admin-test-badge span{font-size:10px;line-height:1.45;color:#6b6252}

/* v1.3.5 - clean SVG icons in checkout KPI cards. */
body.syou-wt-stage-checkout .syou-wt-metric-icon svg{
 width:20px!important;
 height:20px!important;
 display:block!important;
 fill:none!important;
 stroke:currentColor!important;
 stroke-width:1.75!important;
 stroke-linecap:round!important;
 stroke-linejoin:round!important;
}
body.syou-wt-stage-checkout .syou-wt-checkout-metric.is-people .syou-wt-metric-icon{
 background:#f6f6f6!important;
 color:#161616!important;
}
