/* MASTORE / OBJECT 01 — monochrome checkout, scoped to Studio. */
body.mcs-page{background:#fff!important;color:#141414!important;--ink:#141414;--paper:#fff;--wash:#f6f6f6;--ink-45:#666;--r-card:30px;--r-field:16px;font-family:Arial,"Helvetica Neue",sans-serif!important}
body.mcs-page .mcs{font-family:Arial,"Helvetica Neue",sans-serif!important;background:#fff!important}
body.mcs-page .mcs h1,body.mcs-page .mcs h2,body.mcs-page .mcs h3{font-family:Arial,"Helvetica Neue",sans-serif!important;font-style:normal}
body.mcs-page .mcs em{font-family:Georgia,serif!important;font-size:inherit!important;line-height:inherit!important;font-weight:400!important}
body.mcs-page #mcs-chrome{height:72px;padding:0 max(24px,calc((100vw - 1200px)/2));background:#fff!important}
body.mcs-page #mcs-chrome .mcs-chrome-title{font-size:10px;letter-spacing:.13em}
body.mcs-page .mcs-shell{max-width:1248px!important;width:100%!important;padding:0 24px!important}
html:has(body.mcs-wizard-on){height:auto!important}
body.mcs-page.mcs-wizard-on{height:auto!important;min-height:100dvh;overflow:auto!important;display:block!important}
body.mcs-page .mcs.mcs-wizard,body.mcs-page .mcs-wizard .mcs-shell,body.mcs-page .mcs-wizard .woocommerce,body.mcs-page .mcs-wizard form.mcs-form{display:block!important;overflow:visible!important;height:auto!important;min-height:0!important}
body.mcs-page .mcs-design-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:36px 0 26px}
body.mcs-page .mcs-design-intro .mcs-kicker{font:600 10px/1.4 Arial,sans-serif;letter-spacing:.2em;color:#777}
body.mcs-page .mcs-design-intro h1{font-size:clamp(30px,3.5vw,48px);font-weight:600;letter-spacing:-.055em;line-height:1.08;margin:9px 0 0}
body.mcs-page .mcs-design-intro p{font:400 13px/1.6 Arial,sans-serif;color:#666;max-width:240px;margin:0 0 3px}
body.mcs-page .mcs-route{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 0 24px!important}
body.mcs-page .mcs-route-item{padding:15px 18px;border:1px solid #e5e5e5;border-radius:18px;background:#fafafa;color:#777;gap:12px;min-width:0}
body.mcs-page .mcs-route-item:before,body.mcs-page .mcs-route-item:after{display:none!important}
body.mcs-page .mcs-route-item>span{width:29px;height:29px;border:1px solid #d7d7d7;background:transparent;font:500 11px/1 Arial,sans-serif;color:inherit}
body.mcs-page .mcs-route-item>strong{display:block!important;font:600 13px/1.3 Arial,sans-serif;letter-spacing:0;text-transform:none}
body.mcs-page .mcs-route-item>b{display:block;margin-left:auto;font:400 18px/1 Arial,sans-serif}
body.mcs-page .mcs-route-item.is-current{background:#171717;color:white;border-color:#171717}
body.mcs-page .mcs-route-item.is-current>span{border-color:#666;color:white}
body.mcs-page .mcs-route-item.is-complete{background:white;color:#222;border-color:#ccc}
body.mcs-page .mcs-wizard .mcs-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 360px!important;gap:24px;align-items:start;width:100%!important;max-width:none!important;padding:0 0 40px!important;margin:0!important;overflow:visible!important}
body.mcs-page .mcs-wizard .mcs-main{display:flex!important;min-width:0;overflow:visible!important;width:auto!important;max-width:none!important}
body.mcs-page .mcs-main:after{display:none!important}
body.mcs-page .mcs-wizard .mcs-main>.mcs-card{flex:none!important;padding:30px!important;min-height:400px;overflow:visible!important;border:1px solid #e5e5e5!important;border-radius:28px!important;background:#fff!important;box-shadow:0 8px 32px #00000003}
body.mcs-page .mcs-wizard .mcs-main>#mcs-pay:not(.mcs-panel-active){overflow:hidden!important}
body.mcs-page .mcs-wizard .mcs-card>.mcs-card-head{position:relative!important;top:auto!important;padding:0 0 24px!important;margin:0 0 27px!important;background:transparent!important;align-items:center;gap:16px;border-bottom:1px solid #e9e9e9}
body.mcs-page .mcs-card-head>span{font:400 48px/1 Arial,sans-serif!important;letter-spacing:-.07em;color:#d0d0d0!important;-webkit-text-stroke:0!important}
body.mcs-page .mcs-card-head h2{font-size:27px!important;font-weight:600!important;letter-spacing:-.045em;line-height:1.15;margin:0 0 7px}
body.mcs-page .mcs-card-head p{font:400 13px/1.45 Arial,sans-serif;color:#6b6b6b}
body.mcs-page .mcs-card-head>b{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:#f5f5f5;color:#222;font:400 26px/1 Arial,sans-serif}
body.mcs-page .mcs-fields{gap:22px 18px}
body.mcs-page .mcs .form-row{float:none!important;width:100%!important;min-width:0}
body.mcs-page .mcs .form-row label{font:500 12px/1.4 Arial,sans-serif!important;color:#333!important;letter-spacing:0!important;text-transform:none!important;margin-bottom:8px!important}
body.mcs-page .mcs input[type=text],body.mcs-page .mcs input[type=tel],body.mcs-page .mcs input[type=email],body.mcs-page .mcs textarea,body.mcs-page .mcs select{height:52px!important;padding:14px 16px!important;background:#f7f7f7!important;border:1px solid #e8e8e8!important;border-radius:14px!important;font:400 16px/1.4 Arial,sans-serif!important;box-shadow:none!important;color:#111!important}
body.mcs-page .mcs input:focus,body.mcs-page .mcs textarea:focus{border-color:#171717!important;background:white!important;outline:2px solid #171717!important;outline-offset:2px!important}
body.mcs-page .mcs input::placeholder{color:#858585!important}
body.mcs-page .mcs .select2-selection--single{height:52px!important;padding:14px 16px!important;border:1px solid #e8e8e8!important;border-radius:14px!important;background:#f7f7f7!important}
body.mcs-page .mcs .select2-selection__rendered{font:400 16px/1.4 Arial,sans-serif!important}
body.mcs-page .mcs-design-note{display:flex;align-items:center;gap:12px;margin:27px 0 0;padding:16px 18px;border-radius:16px;background:#f7f7f7;font:400 12px/1.6 Arial,sans-serif;color:#666}
body.mcs-page .mcs-design-note>span{font-size:22px;color:#222}
body.mcs-page #mcs-delivery .mcs-card-head>b{border:1px solid #222;background:#fff;transform:rotate(-12deg)}
body.mcs-page .mcs-address{grid-template-columns:1fr 1fr!important}
body.mcs-page .mcs-address .form-row-wide{grid-column:auto}
body.mcs-page .mcs-hint{font:400 12px/1.6 Arial,sans-serif;padding:14px 16px;margin:18px 0;background:#f7f7f7;color:#666}
body.mcs-page .ms-co-ship__list{gap:12px}
body.mcs-page .ms-co-ship__item{border-radius:20px!important;border:1px solid #e4e4e4}
body.mcs-page .ms-co-ship__label{padding:18px!important;gap:12px}
body.mcs-page .ms-co-ship__title,body.mcs-page .ms-co-pay__title{font:600 14px/1.4 Arial,sans-serif}
body.mcs-page .ms-co-ship__subtitle,body.mcs-page .ms-co-pay__subtitle{font:400 12px/1.4 Arial,sans-serif}
body.mcs-page .ms-co-ship__radio,body.mcs-page .ms-co-pay__radio{border-radius:50%;width:20px;height:20px}
body.mcs-page .ms-co-ship__radio:after,body.mcs-page .ms-co-pay__radio:after{border-radius:50%}
body.mcs-page .ms-co-ship__price{font:600 14px/1.3 Arial,sans-serif;white-space:nowrap}
body.mcs-page .ms-co-ship__extra{padding:0 18px 18px}
body.mcs-page .ms-co-ship__item:has(input:checked){background:#171717!important;color:#fff!important}
body.mcs-page .ms-co-ship__item:has(input:checked) .ms-co-ship__title,body.mcs-page .ms-co-ship__item:has(input:checked) .ms-co-ship__price{color:#fff!important}
body.mcs-page .mcs-retry{margin:16px 0 0;border:0;border-bottom:1px solid #aaa;background:white;color:#555;font:400 12px/1.5 Arial,sans-serif;cursor:pointer;padding:6px 0}
body.mcs-page #mcs-pay .mcs-card-head>b{background:#171717;color:white}
body.mcs-page .ms-co-pay{border-radius:18px!important;overflow:hidden}
body.mcs-page .ms-co-pay>label{padding:17px!important;min-height:66px}
body.mcs-page .ms-co-pay:has(input:checked){background:#f5f5f5!important;border-color:#171717!important;color:#171717!important;box-shadow:inset 0 0 0 1px #171717}
body.mcs-page .ms-co-pay:has(input:checked) .ms-co-pay__subtitle{color:#555!important}
body.mcs-page .ms-co-pay:has(input:checked) .ms-co-pay__title{color:#111!important}
body.mcs-page .ms-co-pay:has(input:checked) .ms-co-pay__radio{background:#171717!important;border-color:#171717!important}
body.mcs-page .ms-co-pay:has(input:checked) .ms-co-pay__radio:after{background:white!important}
body.mcs-page .mcs #payment .payment_box{color:#444!important;background:transparent!important;font:400 13px/1.6 Arial,sans-serif}
body.mcs-page .mcs #payment .payment_box p{font:inherit!important}
body.mcs-page .mcs-wizard .mcs-aside{position:sticky;top:92px;overflow:visible!important;gap:14px}
body.mcs-page .mcs-wizard .mcs-order{background:#171717!important;color:#fff!important;border:0!important;border-radius:28px!important;padding:26px!important;overflow:visible!important}
body.mcs-page .mcs-order:before{display:none!important}
body.mcs-page .mcs-order:after{content:"";position:relative!important;display:block!important;top:auto!important;left:auto!important;transform:none!important;border:0!important;border-radius:0!important;width:100%!important;height:22px!important;margin:24px 0 0;background:repeating-linear-gradient(90deg,#fff8 0 1px,transparent 1px 4px,#fff8 4px 6px,transparent 6px 9px,#fff8 9px 10px,transparent 10px 15px);opacity:.4}
body.mcs-page .mcs-order-head{padding:0 0 22px;border-color:#ffffff26;align-items:center}
body.mcs-page .mcs-order-head h2{font:500 20px/1.2 Arial,sans-serif!important;color:#fff!important;letter-spacing:-.03em;text-transform:none}
body.mcs-page .mcs-order-head a{font:400 11px/1.4 Arial,sans-serif;color:#ccc!important;letter-spacing:0;text-transform:none;border-color:#777}
body.mcs-page .mcs .woocommerce-checkout-review-order-table.ms-co-review{background:transparent!important;color:#fff!important;padding:0!important;border-radius:0!important}
body.mcs-page .mcs .ms-co-review__item{padding:23px 0!important;border-color:#ffffff20!important;gap:12px}
body.mcs-page .mcs .ms-co-review__thumb{width:64px!important;height:76px!important;border-radius:12px!important;background:#fff}
body.mcs-page .mcs .ms-co-review__thumb img{object-fit:contain!important}
body.mcs-page .mcs .ms-co-review__name{font:500 13px/1.5 Arial,sans-serif!important;color:white!important}
body.mcs-page .mcs .ms-co-review__meta{color:#bbb!important;font:400 11px/1.5 Arial,sans-serif}
body.mcs-page .mcs .ms-co-review__line{font:500 13px/1.5 Arial,sans-serif!important;color:#fff!important}
body.mcs-page .mcs .ms-co-review__totals{padding-top:18px;border-top:1px dashed #ffffff40!important}
body.mcs-page .mcs .ms-co-review__row{font:400 13px/1.5 Arial,sans-serif!important;color:#bbb!important;padding:7px 0}
body.mcs-page .mcs .ms-co-review__row bdi,body.mcs-page .mcs .ms-co-review__row .woocommerce-Price-amount{font-family:Arial,sans-serif!important;color:#fff!important}
body.mcs-page .mcs .ms-co-review__ship-change{color:#ddd!important;border-color:#777;font:400 10px/1.4 Arial,sans-serif;letter-spacing:0;text-transform:none}
body.mcs-page .mcs .ms-co-review__row.order-total{border-color:#ffffff30!important;padding-top:20px;margin-top:12px;color:#fff!important}
body.mcs-page .mcs .ms-co-review__row.order-total>*:first-child{font:400 13px/1.4 Arial,sans-serif;letter-spacing:0;text-transform:none}
body.mcs-page .mcs .ms-co-review__row.order-total bdi{font:500 32px/1.2 Arial,sans-serif!important;letter-spacing:-.05em}
body.mcs-page .mcs-coupon{padding:18px 0 0;margin-top:20px;border-color:#ffffff30}
body.mcs-page .mcs-coupon summary{font:400 12px/1.5 Arial,sans-serif;color:#ddd;letter-spacing:0;text-transform:none}
body.mcs-page .mcs-coupon summary:after{color:white}
body.mcs-page .mcs-coupon summary>span{display:none}
body.mcs-page .mcs-coupon-field{flex-wrap:wrap}
body.mcs-page .mcs-coupon-field input{flex-basis:130px}
body.mcs-page .mcs-coupon-field button{background:#fff;color:#171717;border-radius:12px;font:500 12px/1 Arial,sans-serif;letter-spacing:0;text-transform:none}
body.mcs-page #mcs-coupon-result,body.mcs-page .mcs-order-foot{color:#bbb;font:400 11px/1.6 Arial,sans-serif}
body.mcs-page .mcs-order-foot{margin:18px 0}
body.mcs-page .mcs-order .mcs-go-pay, body.mcs-page .mcs-btn.mcs-go-pay{display:none!important;background:white!important;color:#171717!important;border:0!important;border-radius:16px!important;min-height:54px;font:600 14px/1.3 Arial,sans-serif!important;text-transform:none;letter-spacing:0;justify-content:space-between;padding:17px 19px}
body.mcs-page .mcs-reassurance{border:1px solid #e9e9e9;border-radius:20px;padding:18px;color:#666;font:400 12px/1.5 Arial,sans-serif}
body.mcs-page .mcs-wizard .mcs-step-controls{border:0;padding:16px 3px!important}
body.mcs-page .mcs-step-caption{font:400 11px/1.4 Arial,sans-serif;letter-spacing:0;color:#777}
body.mcs-page .mcs-step-back{font:500 12px/1.3 Arial,sans-serif;letter-spacing:0;text-transform:none;min-height:42px}
body.mcs-page .mcs-step-error:not(:empty){border:1px solid #222;border-radius:12px;padding:12px;background:#fafafa}
body.mcs-page .mcs-live-status{font:400 11px/1.5 Arial,sans-serif;letter-spacing:0;color:#666}
body.mcs-page .mcs-gate{padding:0 0 40px;gap:0;border:1px solid #e5e5e5;border-radius:32px;overflow:hidden;margin-bottom:36px}
body.mcs-page .mcs-gate-art{border-radius:0;padding:40px;min-height:350px;background:#171717;position:relative;overflow:hidden}
body.mcs-page .mcs-gate-art:after{content:"";width:280px;height:280px;border:1px solid #ffffff25;position:absolute;right:-80px;bottom:-120px;border-radius:50%;box-shadow:0 0 0 35px #ffffff08,0 0 0 70px #ffffff05}
body.mcs-page .mcs-gate-art>strong{font:500 100px/1 Arial,sans-serif;letter-spacing:-.09em}
body.mcs-page .mcs-gate-copy{padding:40px;gap:16px}
body.mcs-page .mcs-gate-copy h2{font-size:38px;font-weight:500!important;line-height:1.1}
body.mcs-page .mcs-gate-copy p{font:400 14px/1.7 Arial,sans-serif;color:#666}
body.mcs-page .mcs-hero{grid-template-columns:1fr;padding:40px 0 30px}
body.mcs-page .mcs-hero-main h1{font-size:clamp(40px,5vw,64px);font-weight:500;line-height:1.05;max-width:800px}
body.mcs-page .mcs-hero-main p{font:400 14px/1.7 Arial,sans-serif;max-width:none}
body.mcs-page .mcs-hero-object{display:none}
body.mcs-page .mcs-gate{padding-bottom:0}
body.mcs-page .mcs-gate .mcs-btn,body.mcs-page .mcs-empty .mcs-btn{font:600 14px/1.4 Arial,sans-serif;letter-spacing:0;text-transform:none;border-radius:16px}
body.mcs-page .mcs-gate-perks span{font:400 10px/1.4 Arial,sans-serif;letter-spacing:0}
body.mcs-page .mcs-register{font:400 12px/1.6 Arial,sans-serif;margin-top:0}
body.mcs-page .mcs-bottom-note{font:400 12px/1.6 Arial,sans-serif}
body.mcs-page .mcs :focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(max-width:960px){
body.mcs-page .mcs-wizard .mcs-layout{grid-template-columns:minmax(0,1fr)!important;gap:14px;padding-bottom:115px!important}
body.mcs-page .mcs-design-intro{padding-top:26px}
body.mcs-page .mcs-design-intro p{display:none}
body.mcs-page .mcs-wizard .mcs-aside{position:fixed!important;top:auto!important;left:8px;right:8px;bottom:8px;z-index:80;max-height:85dvh;overflow:auto!important;overscroll-behavior:contain;background:#171717!important;padding:38px 16px 16px;border:0;border-radius:28px!important;visibility:hidden}
body.mcs-page .mcs-wizard.mcs-bag-open .mcs-aside{visibility:visible}
body.mcs-page .mcs-wizard .mcs-aside .mcs-order{padding:10px!important}
body.mcs-page .mcs-aside .mcs-reassurance{color:#ccc;border-color:#444}
body.mcs-page .mcs-aside .mcs-reassurance span{color:white}
body.mcs-page .mcs-fit-close{background:#fff;color:#111;width:36px;height:36px;top:10px;right:14px;z-index:5}
body.mcs-page .mcs-bag-toggle{border:1px solid #ddd;border-radius:16px;margin:0;padding:17px 18px;font:500 13px/1.4 Arial,sans-serif;letter-spacing:0;text-transform:none;min-height:54px}
body.mcs-page .mcs-bag-toggle .mcs-mobile-total{font:600 16px/1.3 Arial,sans-serif}
body.mcs-page .mcs-mobile-bar{display:flex!important;position:fixed!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;z-index:65!important;gap:16px;align-items:center;justify-content:space-between;padding:14px 20px calc(14px + env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid #eee;box-shadow:0 -5px 30px #00000008}
body.mcs-page .mcs-mobile-bar>span{font:400 11px/1.4 Arial,sans-serif;color:#666;flex:0 0 auto}
body.mcs-page .mcs-mobile-bar strong{display:block;color:#111;font:600 18px/1.4 Arial,sans-serif}
body.mcs-page .mcs-mobile-bar .mcs-go-pay{display:flex!important;align-items:center;justify-content:space-between;gap:16px;max-width:360px;flex:1;min-height:50px;background:#171717!important;color:#fff!important;border:0;border-radius:14px;padding:14px 18px;font:600 13px/1.4 Arial,sans-serif;letter-spacing:0;text-transform:none}
}
@media(max-width:600px){
body.mcs-page #mcs-chrome{height:60px;padding:0 18px}
body.mcs-page .mcs-shell{padding:0 16px!important}
body.mcs-page .mcs-design-intro{padding:25px 2px 22px}
body.mcs-page .mcs-design-intro h1{font-size:33px}
body.mcs-page .mcs-route{gap:6px;padding-bottom:16px!important}
body.mcs-page .mcs-route-item{padding:12px 9px;gap:6px;border-radius:14px}
body.mcs-page .mcs-route-item>span{width:23px;height:23px;font-size:9px}
body.mcs-page .mcs-route-item>strong{font-size:10px;white-space:normal}
body.mcs-page .mcs-route-item>b{display:none}
body.mcs-page .mcs-wizard .mcs-main>.mcs-card{padding:22px 18px!important;border-radius:24px!important;min-height:0}
body.mcs-page .mcs-wizard .mcs-card>.mcs-card-head{gap:11px;padding-bottom:20px!important;margin-bottom:22px!important}
body.mcs-page .mcs-card-head>span{font-size:37px!important}
body.mcs-page .mcs-card-head h2{font-size:23px!important}
body.mcs-page .mcs-card-head p{font-size:12px;max-width:220px}
body.mcs-page .mcs-card-head>b{width:32px;height:32px;flex-basis:32px;font-size:21px}
body.mcs-page .mcs-fields{grid-template-columns:1fr!important;gap:17px}
body.mcs-page .mcs-design-note{margin-top:22px;padding:13px;font-size:11px}
body.mcs-page .ms-co-ship__label{padding:15px 12px!important;gap:9px}
body.mcs-page .ms-co-ship__icon{width:30px;height:30px}
body.mcs-page .ms-co-ship__title{font-size:13px}
body.mcs-page .ms-co-ship__subtitle{font-size:11px}
body.mcs-page .ms-co-ship__price{font-size:12px}
body.mcs-page .ms-co-pay>label{padding:15px 12px!important;gap:10px}
body.mcs-page .mcs-gate{grid-template-columns:1fr;border-radius:26px}
body.mcs-page .mcs-gate-art{min-height:190px;padding:24px;gap:20px}
body.mcs-page .mcs-gate-art>strong{font-size:70px}
body.mcs-page .mcs-gate-art>div{display:none}
body.mcs-page .mcs-gate-copy{padding:26px 22px}
body.mcs-page .mcs-gate-copy h2{font-size:32px}
body.mcs-page .mcs-hero{padding:24px 0}
body.mcs-page .mcs-hero-main h1{font-size:40px}
body.mcs-page .mcs-topline>span{display:none}
}


/* Finishing checks: neutralise the theme tab bar and default input type. */
body.mcs-page .mobile-menu{display:none!important}
body.mcs-page .mcs #billing_city{display:block;width:100%;height:52px!important;padding:14px 16px!important;background:#f7f7f7!important;border:1px solid #e8e8e8!important;border-radius:14px!important;font:400 16px/1.4 Arial,sans-serif!important;box-shadow:none!important;color:#111!important}
body.mcs-page .mcs #billing_city:focus{background:white!important;border-color:#171717!important}
body.mcs-page .mcs-address #billing_city_field{grid-column:1/-1}
body.mcs-page .mcs-route-item.is-complete>span{background:#171717!important;border-color:#171717!important;color:transparent!important}
body.mcs-page .mcs-route-item.is-complete>span:after{color:white!important;font:500 12px/1 Arial,sans-serif!important}
body.mcs-page .ms-co-ship__item:has(input:checked) .ms-co-ship__icon{background:#fff!important;filter:grayscale(1)!important;color:#111}
body.mcs-page .ms-co-ship__radio,body.mcs-page .ms-co-pay__radio{position:relative!important}
body.mcs-page .ms-co-ship__radio:after,body.mcs-page .ms-co-pay__radio:after{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;margin:0!important}
body.mcs-page .mcs-reassurance a{color:inherit;text-decoration:underline;text-underline-offset:3px}
body.mcs-page .mcs #payment,body.mcs-page .mcs #payment .wc_payment_methods{border:0!important;padding:0!important;background:transparent!important}
body.mcs-page .mcs .woocommerce-terms-and-conditions-wrapper{font:400 12px/1.6 Arial,sans-serif;color:#555}
body.mcs-page .mcs .woocommerce-terms-and-conditions-wrapper p{font:inherit}
body.mcs-page .mcs .mcs-design-intro em{display:inline!important}
body.mcs-page .mcs-wizard .mcs-step-controls{scroll-margin-bottom:110px}
@media(min-width:961px){body.mcs-page .mcs-design-intro{padding-top:28px;padding-bottom:24px}body.mcs-page .mcs-design-intro h1{font-size:44px}}


/* Real carrier logos in delivery section */
body.mcs-page .ms-co-ship__icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  padding: 0 !important;
  background: #ffffff !important;
  border: 1px solid #ebebeb !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

body.mcs-page .ms-co-ship__icon img,
body.mcs-page .ms-co-ship__icon svg {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 0 !important;
}

body.mcs-page .ms-co-carrier-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

body.mcs-page .ms-co-ship__item:has(input:checked) .ms-co-ship__icon {
  background: #ffffff !important;
  filter: none !important;
  border-color: #111111 !important;
  box-shadow: 0 0 0 1px #111111 !important;
}

body.mcs-page .ms-co-ship__item.is-selected .ms-co-ship__icon {
  background: #ffffff !important;
  filter: none !important;
  border-color: #111111 !important;
  box-shadow: 0 0 0 1px #111111 !important;
}

/* -------------------------------------------------------------
   Hide raw orphan plugin table row "Пункт выдачи яндекса"
   ------------------------------------------------------------- */
.wc-yandex-pickup-points,
tr.wc-yandex-pickup-points,
.ms-co-delivery__methods .wc-yandex-pickup-points,
#ms-co-delivery-methods .wc-yandex-pickup-points,
.wc-yandex-pickup-points th,
#ms-co-delivery-methods > th,
.ms-co-delivery__methods > th {
  display: none !important;
}

/* Ensure button "ВЫБРАТЬ ПУНКТ ВЫДАЧИ" is beautifully styled inside the card */
body.mcs-page .wc-yandex-choose-pickup-point,
body.mcs-page .ms-co-ship__extra button.wc-yandex-choose-pickup-point,
body.mcs-page .ms-co-ship__extra .open-pvz-btn a,
body.mcs-page .ms-co-ship__extra button.wc-russian-post-choose-delivery-point {
  width: 100% !important;
  display: block !important;
  margin-top: 10px !important;
  padding: 13px 20px !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid #111111 !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  text-align: center !important;
  transition: background 0.2s, color 0.2s !important;
}

body.mcs-page .wc-yandex-choose-pickup-point:hover,
body.mcs-page .ms-co-ship__extra button.wc-yandex-choose-pickup-point:hover,
body.mcs-page .ms-co-ship__extra .open-pvz-btn a:hover,
body.mcs-page .ms-co-ship__extra button.wc-russian-post-choose-delivery-point:hover {
  background: #111111 !important;
  color: #ffffff !important;
}

/* Selected address text styling */
body.mcs-page .wc-yandex-delivery-chosen-address,
body.mcs-page .cdek-office-info,
body.mcs-page .wc-russian-post-chosen-address {
  margin: 10px 0 0 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: #555555 !important;
  font-weight: 500 !important;
}

/* The card when checked */
body.mcs-page .ms-co-ship__item:has(input:checked) .wc-yandex-delivery-chosen-address,
body.mcs-page .ms-co-ship__item:has(input:checked) .cdek-office-info,
body.mcs-page .ms-co-ship__item:has(input:checked) .wc-russian-post-chosen-address {
  color: #e5e5e5 !important;
}

body.mcs-page .ms-co-ship__item:has(input:checked) .wc-yandex-choose-pickup-point,
body.mcs-page .ms-co-ship__item:has(input:checked) .ms-co-ship__extra button.wc-yandex-choose-pickup-point,
body.mcs-page .ms-co-ship__item:has(input:checked) .ms-co-ship__extra .open-pvz-btn a,
body.mcs-page .ms-co-ship__item:has(input:checked) .ms-co-ship__extra button.wc-russian-post-choose-delivery-point {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: #ffffff !important;
}

/* ==========================================================================
   PREMIUM MONOCHROME REDESIGN: #customer_details (Step 01: Контакты)
   ========================================================================== */

body.mcs-page #customer_details {
  position: relative !important;
  background: #ffffff !important;
  border: 1px solid #18181b !important;
  border-radius: 28px !important;
  padding: 38px 36px 34px !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  isolation: isolate;
  overflow: hidden !important;
}

/* Architectural top bar */
body.mcs-page #customer_details::before, body.mcs-page #customer_details:before { display: none !important; content: none !important; height: 0 !important; }

/* Card Header — Editorial high-fashion monochrome */
body.mcs-page #customer_details .mcs-card-head {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  padding-bottom: 24px !important;
  margin-bottom: 30px !important;
  border-bottom: 1px solid #ededed !important;
  position: relative !important;
}

/* Step Badge "01" */
body.mcs-page #customer_details .mcs-card-head > span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 52px !important;
  height: 52px !important;
  flex: 0 0 52px !important;
  border-radius: 16px !important;
  background: #111111 !important;
  color: #ffffff !important;
  font: 700 18px/1 "Helvetica Neue", -apple-system, BlinkMacSystemFont, Arial, sans-serif !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14) !important;
}

body.mcs-page #customer_details .mcs-card-head h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.04em !important;
  color: #111111 !important;
  margin: 0 0 4px !important;
}

body.mcs-page #customer_details .mcs-card-head p {
  font-size: 13px !important;
  color: #71717a !important;
  font-weight: 400 !important;
  margin: 0 !important;
  letter-spacing: -0.01em !important;
}

/* Right decorative glyph */
body.mcs-page #customer_details .mcs-card-head > b {
  margin-left: auto !important;
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;
  border-radius: 50% !important;
  background: #f4f4f5 !important;
  border: 1px solid #e4e4e7 !important;
  color: #18181b !important;
  font: 400 22px/1 Georgia, serif !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, color 0.3s ease !important;
}

body.mcs-page #customer_details:hover .mcs-card-head > b {
  background: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;
  transform: rotate(90deg) !important;
}

/* Form fields layout */
body.mcs-page #customer_details .mcs-fields {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 22px 24px !important;
}

/* Field styling with float label feel and contrast */
body.mcs-page #customer_details .form-row {
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  float: none !important;
  width: 100% !important;
}

body.mcs-page #customer_details .form-row label {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 4px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  color: #18181b !important;
  margin-bottom: 8px !important;
}

body.mcs-page #customer_details .form-row label .required {
  color: #a1a1aa !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  border: 0 !important;
  margin-left: 4px !important;
}

/* Inputs wrapper */
body.mcs-page #customer_details .woocommerce-input-wrapper {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}

/* Inputs in monochrome precision */
body.mcs-page #customer_details input[type="text"],
body.mcs-page #customer_details input[type="tel"],
body.mcs-page #customer_details input[type="email"],
body.mcs-page #customer_details .input-text {
  width: 100% !important;
  height: 54px !important;
  padding: 14px 18px !important;
  background: #fbfbfb !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 14px !important;
  font: 500 15px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: #111111 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) inset !important;
  outline: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.mcs-page #customer_details input[type="text"]::placeholder,
body.mcs-page #customer_details input[type="tel"]::placeholder,
body.mcs-page #customer_details input[type="email"]::placeholder,
body.mcs-page #customer_details .input-text::placeholder {
  color: #a1a1aa !important;
  font-weight: 400 !important;
}

/* Active focus state: bold crisp black border */
body.mcs-page #customer_details input[type="text"]:focus,
body.mcs-page #customer_details input[type="tel"]:focus,
body.mcs-page #customer_details input[type="email"]:focus,
body.mcs-page #customer_details .input-text:focus {
  background: #ffffff !important;
  border-color: #111111 !important;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.09) !important;
  color: #000000 !important;
}

/* Hover state */
body.mcs-page #customer_details input[type="text"]:hover:not(:focus),
body.mcs-page #customer_details input[type="tel"]:hover:not(:focus),
body.mcs-page #customer_details input[type="email"]:hover:not(:focus),
body.mcs-page #customer_details .input-text:hover:not(:focus) {
  border-color: #a1a1aa !important;
  background: #ffffff !important;
}

/* Bottom note — high aesthetic monochrome pill */
body.mcs-page #customer_details .mcs-design-note {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin: 30px 0 0 !important;
  padding: 18px 22px !important;
  background: #f8f8fa !important;
  border: 1px dashed #d4d4d8 !important;
  border-radius: 18px !important;
  color: #3f3f46 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
}

body.mcs-page #customer_details .mcs-design-note > span {
  display: grid !important;
  place-items: center !important;
  width: 36px !important;
  height: 36px !important;
  flex: 0 0 36px !important;
  border-radius: 50% !important;
  background: #111111 !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12) !important;
}

@media (max-width: 640px) {
  body.mcs-page #customer_details {
    padding: 24px 18px !important;
    border-radius: 22px !important;
  }
  body.mcs-page #customer_details .mcs-fields {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  body.mcs-page #customer_details .mcs-card-head {
    gap: 14px !important;
    padding-bottom: 18px !important;
    margin-bottom: 22px !important;
  }
  body.mcs-page #customer_details .mcs-card-head > span {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    font-size: 16px !important;
  }
  body.mcs-page #customer_details .mcs-card-head h2 {
    font-size: 22px !important;
  }
  body.mcs-page #customer_details .mcs-design-note {
    padding: 14px 16px !important;
    font-size: 12px !important;
    gap: 12px !important;
  }
  body.mcs-page #customer_details .mcs-design-note > span {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
    font-size: 14px !important;
  }
}

/* ==========================================================================
   PREMIUM MONOCHROME REDESIGN: #mcs-delivery (Step 02: Доставка)
   ========================================================================== */

body.mcs-page #mcs-delivery {
  position: relative !important;
  background: #ffffff !important;
  border: 1px solid #18181b !important;
  border-radius: 28px !important;
  padding: 38px 36px 34px !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  isolation: isolate;
  overflow: visible !important;
}

body.mcs-page #mcs-delivery::before,
body.mcs-page #mcs-delivery:before,
body.mcs-page .mcs-card::before,
body.mcs-page .mcs-card:before {
  display: none !important;
  content: none !important;
  height: 0 !important;
  border: 0 !important;
}

/* Card Header — Editorial high-fashion monochrome */
body.mcs-page #mcs-delivery .mcs-card-head {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  padding-bottom: 24px !important;
  margin-bottom: 28px !important;
  border-bottom: 1px solid #ededed !important;
  position: relative !important;
}

/* Step Badge "02" */
body.mcs-page #mcs-delivery .mcs-card-head > span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 52px !important;
  height: 52px !important;
  flex: 0 0 52px !important;
  border-radius: 16px !important;
  background: #111111 !important;
  color: #ffffff !important;
  font: 700 18px/1 "Helvetica Neue", -apple-system, BlinkMacSystemFont, Arial, sans-serif !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14) !important;
}

body.mcs-page #mcs-delivery .mcs-card-head h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.04em !important;
  color: #111111 !important;
  margin: 0 0 4px !important;
}

body.mcs-page #mcs-delivery .mcs-card-head p {
  font-size: 13.5px !important;
  color: #71717a !important;
  font-weight: 400 !important;
  margin: 0 !important;
  letter-spacing: -0.01em !important;
}

/* Right decorative glyph */
body.mcs-page #mcs-delivery .mcs-card-head > b {
  margin-left: auto !important;
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;
  border-radius: 50% !important;
  background: #f4f4f5 !important;
  border: 1px solid #e4e4e7 !important;
  color: #18181b !important;
  font: 400 20px/1 Georgia, serif !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, color 0.3s ease !important;
}

body.mcs-page #mcs-delivery:hover .mcs-card-head > b {
  background: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;
  transform: rotate(45deg) !important;
}

/* Hide country field */
body.mcs-page #mcs-delivery #billing_country_field {
  display: none !important;
}

/* City input styling */
body.mcs-page #mcs-delivery .mcs-address {
  display: block !important;
  position: relative !important;
}

body.mcs-page #mcs-delivery #billing_city_field {
  margin: 0 !important;
  position: relative !important;
  width: 100% !important;
}

body.mcs-page #mcs-delivery #billing_city_field label {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 4px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  color: #18181b !important;
  margin-bottom: 8px !important;
}

body.mcs-page #mcs-delivery #billing_city_field label .required {
  color: #a1a1aa !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  border: 0 !important;
}

body.mcs-page #mcs-delivery #billing_city {
  width: 100% !important;
  height: 52px !important;
  padding: 13px 18px !important;
  background: #fafafa !important;
  border: 1.5px solid #e4e4e7 !important;
  border-radius: 14px !important;
  font: 500 15px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: #111111 !important;
  outline: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.mcs-page #mcs-delivery #billing_city:focus {
  background: #ffffff !important;
  border-color: #111111 !important;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08) !important;
  color: #000000 !important;
}

body.mcs-page #mcs-delivery #billing_city:hover:not(:focus) {
  border-color: #a1a1aa !important;
  background: #ffffff !important;
}

/* City dropdown suggestions */
body.mcs-page #mcs-cities {
  background: #ffffff !important;
  border: 1px solid #18181b !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.15) !important;
  padding: 6px !important;
  z-index: 100 !important;
}

body.mcs-page #mcs-cities [role="option"] {
  padding: 10px 14px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  color: #111111 !important;
  font-weight: 500 !important;
  transition: background 0.15s ease !important;
}

body.mcs-page #mcs-cities [role="option"]:hover,
body.mcs-page #mcs-cities [role="option"][aria-selected="true"] {
  background: #f4f4f5 !important;
  color: #000000 !important;
  font-weight: 600 !important;
}

/* Hint Banner — rounded, friendly, black & white, no emoji */
body.mcs-page #mcs-delivery .mcs-hint {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 20px 0 24px !important;
  padding: 12px 18px 12px 12px !important;
  background: #fafafa !important;
  border: none !important;
  border-radius: 999px !important;
  color: #111 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
  position: relative !important;
  box-shadow: 0 1px 2px rgba(17,17,17,.05), 0 6px 16px rgba(17,17,17,.06) !important;
  transition: box-shadow .2s ease, transform .2s ease !important;
}

body.mcs-page #mcs-delivery .mcs-hint:hover {
  box-shadow: 0 2px 4px rgba(17,17,17,.06), 0 10px 22px rgba(17,17,17,.09) !important;
  transform: translateY(-1px) !important;
}

/* icon badge — soft squircle, friendly rounded corners instead of a sharp circle or an emoji pin */
body.mcs-page #mcs-delivery .mcs-hint::before {
  content: '✳︎' !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 10px !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

/* Shipping methods container */
body.mcs-page #mcs-delivery .ms-co-delivery__methods {
  margin-top: 10px !important;
}

body.mcs-page #mcs-delivery .ms-co-ship__list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

/* Hide native radio input completely to eliminate broken crescent visual glitches */
body.mcs-page #mcs-delivery .ms-co-ship__item > input.shipping_method {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  pointer-events: none !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* Shipping method card */
body.mcs-page #mcs-delivery .ms-co-ship__item {
  background: #ffffff !important;
  border: 1.5px solid #e4e4e7 !important;
  border-radius: 18px !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  overflow: hidden !important;
  position: relative !important;
}

body.mcs-page #mcs-delivery .ms-co-ship__item:hover:not(.is-selected):not(:has(input:checked)) {
  border-color: #a1a1aa !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.06) !important;
}

/* Selected state: Pure luxury high-contrast white card with deep dark frame */
body.mcs-page #mcs-delivery .ms-co-ship__item:has(input:checked),
body.mcs-page #mcs-delivery .ms-co-ship__item.is-selected {
  background: #ffffff !important;
  border: 2px solid #111111 !important;
  color: #111111 !important;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-1px) !important;
}

/* Label content inside shipping card */
body.mcs-page #mcs-delivery .ms-co-ship__label {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 18px 20px !important;
  cursor: pointer !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Radio / Checkbox button styling */
body.mcs-page .ms-co-ship__radio,
body.mcs-page #mcs-delivery .ms-co-ship__radio {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  border-radius: 50% !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  border: 1.5px solid #d4d4d8 !important;
}

/* Unselected: clean white circle */
body.mcs-page .ms-co-ship__item:not(.is-selected):not(:has(input:checked)) .ms-co-ship__radio,
body.mcs-page #mcs-delivery .ms-co-ship__item:not(.is-selected):not(:has(input:checked)) .ms-co-ship__radio {
  border: 1.5px solid #d4d4d8 !important;
  background: #ffffff !important;
}

body.mcs-page .ms-co-ship__item:not(.is-selected):not(:has(input:checked)):hover .ms-co-ship__radio,
body.mcs-page #mcs-delivery .ms-co-ship__item:not(.is-selected):not(:has(input:checked)):hover .ms-co-ship__radio {
  border-color: #111111 !important;
}

/* Selected: solid black circle with centered white checkmark */
body.mcs-page .ms-co-ship__item:has(input:checked) .ms-co-ship__radio,
body.mcs-page .ms-co-ship__item.is-selected .ms-co-ship__radio,
body.mcs-page #mcs-delivery .ms-co-ship__item:has(input:checked) .ms-co-ship__radio,
body.mcs-page #mcs-delivery .ms-co-ship__item.is-selected .ms-co-ship__radio {
  border: 2px solid #111111 !important;
  background: #111111 !important;
}

/* Remove ::after pseudo-elements completely to prevent any crescent or displaced dot */
body.mcs-page .ms-co-ship__radio::after,
body.mcs-page .ms-co-ship__radio:after,
body.mcs-page #mcs-delivery .ms-co-ship__radio::after,
body.mcs-page #mcs-delivery .ms-co-ship__radio:after,
body.mcs-page .ms-co-ship__item:has(input:checked) .ms-co-ship__radio::after,
body.mcs-page .ms-co-ship__item:has(input:checked) .ms-co-ship__radio:after,
body.mcs-page #mcs-delivery .ms-co-ship__item:has(input:checked) .ms-co-ship__radio::after,
body.mcs-page #mcs-delivery .ms-co-ship__item:has(input:checked) .ms-co-ship__radio:after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}

/* Unselected checkmark is hidden */
body.mcs-page .ms-co-ship__item:not(.is-selected):not(:has(input:checked)) .ms-co-ship__check,
body.mcs-page #mcs-delivery .ms-co-ship__item:not(.is-selected):not(:has(input:checked)) .ms-co-ship__check {
  display: none !important;
}

/* Selected checkmark is displayed, centered, crisp white */
body.mcs-page .ms-co-ship__item:has(input:checked) .ms-co-ship__check,
body.mcs-page .ms-co-ship__item.is-selected .ms-co-ship__check,
body.mcs-page #mcs-delivery .ms-co-ship__item:has(input:checked) .ms-co-ship__check,
body.mcs-page #mcs-delivery .ms-co-ship__item.is-selected .ms-co-ship__check {
  display: block !important;
  width: 12px !important;
  height: 10px !important;
  margin: auto !important;
}

body.mcs-page .ms-co-ship__item:has(input:checked) .ms-co-ship__check path,
body.mcs-page .ms-co-ship__item.is-selected .ms-co-ship__check path,
body.mcs-page #mcs-delivery .ms-co-ship__item:has(input:checked) .ms-co-ship__check path,
body.mcs-page #mcs-delivery .ms-co-ship__item.is-selected .ms-co-ship__check path {
  stroke: #ffffff !important;
  stroke-width: 2 !important;
  fill: none !important;
}

/* Carrier icon in delivery section */
body.mcs-page #mcs-delivery .ms-co-ship__icon {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  padding: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e4e4e7 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}

body.mcs-page #mcs-delivery .ms-co-ship__item:has(input:checked) .ms-co-ship__icon,
body.mcs-page #mcs-delivery .ms-co-ship__item.is-selected .ms-co-ship__icon {
  border-color: #111111 !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
}

body.mcs-page #mcs-delivery .ms-co-ship__icon img,
body.mcs-page #mcs-delivery .ms-co-ship__icon svg {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
}

/* Titles and subtitles */
body.mcs-page #mcs-delivery .ms-co-ship__body {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

body.mcs-page #mcs-delivery .ms-co-ship__title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #111111 !important;
  letter-spacing: -0.01em !important;
}

body.mcs-page #mcs-delivery .ms-co-ship__subtitle {
  font-size: 12.5px !important;
  line-height: 1.4 !important;
  color: #71717a !important;
  font-weight: 400 !important;
}

/* Price */
body.mcs-page #mcs-delivery .ms-co-ship__price {
  margin-left: auto !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #111111 !important;
  letter-spacing: -0.02em !important;
  white-space: nowrap !important;
}

/* Extra action area: buttons and chosen address */
body.mcs-page #mcs-delivery .ms-co-ship__extra {
  padding: 0 20px 18px 20px !important;
  border-top: 1px solid #f0f0f2 !important;
  margin-top: -2px !important;
  padding-top: 14px !important;
  box-sizing: border-box !important;
}

/* Unified luxury monochrome buttons for ALL carriers (CDEK, Почта, Яндекс) */
body.mcs-page #mcs-delivery .ms-co-ship__extra button,
body.mcs-page #mcs-delivery .ms-co-ship__extra .button,
body.mcs-page #mcs-delivery .ms-co-ship__extra .open-pvz-btn a,
body.mcs-page #mcs-delivery .ms-co-ship__extra button.wc-yandex-choose-pickup-point,
body.mcs-page #mcs-delivery .ms-co-ship__extra button.wc-russian-post-choose-delivery-point {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 44px !important;
  padding: 11px 24px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1px !important;
  text-transform: none !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  outline: none !important;
  text-decoration: none !important;
  text-align: center !important;
  margin: 6px 0 !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
  width: auto !important;
  max-width: 100% !important;
  background: #111111 !important;
  color: #ffffff !important;
  border: 1px solid #111111 !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
}

body.mcs-page #mcs-delivery .ms-co-ship__extra button:hover,
body.mcs-page #mcs-delivery .ms-co-ship__extra .button:hover,
body.mcs-page #mcs-delivery .ms-co-ship__extra .open-pvz-btn a:hover,
body.mcs-page #mcs-delivery .ms-co-ship__extra button.wc-yandex-choose-pickup-point:hover,
body.mcs-page #mcs-delivery .ms-co-ship__extra button.wc-russian-post-choose-delivery-point:hover {
  background: #27272a !important;
  border-color: #27272a !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16) !important;
}

body.mcs-page #mcs-delivery .ms-co-ship__extra .open-pvz-btn a {
  color: #ffffff !important;
  text-decoration: none !important;
  font: inherit !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Chosen address displays */
body.mcs-page #mcs-delivery .cdek-office-info,
body.mcs-page #mcs-delivery .wc-yandex-delivery-chosen-address,
body.mcs-page #mcs-delivery .wc-russian-post-chosen-address,
body.mcs-page #mcs-delivery .wc-russian-post-method-delivery-time,
body.mcs-page #mcs-delivery .wc-russian-post-method-description {
  border-radius: 12px !important;
  padding: 11px 15px !important;
  margin: 8px 0 10px 0 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
  box-sizing: border-box !important;
  background: #f4f4f6 !important;
  border: 1px solid #e4e4e7 !important;
  color: #18181b !important;
}

body.mcs-page #mcs-delivery .cdek-office-info strong,
body.mcs-page #mcs-delivery .wc-yandex-delivery-chosen-address strong,
body.mcs-page #mcs-delivery .wc-russian-post-chosen-address strong {
  color: #000000 !important;
  font-weight: 700 !important;
}

/* Auto-delivery live caption */
body.mcs-page #mcs-delivery .mcs-auto-delivery {
  font-size: 12px !important;
  color: #a1a1aa !important;
  text-align: center !important;
  margin: 20px 0 0 !important;
  letter-spacing: 0.3px !important;
}

/* ==========================================================================
   STEP CONTROLS NAVIGATION (Bottom of step cards)
   ========================================================================== */

body.mcs-page .mcs-wizard .mcs-step-controls {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  padding: 24px 0 10px !important;
  border-top: 0 !important;
  margin-top: 20px !important;
  width: 100% !important;
}

body.mcs-page .mcs-step-buttons {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  width: 100% !important;
}

/* Back button: Ghost monochrome pill */
body.mcs-page .mcs-step-back {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 13px 24px !important;
  border: 1.5px solid #18181b !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #18181b !important;
  font: 600 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

body.mcs-page .mcs-step-back:hover {
  background: #18181b !important;
  color: #ffffff !important;
  transform: translateX(-2px) !important;
}

body.mcs-page .mcs-step-back[hidden] {
  display: none !important;
}

/* Next button: Solid black CTA pill */
body.mcs-page .mcs-wizard .mcs-step-next {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 15px 32px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #111111 !important;
  color: #ffffff !important;
  font: 700 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  cursor: pointer !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin-left: auto !important;
}

body.mcs-page .mcs-wizard .mcs-step-next:hover {
  background: #000000 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25) !important;
}

body.mcs-page .mcs-wizard .mcs-step-next[hidden] {
  display: none !important;
}

body.mcs-page .mcs-step-caption {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  color: #71717a !important;
}

body.mcs-page .mcs-step-error:not(:empty) {
  background: #18181b !important;
  color: #ffffff !important;
  border: 1px solid #18181b !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
}

/* ==========================================================================
   MOBILE ADAPTATIONS (<= 640px)
   ========================================================================== */

@media (max-width: 640px) {
  body.mcs-page #mcs-delivery {
    padding: 24px 18px !important;
    border-radius: 22px !important;
  }
  body.mcs-page #mcs-delivery .mcs-card-head {
    gap: 14px !important;
    padding-bottom: 18px !important;
    margin-bottom: 22px !important;
  }
  body.mcs-page #mcs-delivery .mcs-card-head > span {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    font-size: 16px !important;
  }
  body.mcs-page #mcs-delivery .mcs-card-head h2 {
    font-size: 22px !important;
  }
  body.mcs-page #mcs-delivery .mcs-hint {
    padding: 13px 15px !important;
    font-size: 12px !important;
  }
  body.mcs-page #mcs-delivery .ms-co-ship__label {
    padding: 16px 14px !important;
    gap: 12px !important;
  }
  body.mcs-page #mcs-delivery .ms-co-ship__icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }
  body.mcs-page #mcs-delivery .ms-co-ship__icon img,
  body.mcs-page #mcs-delivery .ms-co-ship__icon svg {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
  }
  body.mcs-page #mcs-delivery .ms-co-ship__title {
    font-size: 14px !important;
  }
  body.mcs-page #mcs-delivery .ms-co-ship__price {
    font-size: 14px !important;
  }
  body.mcs-page #mcs-delivery .ms-co-ship__extra {
    padding: 0 14px 16px 14px !important;
  }
  body.mcs-page #mcs-delivery .ms-co-ship__extra button,
  body.mcs-page #mcs-delivery .ms-co-ship__extra .button,
  body.mcs-page #mcs-delivery .ms-co-ship__extra .open-pvz-btn a {
    width: 100% !important;
    min-height: 44px !important;
    font-size: 13px !important;
  }
  body.mcs-page .mcs-step-buttons {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  body.mcs-page .mcs-step-back {
    order: 2 !important;
    width: 100% !important;
    justify-content: center !important;
  }
  body.mcs-page .mcs-wizard .mcs-step-next {
    order: 1 !important;
    width: 100% !important;
    justify-content: center !important;
    margin-left: 0 !important;
  }
  body.mcs-page .mcs-step-caption {
    order: 3 !important;
    width: 100% !important;
    text-align: center !important;
  }
}


/* Explicit wrapper reset for CDEK */
body.mcs-page .open-pvz-btn,
body.mcs-page .ms-co-ship__extra .open-pvz-btn,
body.mcs-page #mcs-delivery .ms-co-ship__extra .open-pvz-btn {
  all: unset !important;
  display: inline-block !important;
  width: auto !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.mcs-page .open-pvz-btn:hover,
body.mcs-page .ms-co-ship__extra .open-pvz-btn:hover,
body.mcs-page #mcs-delivery .ms-co-ship__extra .open-pvz-btn:hover {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
