:root{--pd2-bg:#f7f5f0;--pd2-card:#ffffff;--pd2-ink:#17191d;--pd2-muted:#777a80;--pd2-gold:#d7b45f;--pd2-border:#e3ded4;--pd2-soft:#f1ece3;--pd2-danger:#9e3d38}
.guidedCheckoutPage{min-height:100dvh;background:var(--pd2-bg);color:var(--pd2-ink);padding-bottom:calc(82px + env(safe-area-inset-bottom));overflow-x:hidden}
.guidedCheckoutHeader{position:sticky;top:0;z-index:50;height:58px;background:rgba(247,245,240,.96);backdrop-filter:blur(18px);display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:10px;padding:7px 14px;border-bottom:1px solid rgba(227,222,212,.9)}
.guidedCheckoutHeader>div{display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;text-align:center}.guidedCheckoutHeader b{font-family:Georgia,serif;letter-spacing:.16em;font-size:15px;font-weight:700}.guidedCheckoutHeader small{margin-top:4px;color:#9a742c;font-weight:800;letter-spacing:.05em;font-size:11px}
.guidedClose{width:40px;height:40px;border-radius:12px;border:1px solid var(--pd2-border);background:#fff;font-size:22px;color:var(--pd2-ink);display:grid;place-items:center;padding:0}
.guidedHeaderStep{justify-self:end;font-weight:800;color:var(--pd2-muted);font-size:12px}
.guidedProgress{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:14px 18px 8px;max-width:640px;margin:auto}.guidedProgress:before{content:"";position:absolute;left:calc(12.5% + 18px);right:calc(12.5% + 18px);top:27px;height:1px;background:#ddd6ca;z-index:0}.guidedProgressStep{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#aaa;min-width:0}.guidedProgressStep span{width:24px;height:24px;border-radius:999px;border:1px solid #d8d1c6;background:var(--pd2-bg);display:grid;place-items:center;font-size:11px;font-weight:900}.guidedProgressStep small{font-size:10px;font-weight:800;white-space:nowrap;color:inherit}.guidedProgressStep.active{color:var(--pd2-ink)}.guidedProgressStep.active span{background:var(--pd2-ink);border-color:var(--pd2-ink);color:#fff}.guidedProgressStep.done{color:#99752f}.guidedProgressStep.done span{background:#ead59d;border-color:#ead59d;color:#17191d}
.guidedCheckoutMain{max-width:640px;margin:0 auto;padding:8px 14px 24px}.guidedStepPanel{background:var(--pd2-card);border:1px solid var(--pd2-border);border-radius:20px;padding:20px;box-shadow:0 8px 28px rgba(27,24,18,.045)}
.guidedStepTitle{display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:start;margin-bottom:20px}.guidedStepTitle>span{width:34px;height:34px;border-radius:11px;background:var(--pd2-ink);color:#fff;display:grid;place-items:center;font-weight:900;font-size:14px}.guidedStepTitle small{font-size:10px;letter-spacing:.13em;color:#9d7932;font-weight:900}.guidedStepTitle h1{font-size:clamp(27px,5.8vw,34px);line-height:1.06;margin:3px 0 6px;letter-spacing:-.02em}.guidedStepTitle p{margin:0;color:var(--pd2-muted);font-size:14px;line-height:1.4}
.guidedField{display:flex;flex-direction:column;gap:6px;margin-bottom:13px}.guidedField label{font-size:13px;font-weight:850}.guidedField label small{font-weight:600;color:var(--pd2-muted)}.guidedField input,.guidedField textarea{width:100%!important;box-sizing:border-box!important;border:1px solid #d8d3ca!important;background:#fff!important;border-radius:13px!important;padding:11px 13px!important;font:inherit!important;font-size:16px!important;color:var(--pd2-ink)!important;outline:none!important;box-shadow:none!important}.guidedField input{height:48px!important;min-height:48px!important}.guidedField textarea{min-height:76px!important;resize:vertical}.guidedField input:focus,.guidedField textarea:focus{border-color:#b9913d!important;box-shadow:0 0 0 3px rgba(215,180,95,.13)!important}
.guidedTwoCols{display:grid;grid-template-columns:1fr 1fr;gap:10px}.guidedOptional{border:1px solid #ded8cc;border-radius:14px;padding:0 13px;margin:3px 0 14px;background:#fbfaf7}.guidedOptional summary{cursor:pointer;padding:12px 0;font-weight:800;color:#63656a;font-size:14px}.guidedOptional[open] summary{margin-bottom:6px}.guidedOptional .guidedField:last-child{margin-bottom:13px}
.guidedVerifyButton,.guidedPrimaryButton,.guidedSubmitButton{width:100%;min-height:50px;border:0;border-radius:15px;background:var(--pd2-ink);color:#fff;font-weight:900;font-size:16px;padding:12px 16px}.guidedVerifyButton:disabled,.guidedPrimaryButton:disabled{opacity:.5}.guidedSuccessCard{display:grid;grid-template-columns:38px 1fr auto;gap:11px;align-items:center;background:#f4ecd9;border:1px solid #e7d6ae;border-radius:15px;padding:12px}.guidedSuccessCard>span{width:34px;height:34px;border-radius:10px;background:#d7b45f;display:grid;place-items:center;font-weight:900}.guidedSuccessCard b{display:block;font-size:14px}.guidedSuccessCard p{margin:2px 0;color:#5f6166;font-size:13px;line-height:1.35}.guidedSuccessCard small{color:#876726;font-size:11px}.guidedSuccessCard strong{white-space:nowrap;font-size:16px}
.guidedSavedAddresses{margin-bottom:15px}.guidedSavedAddresses>small{font-size:10px;font-weight:900;color:#9d7a33;letter-spacing:.1em}.guidedSavedAddresses .savedAddressChips{display:flex;gap:7px;overflow:auto;padding:7px 0 2px}.guidedSavedAddresses button{white-space:nowrap;border:1px solid var(--pd2-border);background:#fff;border-radius:999px;padding:9px 11px;font-weight:750;font-size:13px}
.guidedEditSummary,.guidedReviewList button{width:100%;display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:9px;text-align:left;border:1px solid var(--pd2-border);background:#fbfaf7;border-radius:14px;padding:11px 12px;margin-bottom:14px;color:var(--pd2-ink)}.guidedEditSummary>span,.guidedReviewList button>span{font-size:18px}.guidedEditSummary small,.guidedReviewList small{display:block;color:#95712d;font-size:9px;font-weight:900;letter-spacing:.1em}.guidedEditSummary b,.guidedReviewList b{display:block;margin-top:1px;white-space:normal;font-size:13px}.guidedEditSummary em,.guidedReviewList em{font-style:normal;color:#896722;font-weight:800;font-size:11px}
.guidedSlots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.guidedSlot{border:1px solid var(--pd2-border);background:#fff;border-radius:14px;padding:12px;display:flex;flex-direction:column;align-items:flex-start;gap:3px;color:var(--pd2-ink)}.guidedSlot strong{font-size:18px}.guidedSlot span{color:var(--pd2-muted);font-size:11px}.guidedSlot.selected{border:2px solid var(--pd2-ink);background:#f0e4c5;box-shadow:0 0 0 2px rgba(215,180,95,.14)}.guidedEmpty{grid-column:1/-1;border:1px dashed var(--pd2-border);border-radius:14px;padding:18px;text-align:center;color:var(--pd2-muted)}.guidedEmpty p{margin:4px 0 0}.guidedInfoCard{display:flex;gap:10px;margin-top:14px;padding:12px;border-radius:14px;background:#f2eee6}.guidedInfoCard>span{font-size:20px}.guidedInfoCard b{display:block;font-size:13px}.guidedInfoCard small{display:block;color:var(--pd2-muted);margin-top:3px;font-size:11px}
.guidedToggle,.guidedPrivacy{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.4}.guidedToggle input,.guidedPrivacy input{width:18px!important;height:18px!important;min-height:18px!important;flex:0 0 auto;margin-top:1px}
.guidedReviewList{display:grid;gap:9px}.guidedReviewList button{margin:0}.guidedOrderSummary,.guidedCoupon,.guidedTotals,.guidedPaymentNote{margin-top:16px;border-top:1px solid #e7e1d8;padding-top:16px}.guidedSummaryHead,.guidedOrderLine,.guidedTotals>div{display:flex;justify-content:space-between;gap:10px}.guidedOrderLine{padding:6px 0;color:#5b5e63;font-size:13px}.guidedOrderLine b{color:var(--pd2-ink);white-space:nowrap}.guidedCoupon label{display:block;font-weight:850;margin-bottom:7px;font-size:13px}.guidedCoupon>div{display:grid;grid-template-columns:1fr auto;gap:7px}.guidedCoupon input{min-width:0;height:46px;border:1px solid var(--pd2-border);border-radius:13px;padding:11px 12px;font:inherit;font-size:15px}.guidedCoupon button{border:0;border-radius:13px;background:#e6ce91;padding:0 15px;font-weight:900}.guidedCoupon small{display:block;margin-top:7px;color:#7d632a;font-weight:800}.guidedTotals{display:grid;gap:7px;font-size:14px}.guidedTotals span{color:var(--pd2-muted)}.guidedGrandTotal{font-size:18px;padding-top:9px;border-top:1px solid #e5ddd0}.guidedGrandTotal strong{font-size:22px}.guidedPaymentNote{display:flex;gap:9px;background:#f2eee6;border:0;border-radius:14px;padding:12px}.guidedPaymentNote>span{width:24px;height:24px;border-radius:999px;background:#d7b45f;display:grid;place-items:center;font-weight:900;flex:0 0 auto}.guidedPaymentNote p{margin:2px 0;color:#5d6065;font-size:13px}.guidedPrivacy{margin-top:14px}
.guidedError{margin-top:12px;background:#fae8e5;border:1px solid #e6c2bc;color:var(--pd2-danger);padding:11px 13px;border-radius:13px;font-weight:750;font-size:13px}
.guidedCheckoutFooter{position:fixed;left:0;right:0;bottom:0;z-index:120;background:rgba(255,255,255,.97);backdrop-filter:blur(18px);border-top:1px solid var(--pd2-border);padding:10px max(14px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));display:flex;justify-content:center}.guidedCheckoutFooter .guidedPrimaryButton{max-width:640px;flex:1}.guidedSecondaryButton{display:none}
@media(max-width:560px){.guidedCheckoutPage{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.guidedCheckoutHeader{height:54px;padding:6px 12px}.guidedClose{width:38px;height:38px}.guidedProgress{padding:12px 10px 7px}.guidedProgress:before{top:25px;left:calc(12.5% + 15px);right:calc(12.5% + 15px)}.guidedProgressStep small{font-size:9px}.guidedCheckoutMain{padding:6px 10px 20px}.guidedStepPanel{padding:16px 15px;border-radius:18px}.guidedStepTitle{grid-template-columns:30px 1fr;gap:10px;margin-bottom:17px}.guidedStepTitle>span{width:30px;height:30px;border-radius:10px;font-size:13px}.guidedStepTitle h1{font-size:28px}.guidedStepTitle p{font-size:13px}.guidedTwoCols{grid-template-columns:1fr 1fr}.guidedSlots{grid-template-columns:1fr 1fr}.guidedSuccessCard{grid-template-columns:34px 1fr}.guidedSuccessCard strong{grid-column:2}.guidedCheckoutFooter{padding-top:9px;padding-bottom:calc(9px + env(safe-area-inset-bottom))}.guidedCheckoutFooter .guidedPrimaryButton{min-height:50px}}
@media(max-width:390px){.guidedTwoCols{grid-template-columns:1fr}.guidedProgressStep small{font-size:8px}.guidedSlots{grid-template-columns:1fr 1fr}}
/* 4.0B.2 Professional Checkout UI: single brand header, compact fields, lighter hierarchy, one primary action. */
