/* V9 checkout: Maison Bedrock reference layout translated into clay lavender/plum/ivory. */
html.rg-modern body:has(.rg9-checkout-page){background:#faf7f7!important}
html.rg-modern main.rg9-checkout-page{width:100%;min-height:60vh;padding:44px 24px 70px;background:linear-gradient(180deg,#faf7f7,#f9f5f8);color:#342a34;font-family:'DM Sans',Arial,sans-serif}
.rg9-checkout-page *{box-sizing:border-box}
.rg9-checkout-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(340px,.82fr);gap:clamp(28px,6vw,100px);max-width:1120px;margin:0 auto;align-items:start}
.rg9-checkout-form-column{width:100%;min-width:0}
.rg9-return-shop{display:inline-flex;gap:8px;align-items:center;color:#866d81!important;font-size:12px;text-decoration:none!important;margin-bottom:29px;font-weight:600}
.rg9-return-shop:hover{color:#583e58!important}
.rg9-checkout-eyebrow{font-weight:700;font-size:10px;letter-spacing:.2em;color:#95738c;text-transform:uppercase;line-height:1.4;margin:0 0 11px}
.rg9-checkout-form-column h1{font:400 clamp(45px,6vw,71px)/1.08 'Playfair Display',Georgia,serif;letter-spacing:-.055em;color:#362b34;margin:0 0 12px}
.rg9-checkout-form-column h1 em,.rg9-checkout-success em{font-weight:400;font-style:italic;color:#9f698e}
.rg9-checkout-blurb{font-size:13px;line-height:1.7;color:#978792;margin:0 0 39px}
.rg9-form-section{border-bottom:1px solid #ded4db;margin:0 0 26px;padding:0 0 27px}
.rg9-form-section:last-child{border-bottom:0}
.rg9-form-title{display:flex;gap:15px;align-items:baseline;margin-bottom:18px}
.rg9-form-title span{font:italic 400 24px/1 Georgia,serif;color:#b283a3}
.rg9-form-title h2{font:500 clamp(20px,2.1vw,24px)/1.25 'DM Sans',Arial,sans-serif!important;color:#382b34!important;margin:0!important;letter-spacing:-.025em}
.rg9-input-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:17px 16px}
.rg9-input{display:block;min-width:0;color:#443a43;font:600 12px/1.45 'DM Sans',Arial,sans-serif}
.rg9-input span{color:#9e597a}
.rg9-input.full{grid-column:1/-1}
.rg9-input input,.rg9-input select,.rg9-input textarea{display:block;min-width:0;width:100%;height:51px;border:1px solid #d9cfd6;border-radius:4px;background:#fffdfd;margin-top:8px;padding:12px 13px;outline:none;font:400 16px/1.3 'DM Sans',Arial,sans-serif;color:#322c33;box-shadow:none;appearance:none;-webkit-appearance:none}
.rg9-input input::placeholder,.rg9-input textarea::placeholder{color:#a9a0a6;opacity:1}
.rg9-input select{padding-right:27px;background:#fffdfd url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="10" viewBox="0 0 12 10"%3E%3Cpath d="m1 3 5 5 5-5" fill="none" stroke="%23866681" stroke-width="1.4"/%3E%3C/svg%3E') right 12px center/13px 11px no-repeat}
.rg9-input textarea{height:auto;min-height:88px;resize:vertical}
.rg9-input input:focus,.rg9-input select:focus,.rg9-input textarea:focus{border-color:#b386a7;box-shadow:0 0 0 3px #d9bcd032}
.rg9-choice-list{display:grid;gap:10px}
.rg9-choice{display:flex;align-items:center;gap:13px;padding:17px 17px;min-height:67px;border:1px solid #dcced9;background:#fffdfd;border-radius:4px;cursor:pointer;transition:border-color .2s,background .2s;color:#443545}
.rg9-choice:has(input:checked){background:#f5eaf1;border-color:#b28ba9}
.rg9-choice input{appearance:none;-webkit-appearance:none;width:17px;height:17px;border-radius:50%;border:1px solid #a897a5;flex-shrink:0;display:grid;place-items:center;margin:0;cursor:pointer}
.rg9-choice input:checked{border-color:#8e5d85}
.rg9-choice input:checked:before{content:'';height:7px;width:7px;border-radius:50%;background:#8e5d85}
.rg9-choice>span{flex:1;min-width:0;display:grid;gap:5px}
.rg9-choice strong{font-size:13px;font-weight:700}
.rg9-choice small{font-size:11px;color:#8d7d89;line-height:1.45}
.rg9-choice>b{font-size:12px;font-weight:600;color:#6d5267;white-space:nowrap}
.rg9-choice[hidden]{display:none!important}
.rg9-notes-section{margin-top:2px}
.rg9-checkout-summary{position:sticky;top:32px;min-width:0;padding-top:48px}
.rg9-summary-inner{padding:26px;background:#f3e7ed;border-radius:9px;box-shadow:0 9px 29px #5a395009}
.rg9-summary-inner h2{font:400 clamp(28px,3.3vw,39px)/1.1 'Playfair Display',Georgia,serif!important;letter-spacing:-.045em;color:#4c3849!important;margin:0 0 21px!important}
.rg9-order-items{display:grid;gap:0;border-bottom:1px solid #e0cfd9;padding-bottom:16px}
.rg9-order-item{display:grid;grid-template-columns:55px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid #e4d7df}
.rg9-order-item:last-child{border-bottom:0}
.rg9-order-item img{width:55px;height:61px;object-fit:cover;border-radius:3px;background:#f9f2f7}
.rg9-order-item-name{min-width:0;display:grid;gap:5px}
.rg9-order-item-name strong{font-size:12px;line-height:1.3;color:#413141}
.rg9-order-item-name small{font-size:10px;color:#857582}
.rg9-order-item>strong{font-size:12px;white-space:nowrap}
.rg9-coupon{border-bottom:1px solid #e0cfd9;padding:19px 0}
.rg9-coupon label{font-size:11px;color:#6c5568;font-weight:600;display:block;margin-bottom:8px}
.rg9-coupon-row{display:flex;gap:6px;min-width:0}
.rg9-coupon-row input{flex:1;min-width:0;height:45px;border:1px solid #e0ced7;background:#fffefd;border-radius:3px;font:400 16px 'DM Sans',Arial,sans-serif;padding:10px 11px;outline:none}
.rg9-coupon-row button{border:1px solid #c3a9b9;border-radius:3px;padding:0 12px;font-size:11px;color:#6d4966;background:#fcf6fa;cursor:pointer}
#rg9CouponNotice{display:block;min-height:0;margin:6px 0 0;color:#8c667f;font-size:11px;line-height:1.5}
.rg9-summary-totals{display:grid;gap:15px;padding-top:22px}
.rg9-summary-totals>div{display:flex;gap:15px;justify-content:space-between;align-items:baseline;font-size:13px;color:#584754}
.rg9-summary-totals>div strong{font-weight:600;color:#3c2f3a}
.rg9-summary-totals>.rg9-summary-total{border-top:1px solid #dcc8d6;margin-top:2px;padding-top:18px;font-weight:700;font-size:18px}
.rg9-summary-total strong{font-size:20px}
.rg9-confirm{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;border:0;border-radius:4px;padding:17px 19px;margin-top:26px;min-height:51px;background:#55354f;color:white;font:700 12px/1.2 'DM Sans',Arial,sans-serif;letter-spacing:.02em;cursor:pointer;text-align:left}
.rg9-confirm:hover{background:#704763}
.rg9-confirm:disabled{opacity:.5;cursor:not-allowed}
.rg9-order-hint{text-align:center;font-size:10px;line-height:1.6;color:#8e7986;margin:12px 0 0}
.rg9-order-error{font-size:12px;line-height:1.6;color:#a8364f;margin-top:14px}
.rg9-order-error:empty{display:none}
.rg9-checkout-success{max-width:720px;margin:40px auto 0;padding:60px 25px 70px;text-align:center;background:#fffafd;border:1px solid #ecddea;border-radius:22px;box-shadow:0 19px 55px #442b3c12}
.rg9-checkout-success[hidden]{display:none!important}
.rg9-success-mark{height:90px;width:90px;border-radius:50%;display:grid;place-items:center;margin:0 auto 22px;background:#f0e2ee;color:#916287;animation:rg9Celebrate .8s cubic-bezier(.18,.8,.3,1) both}
.rg9-success-mark svg{width:58px;height:58px}
@keyframes rg9Celebrate{from{opacity:0;transform:scale(.6) rotate(-12deg)}to{opacity:1;transform:scale(1) rotate(0)}}
.rg9-checkout-success h2{font:400 clamp(34px,4vw,48px)/1.14 'Playfair Display',Georgia,serif!important;color:#503a4c;margin:0 0 15px}
.rg9-checkout-success p{color:#8b7787;line-height:1.7;font-size:14px}
.rg9-success-track,.rg9-success-return{display:inline-flex;align-items:center;justify-content:center;padding:12px 16px;border-radius:5px;font-weight:700;font-size:13px;text-decoration:none!important;margin:13px 5px 0;min-width:146px}
.rg9-success-track{background:#6e4867;color:#fff!important}
.rg9-success-return{border:1px solid #d4c1ce;color:#664b62!important}
@media(max-width:950px){.rg9-checkout-layout{grid-template-columns:minmax(0,1fr);gap:22px;max-width:650px}.rg9-checkout-summary{position:static;top:auto;padding-top:0}.rg9-summary-inner{padding:23px}}
@media(max-width:640px){
 html.rg-modern main.rg9-checkout-page{padding:26px 20px 55px}
 .rg9-return-shop{margin:0 0 29px}
 .rg9-checkout-form-column h1{font-size:clamp(43px,12vw,55px)}
 .rg9-checkout-blurb{margin-bottom:33px}
 .rg9-form-section{padding-bottom:26px;margin-bottom:26px}
 .rg9-form-title span{font-size:23px}
 .rg9-form-title h2{font-size:21px!important}
 .rg9-input-grid{gap:16px 13px}
 .rg9-input{font-size:11.5px}
 .rg9-input input,.rg9-input select,.rg9-input textarea{min-height:49px;padding:10px 11px}
 .rg9-summary-inner{margin:0 -2px;padding:22px 19px}
 .rg9-checkout-success{margin:20px auto;padding:50px 17px}
}
@media(max-width:355px){.rg9-input-grid{grid-template-columns:1fr}.rg9-input.full{grid-column:1}}
@media(prefers-reduced-motion:reduce){.rg9-success-mark{animation:none}}
