/* SR Marketing – Cart & Checkout */
body.srmh-cc{--srmh-ink:#1b2940;--srmh-muted:#6b7686;--srmh-line:#edf0f4;background:#f5f6f8}
body.srmh-cc .entry-title,body.srmh-cc h1.page-title{display:none}
body.srmh-cc .woocommerce{max-width:1180px;margin:0 auto}
body.srmh-cc .woocommerce a{color:var(--srmh-orange)}
body.srmh-cc .woocommerce-notices-wrapper,body.srmh-cc .woocommerce-NoticeGroup{grid-column:1/-1}
body.srmh-cc .woocommerce-message,body.srmh-cc .woocommerce-info,body.srmh-cc .woocommerce-error{border-radius:12px;border:1px solid var(--srmh-line);border-left:4px solid var(--srmh-orange);background:#fff;padding:14px 18px;margin:0 0 16px;list-style:none;color:var(--srmh-ink)}
body.srmh-cc .woocommerce-error{border-left-color:#e8383d}
body.srmh-cc .woocommerce-message:before,body.srmh-cc .woocommerce-info:before,body.srmh-cc .woocommerce-error:before{display:none}

/* steps */
.srmh-steps{list-style:none;display:flex;justify-content:center;gap:0;margin:6px auto 26px!important;padding:0!important;max-width:560px}
.srmh-steps li{flex:1;display:flex;flex-direction:column;align-items:center;gap:7px;position:relative;font-size:13px;font-weight:700;color:var(--srmh-muted);margin:0}
.srmh-steps li:not(:last-child):after{content:"";position:absolute;top:16px;left:calc(50% + 22px);width:calc(100% - 44px);height:2px;background:#dfe4ea}
.srmh-steps li.is-done:not(:last-child):after{background:var(--srmh-orange)}
.srmh-steps b{width:34px;height:34px;border-radius:50%;background:#fff;border:2px solid #dfe4ea;display:grid;place-items:center;font-size:14px;color:var(--srmh-muted)}
.srmh-steps li.is-active b{background:var(--srmh-orange);border-color:var(--srmh-orange);color:#fff;box-shadow:0 6px 16px #f36b2140}
.srmh-steps li.is-active{color:var(--srmh-ink)}
.srmh-steps li.is-done b{background:var(--srmh-orange);border-color:var(--srmh-orange);color:#fff}
.srmh-steps li.is-done{color:var(--srmh-ink)}

/* inputs & buttons (shared) */
body.srmh-cc label{font-size:13px;font-weight:800;color:var(--srmh-ink)}
body.srmh-cc .woocommerce form .form-row{margin:0 0 14px;padding:0}
body.srmh-cc input.input-text,body.srmh-cc .woocommerce form .input-text,body.srmh-cc select,body.srmh-cc textarea,body.srmh-cc .select2-container--default .select2-selection--single{border:1.5px solid #dfe4ea!important;border-radius:10px!important;padding:12px 14px!important;font-size:14px;background:#fff;color:var(--srmh-ink);width:100%;box-sizing:border-box;min-height:46px;height:auto;transition:.2s}
body.srmh-cc .select2-container--default .select2-selection--single{padding:0!important;display:flex;align-items:center}
body.srmh-cc .select2-container--default .select2-selection--single .select2-selection__rendered{padding:0 14px;line-height:44px;color:var(--srmh-ink)}
body.srmh-cc .select2-container--default .select2-selection--single .select2-selection__arrow{height:44px;right:8px}
body.srmh-cc input.input-text:focus,body.srmh-cc select:focus,body.srmh-cc textarea:focus{outline:0;border-color:var(--srmh-orange)!important;box-shadow:0 0 0 4px #f36b2118}
body.srmh-cc .woocommerce .button,body.srmh-cc button.button{background:var(--srmh-orange)!important;color:#fff!important;border:0!important;border-radius:10px!important;font-weight:900!important;font-size:14px!important;padding:0 24px!important;height:46px;line-height:46px;transition:.2s;cursor:pointer}
body.srmh-cc .woocommerce .button:hover{filter:brightness(.92);box-shadow:0 10px 22px #f36b2140}
body.srmh-cc .woocommerce .button:disabled,body.srmh-cc .woocommerce .button[disabled]{opacity:.45;box-shadow:none;cursor:not-allowed}

/* ============ CART ============ */
body.srmh-cart .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}
body.srmh-cart .woocommerce-notices-wrapper,body.srmh-cart .srmh-steps,body.srmh-cart .cart-empty,body.srmh-cart .return-to-shop{grid-column:1/-1}
body.srmh-cart .woocommerce-cart-form{grid-column:1;margin:0}
body.srmh-cart .cart-collaterals{grid-column:2;float:none!important;width:auto!important;position:sticky;top:20px}
body.srmh-cart .cart-collaterals .cart_totals{float:none!important;width:100%!important;margin:0;background:#fff;border:1px solid var(--srmh-line);border-radius:16px;padding:22px 24px}
body.srmh-cart .cart_totals h2{font-size:18px;font-weight:900;color:var(--srmh-ink);margin:0 0 14px;padding:0;background:none;border:0}
body.srmh-cart table.shop_table{border:1px solid var(--srmh-line)!important;border-radius:16px;border-collapse:separate;border-spacing:0;background:#fff;overflow:hidden;width:100%;margin:0}
body.srmh-cart table.cart th{background:#f7f8fa;color:var(--srmh-muted);font-size:11px;text-transform:uppercase;letter-spacing:.6px;padding:14px;border:0;font-weight:800}
body.srmh-cart table.cart td{padding:16px 14px;border:0;border-top:1px solid var(--srmh-line);vertical-align:middle;color:var(--srmh-ink)}
body.srmh-cart table.cart td.product-thumbnail img{width:78px;height:78px;object-fit:cover;border-radius:10px;display:block}
body.srmh-cart table.cart td.product-name a{color:var(--srmh-ink);font-weight:800;text-decoration:none;font-size:14px;line-height:1.4}
body.srmh-cart table.cart td.product-name a:hover{color:var(--srmh-orange)}
body.srmh-cart table.cart td.product-price,body.srmh-cart table.cart td.product-subtotal{font-weight:800;white-space:nowrap}
body.srmh-cart table.cart td.product-subtotal{color:var(--srmh-orange)}
body.srmh-cart table.cart a.remove{width:28px;height:28px;line-height:26px;border-radius:50%;background:#f1f3f6;color:#c0262b!important;font-size:18px;display:inline-grid;place-items:center;font-weight:700;border:0;text-decoration:none}
body.srmh-cart table.cart a.remove:hover{background:#e8383d;color:#fff!important}
body.srmh-cart .quantity .qty{width:72px;height:44px;text-align:center;font-weight:800;border:1.5px solid #dfe4ea;border-radius:10px;padding:0}
body.srmh-cart table.cart td.actions{padding:16px;background:#fafbfc;border-top:1px solid var(--srmh-line)}
body.srmh-cart .coupon{display:flex;gap:8px;float:left;align-items:center}
body.srmh-cart .coupon label{display:none}
body.srmh-cart .coupon .input-text{width:190px!important;margin:0!important}
body.srmh-cart .coupon .button{background:#fff!important;color:var(--srmh-orange)!important;border:1.5px solid var(--srmh-orange)!important}
body.srmh-cart .coupon .button:hover{background:var(--srmh-orange)!important;color:#fff!important}
body.srmh-cart table.cart td.actions>.button{float:right}
body.srmh-cart .cart_totals table.shop_table{border:0!important;border-radius:0;background:none}
body.srmh-cart .cart_totals th{background:none;text-transform:none;font-size:14px;letter-spacing:0;color:var(--srmh-muted);padding:12px 0;font-weight:700}
body.srmh-cart .cart_totals td{padding:12px 0;text-align:right;font-weight:700}
body.srmh-cart .cart_totals .order-total th,body.srmh-cart .cart_totals .order-total td{border-top:2px solid var(--srmh-line);font-size:18px;font-weight:900;color:var(--srmh-ink)}
body.srmh-cart .cart_totals .order-total td{color:var(--srmh-orange)}
body.srmh-cart .wc-proceed-to-checkout{padding:14px 0 0}
body.srmh-cart .wc-proceed-to-checkout .checkout-button{display:block;width:100%;height:52px!important;line-height:52px!important;font-size:15px!important;text-align:center;margin:0!important;padding:0!important}
body.srmh-cart .cart-empty{background:#fff;border:1px solid var(--srmh-line);border-radius:16px;padding:40px 20px;text-align:center;font-size:16px;font-weight:700}
body.srmh-cart .return-to-shop{text-align:center}

/* ============ CHECKOUT ============ */
body.srmh-checkout .woocommerce-form-coupon-toggle .woocommerce-info,body.srmh-checkout .woocommerce-form-login-toggle .woocommerce-info{background:#fff7f2;border-left-color:var(--srmh-orange)}
body.srmh-checkout form.checkout_coupon{background:#fff;border:1px solid var(--srmh-line)!important;border-radius:14px!important;padding:18px!important;margin:0 0 18px!important}
body.srmh-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:0 24px;align-items:start}
body.srmh-checkout form.checkout .woocommerce-NoticeGroup{grid-column:1/-1;grid-row:1}
body.srmh-checkout form.checkout #customer_details{grid-column:1;grid-row:2/span 3;float:none!important;width:auto!important}
body.srmh-checkout form.checkout #order_review_heading{grid-column:2;grid-row:2;margin:0;padding:22px 24px 0;background:#fff;border:1px solid var(--srmh-line);border-bottom:0;border-radius:16px 16px 0 0;font-size:18px;font-weight:900;color:var(--srmh-ink);float:none;width:auto}
body.srmh-checkout form.checkout #order_review{grid-column:2;grid-row:3;float:none!important;width:auto!important;background:#fff;border:1px solid var(--srmh-line);border-top:0;border-radius:0 0 16px 16px;padding:14px 24px 24px}
body.srmh-checkout .col2-set,body.srmh-checkout #customer_details{width:100%!important;float:none!important}
body.srmh-checkout .col2-set:before,body.srmh-checkout .col2-set:after{display:none!important;content:none!important}
body.srmh-checkout .col2-set .col-1,body.srmh-checkout .col2-set .col-2{float:none!important;width:100%!important;max-width:none;background:#fff;border:1px solid var(--srmh-line);border-radius:16px;padding:22px 24px;margin:0 0 18px;box-sizing:border-box}
body.srmh-checkout .woocommerce-billing-fields>h3,body.srmh-checkout .woocommerce-shipping-fields>h3,body.srmh-checkout .woocommerce-additional-fields>h3{font-size:18px;font-weight:900;color:var(--srmh-ink);margin:0 0 16px}
body.srmh-checkout .woocommerce-billing-fields__field-wrapper,body.srmh-checkout .woocommerce-shipping-fields__field-wrapper{display:flex;flex-wrap:wrap;gap:0 14px}
body.srmh-checkout .form-row-first,body.srmh-checkout .form-row-last{width:calc(50% - 7px)!important;float:none!important}
body.srmh-checkout .form-row-wide{width:100%!important;float:none!important}
body.srmh-checkout abbr.required{color:#e8383d;text-decoration:none}
/* order review table */
body.srmh-checkout table.shop_table{border:0!important;border-collapse:collapse;width:100%;margin:0 0 14px}
body.srmh-checkout table.shop_table th{background:none;color:var(--srmh-muted);font-size:12px;text-transform:uppercase;letter-spacing:.5px;padding:10px 0;border:0;border-bottom:1px solid var(--srmh-line);font-weight:800}
body.srmh-checkout table.shop_table td{padding:12px 0;border:0;border-bottom:1px solid var(--srmh-line);color:var(--srmh-ink);font-size:14px}
body.srmh-checkout table.shop_table td.product-total,body.srmh-checkout table.shop_table tfoot td{text-align:right;font-weight:800}
body.srmh-checkout table.shop_table tfoot th{text-transform:none;font-size:14px;letter-spacing:0}
body.srmh-checkout table.shop_table .order-total th,body.srmh-checkout table.shop_table .order-total td{font-size:18px;font-weight:900;color:var(--srmh-ink);border-bottom:0}
body.srmh-checkout table.shop_table .order-total td{color:var(--srmh-orange)}
/* payment */
body.srmh-checkout #payment{background:none;border-radius:0}
body.srmh-checkout #payment ul.payment_methods{border:0;padding:0;margin:0 0 14px;list-style:none}
body.srmh-checkout #payment ul.payment_methods li{background:#fafbfc;border:1.5px solid var(--srmh-line);border-radius:12px;padding:14px 16px;margin:0 0 10px;transition:.2s}
body.srmh-checkout #payment ul.payment_methods li:has(input:checked){border-color:var(--srmh-orange);background:#fff7f2}
body.srmh-checkout #payment ul.payment_methods li label{font-weight:800;cursor:pointer}
body.srmh-checkout #payment ul.payment_methods input[type=radio]{accent-color:var(--srmh-orange);margin-right:8px}
body.srmh-checkout #payment div.payment_box{background:#fff;border-radius:8px;color:var(--srmh-muted);font-size:13px;padding:12px;margin:10px 0 0}
body.srmh-checkout #payment div.payment_box:before{display:none}
body.srmh-checkout #payment .place-order{padding:0;margin:0}
body.srmh-checkout #place_order{width:100%;height:54px!important;line-height:54px!important;font-size:16px!important;float:none;padding:0!important}
body.srmh-checkout .woocommerce-privacy-policy-text{font-size:12px;color:var(--srmh-muted);line-height:1.6;margin-bottom:12px}
.srmh-cc-trust{display:flex;flex-direction:column;gap:8px;align-items:center;margin-top:14px;font-size:12px;color:#6b7686;text-align:center}
.srmh-cc-trust a{font-weight:800;text-decoration:none}

/* ============ THANK YOU ============ */
body.srmh-thankyou .woocommerce-order{background:#fff;border:1px solid var(--srmh-line);border-radius:18px;padding:30px;max-width:820px;margin:0 auto}
body.srmh-thankyou .woocommerce-thankyou-order-received{background:#e7f7ee;color:#157a45;border-radius:12px;padding:16px 18px;font-size:18px;font-weight:900;margin:0 0 20px;text-align:center}
body.srmh-thankyou ul.order_details{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:0 0 24px!important;padding:0!important;list-style:none}
body.srmh-thankyou ul.order_details li{background:#f7f8fa;border:0!important;border-radius:12px;padding:14px;margin:0!important;float:none;font-size:12px;text-transform:uppercase;letter-spacing:.4px;color:var(--srmh-muted)}
body.srmh-thankyou ul.order_details li strong{display:block;margin-top:5px;font-size:15px;text-transform:none;letter-spacing:0;color:var(--srmh-ink)}
body.srmh-thankyou .woocommerce-order-details h2,body.srmh-thankyou .woocommerce-customer-details h2{font-size:18px;font-weight:900;color:var(--srmh-ink)}
body.srmh-thankyou table.shop_table{border:1px solid var(--srmh-line)!important;border-radius:12px;border-collapse:separate;border-spacing:0;overflow:hidden;width:100%}
body.srmh-thankyou table.shop_table th,body.srmh-thankyou table.shop_table td{padding:12px 14px;border:0;border-bottom:1px solid var(--srmh-line)}

/* ============ block-based cart/checkout (basic) ============ */
body.srmh-cc .wc-block-components-button:not(.is-link),body.srmh-cc .wc-block-cart__submit-button{background:var(--srmh-orange)!important;color:#fff!important;border:0!important;border-radius:10px!important;font-weight:900}
body.srmh-cc .wc-block-components-sidebar,body.srmh-cc .wp-block-woocommerce-cart-order-summary-block{background:#fff;border:1px solid var(--srmh-line);border-radius:16px;padding:18px}

/* ============ responsive ============ */
@media(max-width:900px){
 body.srmh-cart .woocommerce{grid-template-columns:1fr}
 body.srmh-cart .woocommerce-cart-form,body.srmh-cart .cart-collaterals{grid-column:1}
 body.srmh-cart .cart-collaterals{position:static}
 body.srmh-checkout form.checkout{grid-template-columns:1fr}
 body.srmh-checkout form.checkout #customer_details,body.srmh-checkout form.checkout #order_review_heading,body.srmh-checkout form.checkout #order_review{grid-column:1;grid-row:auto}
 body.srmh-checkout form.checkout #order_review_heading{margin-top:6px}
}
@media(max-width:640px){
 body.srmh-checkout .form-row-first,body.srmh-checkout .form-row-last{width:100%!important}
 body.srmh-checkout .col2-set .col-1,body.srmh-checkout .col2-set .col-2{padding:18px 16px}
 body.srmh-cart table.shop_table_responsive tr{display:block;position:relative;padding:12px 0 12px 0;border-top:1px solid var(--srmh-line)}
 body.srmh-cart table.shop_table_responsive tr:first-child{border-top:0}
 body.srmh-cart table.shop_table_responsive td{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:right!important;border:0!important;padding:8px 14px!important}
 body.srmh-cart table.shop_table_responsive td:before{font-weight:800;color:var(--srmh-muted);font-size:12px;text-transform:uppercase}
 body.srmh-cart table.shop_table_responsive td.product-thumbnail{justify-content:flex-start}
 body.srmh-cart table.shop_table_responsive td.product-thumbnail:before,body.srmh-cart table.shop_table_responsive td.product-remove:before{display:none}
 body.srmh-cart table.shop_table_responsive td.product-remove{position:absolute;right:6px;top:6px;padding:0!important;display:block}
 body.srmh-cart table.cart td.actions{display:block!important;text-align:left!important}
 body.srmh-cart .coupon{float:none;width:100%;margin-bottom:10px}.srmh-cart .coupon .input-text{flex:1}
 body.srmh-cart table.cart td.actions>.button{float:none;width:100%}
 body.srmh-cart .coupon .input-text{width:auto!important;flex:1}
 .srmh-steps li{font-size:12px}
}

/* ===== v2.9 polish ===== */
.srmh-cc-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 18px}
.srmh-cc-head h1{margin:0!important;font-size:clamp(22px,3vw,28px)!important;font-weight:900;letter-spacing:-.5px;color:var(--srmh-ink)}
.srmh-cc-head span{font-size:14px;font-weight:800;color:var(--srmh-muted);background:#fff;border:1px solid var(--srmh-line);border-radius:30px;padding:6px 14px}
body.srmh-cart .srmh-cc-head{grid-column:1/-1}
body.srmh-cart .srmh-continue{float:right;margin-right:14px;height:46px;display:inline-flex;align-items:center;font-weight:800;font-size:13px;color:var(--srmh-muted)!important;text-decoration:none!important}
body.srmh-cart .srmh-continue:hover{color:var(--srmh-orange)!important}
.srmh-cc-badges{list-style:none;margin:16px 0 0!important;padding:16px 0 0!important;border-top:1px dashed var(--srmh-line);display:grid;gap:10px;font-size:13px;font-weight:700;color:var(--srmh-muted)}
.srmh-cc-badges li{display:flex;align-items:center;gap:10px;margin:0}
.srmh-cc-badges b{width:30px;height:30px;border-radius:50%;background:#fff3ea;display:grid;place-items:center;font-size:14px;flex:none}
.srmh-ri{display:flex;align-items:center;gap:12px}
.srmh-ri img{width:52px!important;height:52px!important;border-radius:10px;object-fit:cover;flex:none;border:1px solid var(--srmh-line)}
.srmh-ri-name{font-weight:700;line-height:1.35}
body.srmh-checkout td.product-name .product-quantity{display:block;margin-left:64px;font-size:12px;color:var(--srmh-muted);font-weight:700}
body.srmh-checkout #place_order{background:linear-gradient(135deg,#f36b21,#ff8a3d)!important;box-shadow:0 12px 26px #f36b2147}
body.srmh-cart .wc-proceed-to-checkout .checkout-button{background:linear-gradient(135deg,#f36b21,#ff8a3d)!important;box-shadow:0 12px 26px #f36b2147}
body.srmh-cart table.cart tr.cart_item:hover td{background:#fffaf6}
@media(max-width:640px){body.srmh-cart .srmh-continue{float:none;display:flex;justify-content:center;margin:10px 0 0}}

/* ===== v2.9.3 – force a clean page background (theme / Customizer colours were showing through) ===== */
html.srmh-cc-html,body.srmh-cc,body.srmh-cc #page,body.srmh-cc .site,body.srmh-cc #content,body.srmh-cc .site-content,body.srmh-cc .ast-container,body.srmh-cc #primary,body.srmh-cc #main,body.srmh-cc .entry-content,body.srmh-cc .ast-article-single,body.srmh-cc article.page,body.srmh-cc .ast-separate-container,body.srmh-cc .ast-separate-container #primary{background:#f5f6f8!important;background-image:none!important}
body.srmh-cc .site-footer,body.srmh-cc .ast-small-footer,body.srmh-cc .site-below-footer-wrap,body.srmh-cc .site-primary-footer-wrap{background:#fff!important}
/* keep the theme header in normal flow so the page never slides under it, and give the content room */
body.srmh-cc #masthead,body.srmh-cc .ast-theme-transparent-header #masthead,body.srmh-cc .ast-theme-transparent-header .main-header-bar,body.srmh-cc .ast-primary-header-bar{position:relative!important;top:auto!important}
body.srmh-cc .site-content{padding-top:0!important;padding-bottom:20px!important;min-height:0!important}
body.srmh-cc #primary{width:100%!important;max-width:100%!important;margin-top:0!important}
body.srmh-cc #secondary{display:none!important}
body.srmh-cc .ast-container{display:block;max-width:1240px}
body.srmh-cc .woocommerce{padding-top:6px;position:relative;z-index:1}

/* ===== v2.9.5 – hide theme header/footer, make sure the page scrolls normally ===== */
body.srmh-cc #masthead,body.srmh-cc .site-header,body.srmh-cc header.site-header,body.srmh-cc #ast-mobile-header,body.srmh-cc .ast-mobile-header-wrap,body.srmh-cc .main-header-bar-wrap,body.srmh-cc .ast-above-header-wrap,body.srmh-cc .ast-below-header-wrap,body.srmh-cc #colophon,body.srmh-cc .site-footer,body.srmh-cc footer.site-footer,body.srmh-cc #ast-scroll-top,body.srmh-cc .ast-breadcrumbs-wrapper,body.srmh-cc .ast-single-post-order>header.entry-header{display:none!important}
html.srmh-cc-html,html.srmh-cc-html body.srmh-cc{overflow-x:hidden!important;overflow-y:auto!important;height:auto!important;min-height:0!important;position:static!important}
body.srmh-cc #page,body.srmh-cc .hfeed.site{min-height:0!important;height:auto!important;overflow:visible!important;display:block!important}
body.srmh-cc .srmh-cc-top{max-width:1180px;margin:0 auto 18px;padding:0 4px}
body.srmh-cc .srmh-cc-top .srmh-header{margin-top:14px}
.srmh-cc-foot{text-align:center;color:#6b7686;font-size:13px;padding:34px 0 16px}
body.srmh-cc .entry-content>.srmh-cc-top,body.srmh-cc .entry-content>.woocommerce,body.srmh-cc .entry-content>.srmh-cc-foot{max-width:1180px}
