/* Atlas WooCommerce presentation layer. Visual only: no gateway/payment logic overrides. */
:root{--aw-bg:#faf7f2;--aw-surface:#fff;--aw-ink:#221a5e;--aw-text:#171717;--aw-muted:#777;--aw-line:#e7e1dc;--aw-purple:#6050dc;--aw-soft:#f4f0fb;--aw-green:#15966f}
body.woocommerce-page{background:var(--aw-bg)}
.woocommerce-page main,.woocommerce-page .wp-site-blocks main{color:var(--aw-text)}
.woocommerce-page .woocommerce,.woocommerce-page .wc-block-cart,.woocommerce-page .wc-block-checkout,.woocommerce-page .wc-block-components-main{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.woocommerce-page .wp-block-post-title,.woocommerce-page .woocommerce-products-header__title,.woocommerce-page .product_title{color:var(--aw-ink);font-weight:800;letter-spacing:-.04em}
/* Product */
.woocommerce-page div.product{max-width:1120px;margin:48px auto 80px;padding:0 24px;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);gap:56px;align-items:start}
.woocommerce-page div.product div.images,.woocommerce-page div.product div.summary{float:none;width:auto;margin:0}
.woocommerce-page div.product div.images{background:var(--aw-surface);border:1px solid var(--aw-line);border-radius:26px;padding:24px;box-shadow:0 18px 50px rgba(34,26,94,.05)}
.woocommerce-page div.product div.summary{background:var(--aw-surface);border:1px solid var(--aw-line);border-radius:26px;padding:30px;box-shadow:0 18px 50px rgba(34,26,94,.05)}
.woocommerce-page div.product .product_title{font-size:38px;line-height:1.08;margin:0 0 12px}
.woocommerce-page div.product p.price,.woocommerce-page div.product span.price{color:var(--aw-purple);font-size:28px;font-weight:800}
.woocommerce-page div.product .woocommerce-product-details__short-description{color:var(--aw-muted);line-height:1.75}
.woocommerce-page div.product form.cart{display:flex;gap:12px;align-items:center;margin-top:24px}
.woocommerce-page div.product form.cart .quantity .qty{height:52px;border:1px solid var(--aw-line);border-radius:14px;background:#fff}
.woocommerce-page .button,.woocommerce-page button.button,.woocommerce-page input.button,.woocommerce-page a.button{border-radius:999px!important;min-height:50px;padding:13px 22px!important;background:var(--aw-purple)!important;color:#fff!important;border:0!important;font-weight:700!important;box-shadow:none!important}
.woocommerce-page .button:hover,.woocommerce-page button.button:hover{filter:brightness(1.04)}
/* Cart blocks */
.woocommerce-page .wc-block-cart{max-width:1120px;margin:48px auto 90px!important;padding:0 24px;gap:32px}
.woocommerce-page .wc-block-cart__main,.woocommerce-page .wc-block-cart__sidebar{background:var(--aw-surface);border:1px solid var(--aw-line);border-radius:24px;padding:24px!important;box-shadow:0 16px 44px rgba(34,26,94,.045)}
.woocommerce-page .wc-block-cart-items{border:0!important}
.woocommerce-page .wc-block-cart-items__row{border-bottom:1px solid var(--aw-line)!important;padding:18px 0!important}
.woocommerce-page .wc-block-cart-item__image img{border-radius:14px}
.woocommerce-page .wc-block-cart-item__product .wc-block-components-product-name{color:var(--aw-ink);font-weight:700;font-size:17px}
.woocommerce-page .wc-block-cart__totals-title{color:var(--aw-ink);font-size:20px!important;font-weight:800!important;text-transform:none!important}
.woocommerce-page .wc-block-cart__submit-button{border-radius:999px!important;background:var(--aw-purple)!important;color:#fff!important;font-weight:750!important;min-height:56px}
/* Checkout blocks */
.woocommerce-page .wc-block-checkout{max-width:1120px;margin:42px auto 92px!important;padding:0 24px;gap:34px}
.woocommerce-page .wc-block-checkout__main,.woocommerce-page .wc-block-checkout__sidebar{background:var(--aw-surface);border:1px solid var(--aw-line);border-radius:26px;padding:28px!important;box-shadow:0 16px 44px rgba(34,26,94,.045)}
.woocommerce-page .wc-block-checkout__sidebar{align-self:start}
.woocommerce-page .wc-block-components-checkout-step{padding:0 0 24px!important;border-bottom:1px solid var(--aw-line);margin-bottom:26px!important}
.woocommerce-page .wc-block-components-checkout-step:last-child{border-bottom:0}
.woocommerce-page .wc-block-components-checkout-step__heading h2,.woocommerce-page .wc-block-components-title{color:var(--aw-ink)!important;font-weight:800!important;font-size:22px!important;letter-spacing:-.02em}
.woocommerce-page .wc-block-components-text-input input,.woocommerce-page .wc-block-components-address-form select,.woocommerce-page .wc-block-components-combobox .wc-block-components-combobox-control input{border:1px solid var(--aw-line)!important;border-radius:14px!important;background:#fff!important;min-height:54px!important;box-shadow:none!important}
.woocommerce-page .wc-block-components-text-input input:focus,.woocommerce-page .wc-block-components-combobox .wc-block-components-combobox-control input:focus{border-color:#9d8cf2!important;box-shadow:0 0 0 3px rgba(96,80,220,.08)!important}
.woocommerce-page .wc-block-components-radio-control__option{border:1px solid var(--aw-line)!important;border-radius:16px!important;padding:16px!important;margin:10px 0!important;background:#fff}
.woocommerce-page .wc-block-components-radio-control__option--checked{border-color:#8d7bf0!important;background:var(--aw-soft)!important;box-shadow:0 0 0 1px #8d7bf0}
.woocommerce-page .wc-block-components-checkout-place-order-button{border-radius:999px!important;background:var(--aw-purple)!important;color:#fff!important;min-height:58px!important;font-weight:750!important;border:0!important}
.woocommerce-page .wc-block-components-order-summary{border:0!important}
.woocommerce-page .wc-block-components-order-summary-item{border-bottom:1px solid var(--aw-line)!important}
.woocommerce-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{color:var(--aw-purple);font-weight:800}
.woocommerce-page .wc-block-components-checkout-return-to-cart-button{color:var(--aw-purple)!important}
/* Classic fallback */
.woocommerce-page form.checkout.woocommerce-checkout{max-width:1120px;margin:42px auto 90px;padding:0 24px;display:grid;grid-template-columns:1fr .9fr;gap:32px}.woocommerce-page #customer_details,.woocommerce-page #order_review{background:#fff;border:1px solid var(--aw-line);border-radius:24px;padding:26px}.woocommerce-page #order_review_heading{display:none}.woocommerce-page form .form-row input.input-text,.woocommerce-page form .form-row textarea,.woocommerce-page form .form-row select{border:1px solid var(--aw-line);border-radius:14px;padding:14px;background:#fff}
@media(max-width:900px){.woocommerce-page div.product{grid-template-columns:1fr;gap:20px;margin-top:24px;padding:0 18px}.woocommerce-page div.product .product_title{font-size:31px}.woocommerce-page .wc-block-cart,.woocommerce-page .wc-block-checkout{display:block!important;margin-top:24px!important;padding:0 18px}.woocommerce-page .wc-block-cart__sidebar,.woocommerce-page .wc-block-checkout__sidebar{margin-top:18px!important}.woocommerce-page .wc-block-cart__main,.woocommerce-page .wc-block-cart__sidebar,.woocommerce-page .wc-block-checkout__main,.woocommerce-page .wc-block-checkout__sidebar{border-radius:20px;padding:20px!important}.woocommerce-page form.checkout.woocommerce-checkout{grid-template-columns:1fr;padding:0 18px}.woocommerce-page div.product form.cart{flex-wrap:wrap}.woocommerce-page div.product form.cart .single_add_to_cart_button{flex:1}}

/* Atlas-only native checkout. CheckoutWC is bypassed only for Atlas cart items. */
body.atlas-native-checkout{background:#faf7f2!important}
body.atlas-native-checkout .wp-site-blocks>header{display:block}
body.atlas-native-checkout main{max-width:1180px;margin:0 auto;padding:44px 20px 84px}
body.atlas-native-checkout .woocommerce{max-width:1120px;margin:0 auto}
body.atlas-native-checkout form.checkout.woocommerce-checkout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(330px,.72fr)!important;gap:28px!important;margin:0!important;padding:0!important;align-items:start}
body.atlas-native-checkout #customer_details{background:#fff;border:1px solid #e7e1dc;border-radius:24px;padding:28px!important;box-shadow:0 16px 44px rgba(34,26,94,.05)}
body.atlas-native-checkout #customer_details .col-1,body.atlas-native-checkout #customer_details .col-2{float:none!important;width:100%!important}
body.atlas-native-checkout #customer_details .col-2{margin-top:22px}
body.atlas-native-checkout #customer_details h3{font-size:22px;color:#221a5e;margin:0 0 20px;font-weight:800}
body.atlas-native-checkout #order_review{position:sticky;top:92px;background:#fff;border:1px solid #e7e1dc;border-radius:24px;padding:24px!important;box-shadow:0 16px 44px rgba(34,26,94,.05)}
body.atlas-native-checkout #order_review:before{content:'Résumé';display:block;color:#221a5e;font-weight:800;font-size:21px;margin:0 0 16px}
body.atlas-native-checkout .woocommerce-checkout-review-order-table{background:#faf8fc!important;border:0!important;border-radius:16px!important;overflow:hidden}
body.atlas-native-checkout .woocommerce-checkout-review-order-table th,body.atlas-native-checkout .woocommerce-checkout-review-order-table td{padding:13px 14px!important;border-color:#ece7ef!important}
body.atlas-native-checkout .woocommerce-checkout-review-order-table .order-total strong{color:#6050dc;font-size:18px}
body.atlas-native-checkout .form-row{margin:0 0 13px!important}
body.atlas-native-checkout .form-row label{font-size:12px;color:#736c77;margin:0 0 6px}
body.atlas-native-checkout .form-row input.input-text,body.atlas-native-checkout .form-row textarea,body.atlas-native-checkout .form-row select,body.atlas-native-checkout .select2-container .select2-selection--single{min-height:54px!important;border:1px solid #e2ddd8!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important;padding:12px 14px!important}
body.atlas-native-checkout .select2-container .select2-selection--single .select2-selection__rendered{line-height:28px!important;padding-left:0!important}
body.atlas-native-checkout #payment{background:transparent!important;margin-top:18px}
body.atlas-native-checkout #payment ul.payment_methods{padding:0!important;border:0!important;display:grid;gap:10px}
body.atlas-native-checkout #payment ul.payment_methods>li{border:1px solid #e4ded9!important;border-radius:16px!important;background:#fff!important;padding:0!important;overflow:hidden!important}
body.atlas-native-checkout #payment ul.payment_methods>li>label{display:block!important;padding:17px 16px 17px 46px!important;font-weight:700!important;cursor:pointer!important}
body.atlas-native-checkout #payment ul.payment_methods>li>input{margin:20px 0 0 16px!important;accent-color:#6050dc}
body.atlas-native-checkout #payment .payment_box{background:#f7f4fb!important;margin:0!important;padding:14px 16px 16px 46px!important;color:#6f6874!important}
body.atlas-native-checkout #payment .payment_box:before{display:none!important}
body.atlas-native-checkout #place_order{width:100%!important;min-height:56px!important;margin-top:16px!important;border-radius:999px!important;background:#6050dc!important;color:#fff!important;font-size:16px!important;font-weight:800!important}
body.atlas-native-checkout .woocommerce-privacy-policy-text{font-size:11px;color:#817987;line-height:1.6}
body.atlas-native-checkout .woocommerce-error,body.atlas-native-checkout .woocommerce-message,body.atlas-native-checkout .woocommerce-info{border-radius:14px;border:1px solid #e8e1dc;background:#fff}
@media(max-width:900px){body.atlas-native-checkout main{padding:24px 14px 70px}body.atlas-native-checkout form.checkout.woocommerce-checkout{grid-template-columns:1fr!important}body.atlas-native-checkout #customer_details,body.atlas-native-checkout #order_review{padding:20px!important;border-radius:20px}body.atlas-native-checkout #order_review{position:static}}


/* Atlas checkout: one Morocco card gateway only. The WooCommerce gateway itself still renders any secure hosted/iframe/card fields. */
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods{display:block!important;margin:0!important}
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods>li{border:2px solid #6654ef!important;background:#fbfaff!important;border-radius:18px!important;box-shadow:0 8px 22px rgba(96,80,220,.07)!important}
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods>li>label{min-height:72px!important;display:flex!important;align-items:center!important;padding:18px 18px 18px 54px!important;font-size:15px!important;color:#171717!important}
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods>li>input{margin:27px 0 0 18px!important;transform:scale(1.08)}
body.atlas-native-checkout.atlas-morocco-payment-only #payment .payment_box{padding:14px 18px 18px 54px!important;border-top:1px solid #ece7ef!important;background:#f8f6ff!important}
body.atlas-native-checkout.atlas-morocco-payment-only #place_order{min-height:60px!important;font-size:18px!important;box-shadow:0 10px 24px rgba(96,80,220,.18)!important}
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods img{max-height:25px!important;width:auto!important;margin-left:auto!important}

/* Atlas 1.6.15 — compact Charge-style payment screen for Atlas carts. */
body.atlas-native-checkout.atlas-morocco-payment-only{
  --atlas-pay-purple:#5f50d8;--atlas-pay-ink:#20185d;--atlas-pay-text:#17161a;
  --atlas-pay-muted:#7f7a84;--atlas-pay-line:#e7e1dd;--atlas-pay-bg:#faf8f4;
  background:var(--atlas-pay-bg)!important;
}
body.atlas-native-checkout.atlas-morocco-payment-only .wp-site-blocks>header,
body.atlas-native-checkout.atlas-morocco-payment-only .cm-trust-strip,
body.atlas-native-checkout.atlas-morocco-payment-only .cm-mobile-nav,
body.atlas-native-checkout.atlas-morocco-payment-only footer{display:none!important}
body.atlas-native-checkout.atlas-morocco-payment-only main{max-width:760px!important;margin:0 auto!important;padding:38px 20px 70px!important}
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce{max-width:680px!important;margin:0 auto!important}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-pay-hero{margin:0 0 24px;padding:0}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-pay-status-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-pay-progress{display:flex;align-items:center;gap:12px;color:var(--atlas-pay-ink);font-size:16px}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-pay-spinner{width:28px;height:28px;flex:0 0 28px;border-radius:50%;border:3px solid #d7d0f6;border-top-color:var(--atlas-pay-purple);border-right-color:#8d7cf0;animation:atlas-pay-spin .85s linear infinite;box-shadow:0 0 0 5px rgba(95,80,216,.055)}
@keyframes atlas-pay-spin{to{transform:rotate(360deg)}}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-pay-pending{display:inline-flex;align-items:center;min-height:31px;padding:5px 13px;border-radius:999px;background:#f1ecdf;color:#6f675b;font-size:12px;font-weight:700;white-space:nowrap}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-pay-reference{border:1px solid var(--atlas-pay-line);background:#fff;border-radius:14px;padding:10px 14px;color:#514b55;font:600 12px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow-wrap:anywhere;margin-bottom:28px}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-pay-hero h1{font-size:25px!important;line-height:1.2!important;letter-spacing:-.7px!important;color:#17161a!important;margin:0 0 10px!important;font-weight:800!important}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-pay-hero p{color:#817a84!important;font-size:14px!important;line-height:1.7!important;margin:0!important}

/* Identity is already captured before checkout; keep inputs in DOM for gateway/order data, but don't repeat them visually. */
body.atlas-native-checkout.atlas-morocco-payment-only.atlas-has-checkout-identity #customer_details{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important;padding:0!important;border:0!important;box-shadow:none!important}
body.atlas-native-checkout.atlas-morocco-payment-only form.checkout.woocommerce-checkout{display:block!important;margin:0!important;padding:0!important}
body.atlas-native-checkout.atlas-morocco-payment-only #order_review{position:static!important;top:auto!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important}
body.atlas-native-checkout.atlas-morocco-payment-only #order_review:before{display:none!important}
body.atlas-native-checkout.atlas-morocco-payment-only #order_review_heading,
body.atlas-native-checkout.atlas-morocco-payment-only .ar-payment-heading{display:none!important}

/* One Morocco gateway card; the real gateway still owns card/3DS fields. */
body.atlas-native-checkout.atlas-morocco-payment-only #payment{margin:0!important;background:transparent!important}
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods{margin:0!important;padding:0!important;border:0!important}
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods>li{position:relative!important;border:2px solid var(--atlas-pay-purple)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 26px rgba(40,28,100,.055)!important;overflow:hidden!important;margin:0!important}
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods>li>input{position:absolute!important;left:18px!important;top:21px!important;margin:0!important;width:18px!important;height:18px!important;accent-color:var(--atlas-pay-purple)!important}
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods>li>label{display:flex!important;align-items:center!important;min-height:60px!important;padding:16px 18px 16px 52px!important;color:#1d1a24!important;font-size:15px!important;font-weight:800!important;cursor:pointer!important}
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods>li>label:after{content:'Maroc';margin-left:auto;border-radius:999px;background:#f0edff;color:#5b4ad0;padding:4px 9px;font-size:10px;font-weight:800;letter-spacing:.2px}
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods img{max-height:24px!important;width:auto!important;margin-left:10px!important}
body.atlas-native-checkout.atlas-morocco-payment-only #payment .payment_box{margin:0!important;padding:14px 18px 18px 52px!important;border-top:1px solid #eee8f0!important;background:#fbfaff!important;color:#69636e!important;font-size:13px!important;line-height:1.6!important}
body.atlas-native-checkout.atlas-morocco-payment-only #payment .payment_box:before{display:none!important}

/* Order recap is placed directly above the selected payment area, matching the compact reference UI. */
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce-checkout-review-order-table{width:100%!important;margin:18px 0!important;background:#fff!important;border:1px solid var(--atlas-pay-line)!important;border-radius:18px!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden!important;box-shadow:0 8px 22px rgba(40,28,100,.035)!important}
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce-checkout-review-order-table thead{display:none!important}
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce-checkout-review-order-table th,
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce-checkout-review-order-table td{padding:13px 16px!important;border:0!important;border-bottom:1px solid #eeeae7!important;background:#fff!important;color:#403a44!important;font-size:13px!important}
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce-checkout-review-order-table tr:last-child th,
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce-checkout-review-order-table tr:last-child td{border-bottom:0!important}
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce-checkout-review-order-table th{font-weight:600!important;color:#756f79!important}
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce-checkout-review-order-table td{text-align:right!important;font-weight:700!important}
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce-checkout-review-order-table .product-name{text-align:left!important;font-weight:700!important;color:#262129!important}
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce-checkout-review-order-table .product-total{text-align:right!important}
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce-checkout-review-order-table .order-total th,
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce-checkout-review-order-table .order-total td{padding-top:16px!important;padding-bottom:16px!important;font-size:15px!important}
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce-checkout-review-order-table .order-total strong{color:var(--atlas-pay-purple)!important;font-size:18px!important}

body.atlas-native-checkout.atlas-morocco-payment-only #payment .place-order{margin:0!important;padding:18px 0 0!important}
body.atlas-native-checkout.atlas-morocco-payment-only #place_order{width:100%!important;min-height:58px!important;border:0!important;border-radius:999px!important;background:var(--atlas-pay-purple)!important;color:#fff!important;font-size:17px!important;font-weight:800!important;box-shadow:0 10px 24px rgba(95,80,216,.20)!important;transition:transform .15s ease,filter .15s ease!important}
body.atlas-native-checkout.atlas-morocco-payment-only #place_order:hover{filter:brightness(1.035)!important;transform:translateY(-1px)!important}
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce-privacy-policy-text{font-size:11px!important;line-height:1.6!important;color:#8a838d!important;text-align:center!important;margin:0 12px 12px!important}
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce-terms-and-conditions-wrapper{margin-top:10px!important}

@media(max-width:700px){
  body.atlas-native-checkout.atlas-morocco-payment-only main{padding:24px 14px 52px!important}
  body.atlas-native-checkout.atlas-morocco-payment-only .atlas-pay-status-row{align-items:flex-start}
  body.atlas-native-checkout.atlas-morocco-payment-only .atlas-pay-progress{font-size:15px}
  body.atlas-native-checkout.atlas-morocco-payment-only .atlas-pay-pending{font-size:10px;padding:5px 9px}
  body.atlas-native-checkout.atlas-morocco-payment-only .atlas-pay-hero h1{font-size:23px!important}
  body.atlas-native-checkout.atlas-morocco-payment-only .atlas-pay-reference{font-size:10px;padding:9px 11px;margin-bottom:24px}
  body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods>li>label{padding-left:48px!important}
  body.atlas-native-checkout.atlas-morocco-payment-only #payment .payment_box{padding-left:18px!important;padding-right:18px!important}
}
@media(prefers-reduced-motion:reduce){body.atlas-native-checkout.atlas-morocco-payment-only .atlas-pay-spinner{animation-duration:2.2s}}

body.atlas-native-checkout.atlas-morocco-payment-only:not(.atlas-has-checkout-identity) #customer_details{display:block!important;background:#fff!important;border:1px solid #e7e1dd!important;border-radius:18px!important;padding:18px!important;margin:0 0 18px!important;box-shadow:0 8px 22px rgba(40,28,100,.035)!important}
body.atlas-native-checkout.atlas-morocco-payment-only:not(.atlas-has-checkout-identity) #customer_details h3{font-size:16px!important;margin:0 0 14px!important;color:#20185d!important}
body.atlas-native-checkout.atlas-morocco-payment-only:not(.atlas-has-checkout-identity) #customer_details .col-1{float:none!important;width:100%!important}
body.atlas-native-checkout.atlas-morocco-payment-only:not(.atlas-has-checkout-identity) #customer_details .col-2{display:none!important}

/* Atlas 1.6.16 — Charge-style payment screen, preserving WooCommerce gateway processing. */
body.atlas-native-checkout.atlas-morocco-payment-only{--atlas-charge-bg:#fbf8f3;--atlas-charge-surface:#fff;--atlas-charge-ink:#17151d;--atlas-charge-muted:#746f78;--atlas-charge-line:#e5e0dc;--atlas-charge-purple:#604fe5;background:var(--atlas-charge-bg)!important}
body.atlas-native-checkout.atlas-morocco-payment-only .wp-site-blocks>header,
body.atlas-native-checkout.atlas-morocco-payment-only .wp-site-blocks>footer,
body.atlas-native-checkout.atlas-morocco-payment-only .cm-mobile-nav{display:none!important}
body.atlas-native-checkout.atlas-morocco-payment-only main{max-width:720px!important;padding:28px 18px 70px!important;margin:0 auto!important}
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce{max-width:620px!important;margin:0 auto!important}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-pay-hero{display:none!important}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-checkout{margin:0 0 24px}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-steps{display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:start;gap:10px;max-width:470px;margin:0 auto 26px;color:#77717c}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-steps>div{text-align:center;min-width:64px}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-steps b{display:grid;place-items:center;width:34px;height:34px;margin:0 auto 5px;border-radius:50%;background:#e9e8e7;color:#666;font-size:13px;font-weight:700}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-steps span{font-size:11px;white-space:nowrap}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-steps i{height:1px;background:#dedad7;margin-top:17px}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-steps .is-active b{background:#f2efff;color:#5b48de;border:2px solid #6652ea;box-shadow:0 0 0 5px #6652ea1f}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-steps .is-active span{color:#5b48de;font-weight:700}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-summary-card{background:#fff;border:1px solid var(--atlas-charge-line);border-radius:20px;padding:22px 22px 18px;box-shadow:0 9px 28px rgba(39,28,83,.035)}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:18px;border-bottom:1px solid #eeeae6}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-pending{display:flex;gap:14px;align-items:flex-start;min-width:0}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-pay-spinner{width:30px;height:30px;flex:0 0 30px;border:4px solid #ddd7ff;border-top-color:#6552e7;border-right-color:#8d7df1;animation:atlas-pay-spin .82s linear infinite;box-shadow:none}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-pending strong{display:block;color:#17151d;font-size:18px;line-height:1.3;margin:1px 0 4px}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-pending small{display:block;color:#77717b;font-size:12px;line-height:1.55}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-order-ref{text-align:right;max-width:245px;min-width:0}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-order-ref span{display:block;color:#8a848d;font-size:10px;margin-bottom:4px}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-order-ref strong{display:block;color:#625d67;font:600 10px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow-wrap:anywhere}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-summary-lines{padding:13px 0 0}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-summary-lines>div{display:flex;justify-content:space-between;gap:24px;padding:8px 0;color:#67616b;font-size:13px}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-summary-lines strong{color:#19161e;text-align:right;font-weight:700}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-summary-lines .atlas-charge-total{border-top:1px solid #eeeae6;margin-top:6px;padding-top:14px;font-size:15px;font-weight:800;color:#17151d}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-summary-lines .atlas-charge-total strong{font-size:16px}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-promo{border:0;background:none;color:#6652e7;padding:12px 0 0;font-size:12px;font-weight:700;cursor:pointer}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-payment-title{font-size:15px!important;color:#5b5660!important;margin:22px 0 10px!important;font-weight:600!important;letter-spacing:0!important}
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce-checkout-review-order-table{display:none!important}
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods>li{border:2px solid var(--atlas-charge-purple)!important;border-radius:18px!important;background:#fff!important;box-shadow:none!important;overflow:visible!important}
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods>li>input{left:17px!important;top:31px!important;width:19px!important;height:19px!important}
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods>li>label{display:grid!important;grid-template-columns:36px minmax(0,1fr) auto;align-items:center!important;gap:10px;min-height:72px!important;padding:12px 14px 12px 48px!important;font-size:0!important}
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods>li>label:after{display:none!important}
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods img{display:none!important}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-card-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#f5f5f3;color:#5e6266;font-size:26px;line-height:1;overflow:hidden}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-gateway-copy{display:block;min-width:0}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-gateway-copy b{display:block;color:#17151d;font-size:13px;line-height:1.35;font-weight:800}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-gateway-copy small{display:block;color:#918b94;font-size:10px;font-weight:500;margin-top:2px}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-gateway-price{text-align:right;white-space:nowrap}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-gateway-price b{display:block;color:#17151d;font-size:14px;font-weight:800}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-gateway-price small{display:block;color:#8a848d;font-size:9px;font-weight:500;margin-top:1px}
body.atlas-native-checkout.atlas-morocco-payment-only #payment .payment_box{margin:0!important;padding:13px 16px 16px!important;border:0!important;border-top:1px solid #eeeae7!important;background:#fcfbff!important;font-size:12px!important}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-payment-total{margin:12px 0 0;background:#fff;border-radius:15px;padding:10px 14px;border:1px solid #f0ece8}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-payment-total>div{display:flex;justify-content:space-between;gap:18px;padding:4px 0;color:#77717b;font-size:11px}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-payment-total .is-total{color:#17151d;font-size:14px;font-weight:800}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-payment-total .is-total strong{font-size:15px}
body.atlas-native-checkout.atlas-morocco-payment-only #payment .place-order{padding-top:10px!important}
body.atlas-native-checkout.atlas-morocco-payment-only #place_order{min-height:56px!important;font-size:17px!important;background:#604fe5!important;box-shadow:none!important}
body.atlas-native-checkout.atlas-morocco-payment-only #place_order:before{content:'🔒';font-size:12px;margin-right:7px}
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce-privacy-policy-text{margin-top:8px!important;color:#887f8d!important}
body.atlas-native-checkout.atlas-morocco-payment-only .woocommerce-terms-and-conditions-wrapper{font-size:10px;text-align:center;color:#8a838d}
body.atlas-native-checkout.atlas-morocco-payment-only:after{content:'◉  Paiement sécurisé';display:block;text-align:center;color:#7d7780;font-size:11px;margin:22px auto 0;max-width:620px}
@media(max-width:620px){
 body.atlas-native-checkout.atlas-morocco-payment-only main{padding:18px 12px 54px!important}
 body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-summary-card{padding:18px 16px 14px;border-radius:18px}
 body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-summary-head{display:block}
 body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-order-ref{text-align:left;margin:12px 0 0 44px;max-width:none}
 body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-steps{gap:5px;margin-bottom:22px}
 body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-steps>div{min-width:54px}
 body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods>li>label{grid-template-columns:32px minmax(0,1fr);padding-left:46px!important}
 body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-gateway-price{grid-column:2;text-align:left;margin-top:-5px}
}

/* Atlas 1.6.17 — realistic card/network marks while preserving the gateway's own icon. */
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods>li>label{
  grid-template-columns:44px minmax(0,1fr) auto auto!important;
  gap:12px!important;
}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-card-brand{
  position:relative;display:block;width:42px;height:30px;border:1px solid #d9dde4;border-radius:7px;
  background:linear-gradient(180deg,#fff,#f4f6f8);box-shadow:0 2px 7px rgba(28,35,48,.08);overflow:hidden
}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-card-chip{
  position:absolute;left:7px;top:9px;width:10px;height:8px;border-radius:2px;background:linear-gradient(135deg,#d9b55f,#f0d58b);
  box-shadow:inset 0 0 0 1px #b9974f
}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-card-line{
  position:absolute;right:7px;top:10px;width:12px;height:2px;border-radius:2px;background:#9ca3af;box-shadow:0 5px 0 #c1c6ce
}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-networks,
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-native-icon{
  display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:74px
}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-native-icon img{
  display:block!important;position:static!important;float:none!important;width:auto!important;max-width:92px!important;height:26px!important;max-height:26px!important;margin:0!important;object-fit:contain!important
}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-net-visa{
  display:inline-flex;align-items:center;height:24px;color:#1434cb;font:900 18px/1 Arial,Helvetica,sans-serif;letter-spacing:-1.4px
}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-net-mastercard{position:relative;display:inline-block;width:34px;height:22px}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-net-mastercard i{position:absolute;top:2px;width:20px;height:20px;border-radius:50%;background:#eb001b}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-net-mastercard i:first-child{left:0}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-net-mastercard i:last-child{right:0;background:#f79e1b;opacity:.95}
body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-gateway-copy small{font-size:11px!important;line-height:1.35!important}
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods>li{
  box-shadow:0 8px 22px rgba(65,48,135,.04)!important;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease
}
body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods>li:has(input:checked){
  background:#fbfaff!important;box-shadow:0 0 0 1px rgba(96,79,229,.08),0 10px 26px rgba(65,48,135,.07)!important
}
@media(max-width:620px){
 body.atlas-native-checkout.atlas-morocco-payment-only #payment ul.payment_methods>li>label{grid-template-columns:40px minmax(0,1fr) auto!important;gap:10px!important}
 body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-networks,
 body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-native-icon{grid-column:2;justify-content:flex-start;margin-top:-3px}
 body.atlas-native-checkout.atlas-morocco-payment-only .atlas-charge-gateway-price{grid-column:3;grid-row:1 / span 2;text-align:right;margin-top:0}
}
