.amp-connected-preview{position:relative;z-index:100000;background:#171b28;color:#fff;padding:10px 20px;font:14px/24px system-ui}.amp-connected-preview a{color:white;text-decoration:underline}.amp-native-page{width:100%;padding:48px 20px;min-height:400px}.amp-native-page form{max-width:1100px;margin:auto}.amp-rebuilt .woocommerce-product-gallery{opacity:1!important}.amp-rebuilt .arh-mobile-menu.amp-open{transform:translateX(0)!important}.amp-rebuilt .arh-mobile-overlay.amp-open{display:block!important}.amp-rebuilt .arh-mini-cart,.amp-rebuilt .arh-login-modal,.amp-rebuilt .arh-cart-overlay,.amp-rebuilt .arh-login-overlay{display:none!important}.amp-rebuilt .arh-hero-carousel-wrapper{overflow:hidden}.amp-rebuilt .amp-contact-status{padding:16px;margin:20px 0;background:#f3f5f8;border-left:4px solid #ec1c24}.amp-rebuilt .amp-wishlist-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:24px}.amp-rebuilt .amp-wishlist-grid:empty{display:none}.amp-rebuilt .amp-search-box{position:absolute;right:0;top:100%;width:320px;max-width:80vw;z-index:1000;background:white;padding:15px;box-shadow:0 8px 25px #0002;border-radius:8px}.amp-rebuilt .amp-search-box input{width:100%;padding:10px;border:1px solid #ddd}.amp-rebuilt .arh-pp-card .arh-pp-image{object-fit:contain}.amp-rebuilt #rgp-age-popup{z-index:2147483646}.amp-rebuilt .arh-wishlist-btn.amp-saved svg{fill:#ec1c24;stroke:#ec1c24}.amp-rebuilt .woocommerce form .form-row input.input-text,.amp-rebuilt .woocommerce form .form-row textarea{border:1px solid #ddd;border-radius:5px;padding:12px}.amp-rebuilt .woocommerce button.button,.amp-rebuilt .woocommerce a.button{background:#ec1c24;color:white;border-radius:5px}.amp-rebuilt .arh-pp-grid{width:100%}@media(max-width:768px){.amp-rebuilt .amp-wishlist-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.amp-native-page{padding:25px 15px}.amp-connected-preview{font-size:12px}.amp-rebuilt .arh-mobile-menu{display:block!important}}

.amp-rebuilt #payment .payment_methods li img{max-height:28px!important;width:auto!important;max-width:120px!important;object-fit:contain;vertical-align:middle;float:right;margin-left:8px}

/* Source Astra cart and checkout structure, with live WooCommerce controls. */
.amp-commerce-page .woocommerce-cart-form{float:none;width:100%;margin:0}
.amp-commerce-page #ast-cart-wrapper .ast-cart-non-sticky{min-width:0}
.amp-commerce-page #ast-cart-wrapper .cart-collaterals{float:none;margin:0;min-width:0}
.amp-commerce-page #ast-cart-wrapper .cart_totals{float:none;width:100%}
.amp-commerce-page .woocommerce-cart-form .cart-summary{display:none}
.amp-commerce-page .woocommerce-cart-form td.product-thumbnail img{width:70px;max-width:70px;height:auto}
.amp-commerce-page .woocommerce-cart-form .quantity .qty{min-width:50px;width:64px;padding:8px}
.amp-commerce-page .woocommerce-cart-form td.actions{padding-top:16px}
/* Keep native update and coupon controls usable where Astra's AJAX addon is unavailable. */
.amp-rebuilt.woocommerce-cart .amp-commerce-page .woocommerce-cart-form table tbody tr:has(td.actions){display:table-row}
.amp-rebuilt.woocommerce-cart .amp-commerce-page .woocommerce-cart-form table tbody tr:last-child .coupon{display:flex!important;gap:8px;align-items:center;flex-wrap:wrap}
.amp-commerce-page .woocommerce-cart-form td.actions .coupon #coupon_code{width:140px;min-width:0}
.amp-commerce-page .woocommerce-cart-form td.actions button{font-size:12px;padding:12px 16px}
.amp-rebuilt.woocommerce-checkout .amp-commerce-page form.checkout{width:100%;max-width:none;margin:0}
.amp-rebuilt.woocommerce-checkout .amp-commerce-page #customer_details .col-1,.amp-rebuilt.woocommerce-checkout .amp-commerce-page #customer_details .col-2{float:none;width:100%}
.amp-commerce-page .woocommerce-checkout-review-order-table .product-name{overflow-wrap:anywhere}
.amp-commerce-page #payment ul.payment_methods{padding:0;margin:0}
.amp-commerce-page #payment .payment_methods li{padding:12px 0;line-height:1.5}
.amp-commerce-page #payment .payment_methods label{font-size:14px;font-weight:600;cursor:pointer}
.amp-commerce-page #payment .payment_box{font-size:12px;line-height:1.6}
.amp-commerce-page #payment #place_order{width:100%;margin:12px 0 0}
@media(min-width:769px){.amp-commerce-page #ast-cart-wrapper{display:flex;align-items:flex-start;justify-content:space-between;gap:2%}.amp-commerce-page #ast-cart-wrapper .ast-cart-non-sticky{width:68%}.amp-commerce-page #ast-cart-wrapper .cart-collaterals{width:30%}}
@media(max-width:921px){.amp-rebuilt.woocommerce-checkout .amp-commerce-page #customer_details.col2-set,.amp-rebuilt.woocommerce-checkout .amp-commerce-page #order_review,.amp-rebuilt.woocommerce-checkout .amp-commerce-page #order_review_heading{float:none;width:100%;margin-right:0}.amp-commerce-page #order_review_heading{margin-top:24px!important}}
@media(max-width:768px){.amp-commerce-page #ast-cart-wrapper .ast-cart-non-sticky,.amp-commerce-page #ast-cart-wrapper .cart-collaterals{width:100%}.amp-commerce-page #ast-cart-wrapper .cart-collaterals{margin-top:24px}.amp-commerce-page .woocommerce-cart-form td.actions .coupon{float:none;margin-bottom:12px}.amp-commerce-page .woocommerce-cart-form td.actions button[name=update_cart]{width:100%}}

/* Remove destination-theme floating labels so source billing fields remain readable. */
.amp-rebuilt.woocommerce-checkout .amp-commerce-page .woocommerce form .form-row label:not(.screen-reader-text){position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;padding:0!important;width:auto!important;height:auto!important;margin:0 0 6px!important;font-size:14px!important;line-height:1.6!important;overflow:visible!important}
.amp-rebuilt.woocommerce-checkout .amp-commerce-page .woocommerce form .form-row{margin-bottom:16px}
.amp-commerce-page .select2-container .select2-selection--single{height:auto!important;min-height:48px;padding:10px 12px!important}
.amp-commerce-page .select2-container .select2-selection--single .select2-selection__rendered{line-height:26px;padding-left:0}
.amp-commerce-page .select2-container .select2-selection--single .select2-selection__arrow{height:100%;top:0}

/* Immediate, accessible cart feedback using the existing AMP red. */
.amp-rebuilt .arh-modern-cart-btn,.amp-rebuilt .arh-cart-btn,.amp-rebuilt .arh-cart-toggle,.amp-rebuilt .arh-cart-icon{position:relative}
.amp-rebuilt .arh-cart-count{position:absolute;top:-5px;right:-6px;display:flex!important;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;border-radius:20px;background:#ec1c24;color:#fff;font:600 11px/18px Arial,sans-serif;box-shadow:0 0 0 2px #fff}
.amp-rebuilt .arh-cart-count.hidden{display:none!important}
.amp-rebuilt .amp-cart-loading{opacity:.7;cursor:wait;pointer-events:none}
.amp-rebuilt .amp-cart-loading::after{content:'';display:inline-block;width:14px;height:14px;margin-left:7px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:middle;animation:amp-cart-spin .65s linear infinite}
.amp-rebuilt .amp-cart-added{box-shadow:0 0 0 3px #ec1c2433}
.amp-rebuilt .amp-cart-pulse{animation:amp-cart-bounce .5s ease}
#amp-cart-feedback{position:fixed;right:24px;bottom:88px;z-index:100010;display:flex;align-items:center;gap:14px;width:max-content;max-width:calc(100vw - 32px);padding:17px 18px;border-left:4px solid #ec1c24;border-radius:8px;background:#fff;color:#171b28;box-shadow:0 8px 32px #0003;font:500 14px/1.5 Arial,sans-serif;opacity:0;visibility:hidden;transform:translateY(16px);transition:opacity .2s,transform .2s,visibility .2s}
#amp-cart-feedback.amp-visible{opacity:1;visibility:visible;transform:translateY(0)}
#amp-cart-feedback a{white-space:nowrap;color:#ec1c24;text-decoration:underline;font-weight:700}
#amp-cart-feedback button{border:0;padding:0 2px;background:none;color:#555;font:24px/1 Arial,sans-serif;cursor:pointer}
#amp-cart-feedback.amp-cart-error{border-left-color:#9c2525}
@keyframes amp-cart-spin{to{transform:rotate(360deg)}}
@keyframes amp-cart-bounce{0%,100%{transform:scale(1)}45%{transform:scale(1.25)}}
@media(max-width:600px){#amp-cart-feedback{left:16px;right:16px;bottom:88px;width:auto;gap:10px;padding:14px;font-size:13px}#amp-cart-feedback .amp-cart-feedback-text{flex:1}}
@media(prefers-reduced-motion:reduce){.amp-rebuilt .amp-cart-loading::after,.amp-rebuilt .amp-cart-pulse{animation:none}#amp-cart-feedback{transition:none;transform:none}}
