/*
Theme Name: ISO Metrik Dental Labs V6 Complete — Resources HD Images
Theme URI: https://isometrikdentallabs.com/
Author: ISO Metrik Dental Labs
Description: ISO Metrik Dental Labs Version 6 with completed General Public registration, verification email/resend workflow, private customer account area, Provider/Clinic accounts, WooCommerce, account administration, custom registration databases, and the approved-provider 3D print portal.
Version: 2.6.43
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: isometrik-dental
*/

/* WordPress / WooCommerce integration */
.admin-bar .mainnav{top:32px}
.woocommerce-notices-wrapper{width:min(1120px,calc(100% - 48px));margin:20px auto 0}.woocommerce-message,.woocommerce-info,.woocommerce-error{border:1px solid #dce6ef;border-radius:9px;padding:14px 18px;background:#f8fbff;color:#18314f;list-style:none}.woocommerce-message a.button,.woocommerce-info a.button{float:right;color:#0668d8;font-weight:700}.woocommerce-pagination{margin:28px 0}.woocommerce-pagination ul{list-style:none;display:flex;gap:8px;justify-content:center;padding:0}.woocommerce-pagination a,.woocommerce-pagination span{display:flex;width:34px;height:34px;border:1px solid #dbe6f1;border-radius:6px;align-items:center;justify-content:center}.woocommerce-pagination .current{background:#0668d8;color:#fff;border-color:#0668d8}.woocommerce .quantity input.qty{width:70px;padding:10px;border:1px solid #dce6ef;border-radius:6px}.woocommerce button.button,.woocommerce a.button,.woocommerce input.button{background:#0668d8;color:#fff;border:0;border-radius:7px;padding:11px 18px;font-weight:700}.woocommerce div.product{width:min(1120px,calc(100% - 48px));margin:45px auto}.woocommerce div.product .summary{padding:15px 0}.woocommerce div.product .product_title{color:#0a3a79;font-size:36px}.woocommerce div.product p.price{color:#0b54a2;font-size:28px;font-weight:800}.woocommerce div.product div.images img{border-radius:14px}.woocommerce-tabs,.related.products{margin-top:40px}.woocommerce-cart-form,.cart-collaterals,.woocommerce-checkout,.woocommerce-account{width:min(1120px,calc(100% - 48px));margin:45px auto}.woocommerce table.shop_table{border-collapse:collapse;width:100%;border:1px solid #dce6ef;border-radius:10px;overflow:hidden}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:13px;border-bottom:1px solid #e5edf5;text-align:left}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{padding:11px;border:1px solid #d4e0eb;border-radius:6px;width:100%}
@media(max-width:782px){.admin-bar .mainnav{top:46px}}


/* ISO Metrik Dental Labs — exact front-page composition based on supplied reference */
body.home-page, body.home {font-family:"Inter", Arial, sans-serif; color:#243a56; background:#fff; overflow-x:hidden;}
body.home-page .container, body.home .container {width:calc(100% - 104px); max-width:1060px; margin:0 auto;}
body.home-page .topbar .container, body.home .topbar .container,
body.home-page .mainnav .container, body.home .mainnav .container {width:calc(100% - 78px); max-width:1120px;}
body.home-page .topbar, body.home .topbar{height:31px;background:#f7f9fc;border-bottom:1px solid #edf2f7;font-size:9.6px;color:#163c6d;}
body.home-page .topbar .container, body.home .topbar .container{height:100%;display:flex;align-items:center;justify-content:space-between;}
body.home-page .topbar-left,body.home-page .topbar-right,body.home .topbar-left,body.home .topbar-right{gap:27px;display:flex;align-items:center;white-space:nowrap;}
body.home-page .topbar a,body.home .topbar a{display:inline-flex;align-items:center;gap:6px;color:#163c6d;white-space:nowrap;}
body.home-page .topbar .ico,body.home .topbar .ico{width:14px;height:14px;color:#0d467f;}
body.home-page .topbar svg,body.home .topbar svg{width:100%;height:100%;stroke:#0d467f !important;fill:none !important;stroke-width:1.75;}
body.home-page .mainnav,body.home .mainnav{height:72px;position:relative;top:auto;border-bottom:1px solid #f1f4f7;background:#fff;z-index:30;}
body.home-page .navinner,body.home .navinner{height:100%;display:flex;align-items:center;}
body.home-page .brand img,body.home .brand img{width:145px;height:48px;object-fit:contain;object-position:left center;}
body.home-page .navlinks,body.home .navlinks{margin-left:auto;display:flex;align-items:center;gap:31px;font-size:10.5px;color:#1c314f;white-space:nowrap;}
body.home-page .navlinks a,body.home .navlinks a{padding:28px 0 25px;white-space:nowrap;line-height:1;}
body.home-page .nav-cta,body.home .nav-cta{margin-left:29px !important;min-width:103px;height:36px;padding:0 18px !important;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;background:#43a447;color:#fff!important;box-shadow:none;font-size:10.4px;}
body.home-page .menu-btn,body.home .menu-btn{display:none;}

body.home-page .home-v2-hero,body.home .home-v2-hero{height:474px;position:relative;overflow:hidden;background:linear-gradient(90deg,#f8fbff 0%,#fff 50%,#f5f9fd 100%);}
body.home-page .home-v2-hero-photo,body.home .home-v2-hero-photo{position:absolute;right:0;top:0;width:58.9%;height:100%;object-fit:cover;object-position:left top;z-index:1;}
body.home-page .home-v2-ghost,body.home .home-v2-ghost{position:absolute;left:0;bottom:0;width:36.0%;height:126px;object-fit:cover;object-position:left bottom;opacity:.90;z-index:1;pointer-events:none;}
body.home-page .home-v2-hero-inner,body.home .home-v2-hero-inner{height:100%;position:relative;z-index:2;}
body.home-page .home-v2-copy,body.home .home-v2-copy{padding-top:84px;width:325px;}
body.home-page .home-v2-eyebrow,body.home .home-v2-eyebrow{font-size:11.3px;line-height:1.2;font-weight:800;color:#0470db;text-transform:uppercase;margin-bottom:15px;letter-spacing:.01em;}
body.home-page .home-v2-copy h1,body.home .home-v2-copy h1{font-size:45px;line-height:1.05;letter-spacing:-1.35px;font-weight:650;color:#0a3b78;margin:0 0 17px;}
body.home-page .home-v2-copy>p,body.home .home-v2-copy>p{font-size:12px;line-height:1.62;color:#344c68;margin:0 0 17px;}
body.home-page .home-v2-buttons,body.home .home-v2-buttons{display:flex;gap:15px;}
body.home-page .home-v2-btn,body.home .home-v2-btn{height:34px;min-width:121px;padding:0 16px;border-radius:6px;font-size:10.2px;line-height:1;font-weight:700;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;transition:.18s ease;}
body.home-page .home-v2-btn.primary,body.home .home-v2-btn.primary{background:#0868d4;color:#fff;border:1px solid #0868d4;}
body.home-page .home-v2-btn.outline,body.home .home-v2-btn.outline{background:#fff;color:#075fbf;border:1px solid #0868d4;}
body.home-page .home-v2-btn:hover,body.home .home-v2-btn:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(0,91,190,.16);}

body.home-page .home-v2-steps,body.home .home-v2-steps{height:136px;background:#fbfdff;border-top:1px solid #eff4f9;border-bottom:1px solid #eff4f9;}
body.home-page .home-v2-steps-grid,body.home .home-v2-steps-grid{height:100%;display:grid;grid-template-columns:repeat(3,1fr);}
body.home-page .home-v2-step,body.home .home-v2-step{height:100%;display:grid;grid-template-columns:64px 1fr;align-items:center;position:relative;padding:0 14px 0 12px;}
body.home-page .home-v2-step:not(:last-child):after,body.home .home-v2-step:not(:last-child):after{content:"";position:absolute;right:0;top:25px;bottom:24px;width:1px;background:#d9e4ef;}
body.home-page .home-v2-num,body.home .home-v2-num{position:absolute;left:11px;top:25px;width:23px;height:23px;border-radius:50%;background:#075fba;color:#fff;font-size:10.5px;font-weight:800;display:flex;align-items:center;justify-content:center;z-index:2;}
body.home-page .home-v2-step>.home-v2-icon,body.home .home-v2-step>.home-v2-icon{width:48px;height:48px;margin-top:16px;color:#0867d3;}
body.home-page .home-v2-icon svg,body.home .home-v2-icon svg{width:100%;height:100%;stroke:#0867d3 !important;fill:none !important;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;}
body.home-page .home-v2-feature.green .home-v2-icon svg,body.home .home-v2-feature.green .home-v2-icon svg{stroke:#249459 !important;}
body.home-page .home-v2-step h3,body.home .home-v2-step h3{font-size:11.1px;line-height:1.25;color:#083b78;margin:0 0 8px;font-weight:700;white-space:nowrap;}
body.home-page .home-v2-step p,body.home .home-v2-step p{font-size:8.9px;line-height:1.7;color:#53667b;margin:0;}

body.home-page .home-v2-products,body.home .home-v2-products{height:212px;background:#fff;padding:30px 0 22px;}
body.home-page .home-v2-product-grid,body.home .home-v2-product-grid{height:160px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
body.home-page .home-v2-product,body.home .home-v2-product{height:160px;border:1px solid #dce5ef;border-radius:10px;background:#fff;box-shadow:0 5px 13px rgba(30,55,88,.08);display:grid;grid-template-columns:42% 58%;overflow:hidden;transition:.17s ease;color:inherit;}
body.home-page .home-v2-product:hover,body.home .home-v2-product:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(30,55,88,.12);}
body.home-page .home-v2-product-image,body.home .home-v2-product-image{height:160px;background:#f6f8fb;overflow:hidden;}
body.home-page .home-v2-product-image img,body.home .home-v2-product-image img{width:100%;height:100%;object-fit:cover;object-position:center;}
body.home-page .home-v2-product-copy,body.home .home-v2-product-copy{padding:10px 8px 8px 11px;min-width:0;}
body.home-page .home-v2-product-copy h3,body.home .home-v2-product-copy h3{margin:0 0 7px;color:#093b78;font-size:11.9px;line-height:1.2;font-weight:700;}
body.home-page .home-v2-product-copy p,body.home .home-v2-product-copy p{margin:0 0 7px;font-size:8.25px;line-height:1.5;color:#53657b;}
body.home-page .home-v2-product-copy ul,body.home .home-v2-product-copy ul{margin:0 0 6px;padding:0;list-style:none;font-size:8.15px;line-height:1.65;color:#4c6076;}
body.home-page .home-v2-product-copy li:before,body.home .home-v2-product-copy li:before{content:"✓";color:#3ea85b;font-weight:900;margin-right:5px;}
body.home-page .home-v2-product-copy strong,body.home .home-v2-product-copy strong{display:block;color:#0764c9;font-size:8.5px;line-height:1.25;white-space:nowrap;}

body.home-page .home-v2-features,body.home .home-v2-features{height:99px;background:#f3f8fd;border-top:1px solid #e7eef6;border-bottom:1px solid #e7eef6;}
body.home-page .home-v2-feature-grid,body.home .home-v2-feature-grid{height:100%;display:grid;grid-template-columns:repeat(4,1fr);}
body.home-page .home-v2-feature,body.home .home-v2-feature{height:100%;display:grid;grid-template-columns:46px 1fr;gap:11px;align-items:center;padding:0 13px;position:relative;}
body.home-page .home-v2-feature:not(:last-child):after,body.home .home-v2-feature:not(:last-child):after{content:"";position:absolute;right:0;top:22px;bottom:22px;width:1px;background:#dce6f0;}
body.home-page .home-v2-feature>.home-v2-icon,body.home .home-v2-feature>.home-v2-icon{width:42px;height:42px;}
body.home-page .home-v2-feature h4,body.home .home-v2-feature h4{margin:0 0 3px;color:#083c7a;font-size:9.5px;line-height:1.2;}
body.home-page .home-v2-feature p,body.home .home-v2-feature p{margin:0;font-size:7.9px;line-height:1.5;color:#54677d;}

body.home-page .home-v2-testimonial-wrap,body.home .home-v2-testimonial-wrap{height:178px;background:#fff;}
body.home-page .home-v2-testimonial,body.home .home-v2-testimonial{height:100%;display:grid;grid-template-columns:45px 120px 1fr 45px;column-gap:17px;align-items:center;padding:0 42px;}
body.home-page .home-v2-arrow,body.home .home-v2-arrow{width:30px;height:30px;border-radius:50%;border:0;background:#f1f6fc;color:#0c60bc;font-size:24px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.15s ease;padding:0;}
body.home-page .home-v2-arrow:hover,body.home .home-v2-arrow:hover{background:#e5f0fb;transform:scale(1.05);}
body.home-page .home-v2-avatar,body.home .home-v2-avatar{width:112px;height:112px;border-radius:50%;object-fit:cover;}
body.home-page .home-v2-quote-block,body.home .home-v2-quote-block{position:relative;padding-left:12px;min-width:0;}
body.home-page .home-v2-quote-mark,body.home .home-v2-quote-mark{position:absolute;left:-13px;top:-14px;color:#c9def5;font-size:50px;font-weight:700;line-height:1;}
body.home-page .home-v2-quote,body.home .home-v2-quote{font-size:10.4px;line-height:1.52;color:#40536b;margin:0 0 8px;white-space:nowrap;}
body.home-page .home-v2-stars,body.home .home-v2-stars{color:#ffb000;letter-spacing:1.5px;font-size:17px;line-height:1;margin-bottom:6px;}
body.home-page .home-v2-customer,body.home .home-v2-customer{font-size:8.8px;font-weight:700;color:#354b66;margin-bottom:2px;}
body.home-page .home-v2-verified,body.home .home-v2-verified{font-size:7.7px;color:#75869a;}
body.home-page .home-v2-dots,body.home .home-v2-dots{display:flex;gap:5px;justify-content:center;margin-top:4px;}
body.home-page .home-v2-dots button,body.home .home-v2-dots button{width:5px;height:5px;border:0;border-radius:50%;background:#ccd8e7;padding:0;cursor:pointer;}
body.home-page .home-v2-dots button.active,body.home .home-v2-dots button.active{background:#0870dd;}

body.home-page .home-v2-process,body.home .home-v2-process{height:268px;background:#fbfdff;border-top:1px solid #edf2f8;padding-top:17px;text-align:center;}
body.home-page .home-v2-process-eyebrow,body.home .home-v2-process-eyebrow{text-transform:uppercase;color:#0768d1;font-size:9px;font-weight:800;margin-bottom:3px;}
body.home-page .home-v2-process h2,body.home .home-v2-process h2{margin:0;color:#0a3b78;font-size:20px;line-height:1.2;font-weight:700;}
body.home-page .home-v2-process-grid,body.home .home-v2-process-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:17px;margin-top:18px;}
body.home-page .home-v2-process-item,body.home .home-v2-process-item{position:relative;text-align:center;}
body.home-page .home-v2-process-item:not(:last-child):after,body.home .home-v2-process-item:not(:last-child):after{content:"";position:absolute;top:31px;right:-19px;width:39px;border-top:1.5px dashed #b9cfe7;}
body.home-page .home-v2-process-item>.home-v2-icon,body.home .home-v2-process-item>.home-v2-icon{width:62px;height:62px;border-radius:50%;background:#eef6ff;margin:0 auto 7px;padding:10px;color:#0867d3;}
body.home-page .home-v2-process-item h4,body.home .home-v2-process-item h4{margin:0 0 4px;color:#0a3c79;font-size:8.9px;line-height:1.25;}
body.home-page .home-v2-process-item p,body.home .home-v2-process-item p{margin:0;color:#53667c;font-size:7.7px;line-height:1.48;}
body.home-page .home-v2-process-btn,body.home .home-v2-process-btn{height:35px;min-width:191px;padding:0 19px;background:#0867d1;color:#fff;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;margin-top:13px;font-size:8.7px;font-weight:700;transition:.18s ease;}

body.home-page .home-v2-footer,body.home .footer{height:213px;min-height:213px;padding:21px 0 10px;background:linear-gradient(125deg,#073c79 0%,#043870 55%,#073366 100%);color:#fff;}
body.home-page .home-v2-footer .container,body.home .footer .container{width:calc(100% - 128px);max-width:1030px;}
body.home-page .footer-grid,body.home .footer-grid{display:grid;grid-template-columns:1.35fr .78fr .82fr 1.28fr;gap:42px;}
body.home-page .footer-logo img,body.home .footer-logo img{width:136px;height:auto;filter:brightness(0) invert(1);}
body.home-page .footer-logo p,body.home .footer-logo p{font-size:8.2px;line-height:1.5;margin:10px 0 0;color:#d8e7f5;}
body.home-page .footer h5,body.home .footer h5{font-size:9px;margin:0 0 8px;color:#fff;}
body.home-page .footer ul,body.home .footer ul{gap:3px;font-size:8.1px;line-height:1.35;color:#eef6ff;}
body.home-page .social,body.home .social{gap:7px;margin-top:9px;display:flex;}
body.home-page .social a,body.home .social a{width:21px;height:21px;border:1.4px solid #e6f0fa;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:7px;font-weight:800;color:#fff;}
body.home-page .footer-grid>div:last-child p,body.home .footer-grid>div:last-child p{font-size:8px;line-height:1.45;margin:0;color:#d8e7f5;}
body.home-page .newsletter,body.home .newsletter{display:flex;margin-top:8px;height:28px;}
body.home-page .newsletter input,body.home .newsletter input{height:28px;font-size:7.6px;padding:0 9px;border:0;border-radius:4px 0 0 4px;min-width:0;}
body.home-page .newsletter button,body.home .newsletter button{height:28px;font-size:7.6px;padding:0 13px;background:#4ca943;color:#fff;border:0;border-radius:0 4px 4px 0;}
body.home-page .footer-bottom,body.home .footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:12px;padding-top:8px;font-size:7.5px;color:#cdddee;display:flex;justify-content:space-between;}
body.home-page .footer-text-link,body.home .footer-text-link{border:0;background:transparent;padding:0;color:inherit;font:inherit;cursor:pointer;text-align:left;}

/* Exact design scales down/up fluidly until the mobile breakpoint. */
@media (min-width:936px){
  body.home-page .home-v2-copy,body.home .home-v2-copy{width:350px;}
}
@media (max-width:900px){
 body.home-page .container,body.home .container,body.home-page .topbar .container,body.home .topbar .container,body.home-page .mainnav .container,body.home .mainnav .container{width:calc(100% - 34px);}
 body.home-page .topbar,body.home .topbar{height:auto;min-height:34px;padding:7px 0;}
 body.home-page .topbar-right,body.home .topbar-right{display:none;}
 body.home-page .mainnav,body.home .mainnav{height:68px;}
 body.home-page .brand img,body.home .brand img{width:142px;}
 body.home-page .menu-btn,body.home .menu-btn{display:block;margin-left:auto;background:none;border:0;color:#0a3b78;font-size:25px;}
 body.home-page .navlinks,body.home .navlinks{display:none;position:absolute;left:0;right:0;top:68px;background:#fff;box-shadow:0 10px 24px rgba(10,48,84,.12);padding:15px 22px;z-index:60;gap:0;flex-direction:column;align-items:stretch;font-size:13px;}
 body.home-page .navlinks.open,body.home .navlinks.open{display:flex;}
 body.home-page .navlinks a,body.home .navlinks a{padding:12px 0;border-bottom:1px solid #edf2f7;}
 body.home-page .nav-cta,body.home .nav-cta{margin:12px 0 2px!important;width:100%;height:42px;}
 body.home-page .home-v2-hero,body.home .home-v2-hero{height:auto;display:flex;flex-direction:column;}
 body.home-page .home-v2-hero-inner,body.home .home-v2-hero-inner{height:auto;order:1;}
 body.home-page .home-v2-copy,body.home .home-v2-copy{padding:48px 0 35px;width:auto;}
 body.home-page .home-v2-copy h1,body.home .home-v2-copy h1{font-size:44px;}
 body.home-page .home-v2-hero-photo,body.home .home-v2-hero-photo{position:relative;order:2;width:100%;height:auto;aspect-ratio:1.18/1;object-fit:cover;object-position:center top;}
 body.home-page .home-v2-ghost,body.home .home-v2-ghost{display:none;}
 body.home-page .home-v2-steps,body.home .home-v2-steps,body.home-page .home-v2-products,body.home .home-v2-products,body.home-page .home-v2-features,body.home .home-v2-features,body.home-page .home-v2-testimonial-wrap,body.home .home-v2-testimonial-wrap,body.home-page .home-v2-process,body.home .home-v2-process,body.home-page .home-v2-footer,body.home .footer{height:auto;min-height:0;}
 body.home-page .home-v2-steps-grid,body.home .home-v2-steps-grid{grid-template-columns:1fr;}
 body.home-page .home-v2-step,body.home .home-v2-step{min-height:126px;padding:18px 8px 18px 58px;grid-template-columns:55px 1fr;}
 body.home-page .home-v2-step:not(:last-child):after,body.home .home-v2-step:not(:last-child):after{left:0;right:0;top:auto;bottom:0;width:auto;height:1px;}
 body.home-page .home-v2-num,body.home .home-v2-num{left:5px;top:23px;}
 body.home-page .home-v2-step h3,body.home .home-v2-step h3{white-space:normal;font-size:13px;}
 body.home-page .home-v2-step p,body.home .home-v2-step p{font-size:10.5px;}
 body.home-page .home-v2-products,body.home .home-v2-products{padding:25px 0;}
 body.home-page .home-v2-product-grid,body.home .home-v2-product-grid{height:auto;grid-template-columns:1fr;}
 body.home-page .home-v2-product,body.home .home-v2-product{height:190px;grid-template-columns:42% 58%;}
 body.home-page .home-v2-product-image,body.home .home-v2-product-image{height:190px;}
 body.home-page .home-v2-product-copy h3,body.home .home-v2-product-copy h3{font-size:15px;}
 body.home-page .home-v2-product-copy p,body.home .home-v2-product-copy p,body.home-page .home-v2-product-copy ul,body.home .home-v2-product-copy ul{font-size:10px;}
 body.home-page .home-v2-feature-grid,body.home .home-v2-feature-grid{grid-template-columns:1fr 1fr;}
 body.home-page .home-v2-feature,body.home .home-v2-feature{min-height:100px;}
 body.home-page .home-v2-feature:nth-child(2):after,body.home .home-v2-feature:nth-child(2):after{display:none;}
 body.home-page .home-v2-testimonial,body.home .home-v2-testimonial{grid-template-columns:36px 82px 1fr 36px;padding:28px 0;column-gap:10px;}
 body.home-page .home-v2-avatar,body.home .home-v2-avatar{width:78px;height:78px;}
 body.home-page .home-v2-quote,body.home .home-v2-quote{white-space:normal;font-size:10px;}
 body.home-page .home-v2-process,body.home .home-v2-process{padding:28px 0 34px;}
 body.home-page .home-v2-process-grid,body.home .home-v2-process-grid{grid-template-columns:1fr 1fr;gap:26px 12px;}
 body.home-page .home-v2-process-item:not(:last-child):after,body.home .home-v2-process-item:not(:last-child):after{display:none;}
 body.home-page .home-v2-process-item:last-child,body.home .home-v2-process-item:last-child{grid-column:1/-1;}
 body.home-page .home-v2-process-item h4,body.home .home-v2-process-item h4{font-size:10px;}
 body.home-page .home-v2-process-item p,body.home .home-v2-process-item p{font-size:8.8px;}
 body.home-page .home-v2-process-btn,body.home .home-v2-process-btn{margin-top:22px;}
 body.home-page .home-v2-footer,body.home .footer{padding:30px 0 18px;}
 body.home-page .home-v2-footer .container,body.home .footer .container{width:calc(100% - 34px);}
 body.home-page .footer-grid,body.home .footer-grid{grid-template-columns:1fr 1fr;gap:28px;}
 body.home-page .footer-bottom,body.home .footer-bottom{flex-direction:column;gap:8px;}
}
@media (max-width:560px){
 body.home-page .topbar-left a:nth-child(2),body.home .topbar-left a:nth-child(2){display:none;}
 body.home-page .home-v2-copy h1,body.home .home-v2-copy h1{font-size:38px;}
 body.home-page .home-v2-feature-grid,body.home .home-v2-feature-grid{grid-template-columns:1fr;}
 body.home-page .home-v2-feature:after,body.home .home-v2-feature:after{left:0;right:0;top:auto;bottom:0;width:auto;height:1px;}
 body.home-page .home-v2-testimonial,body.home .home-v2-testimonial{grid-template-columns:28px 64px 1fr 28px;}
 body.home-page .home-v2-avatar,body.home .home-v2-avatar{width:62px;height:62px;}
 body.home-page .home-v2-stars,body.home .home-v2-stars{font-size:14px;}
 body.home-page .footer-grid,body.home .footer-grid{grid-template-columns:1fr;}
}


/* 2026-08-17: hero banner alignment correction using the supplied full-width 2:1 banner. */
@media screen and (min-width:901px){
  body.home-page .home-v2-hero, body.home .home-v2-hero{
    height:470px !important;
    position:relative !important;
    overflow:hidden !important;
    background:#f8fbff !important;
    display:block !important;
  }
  body.home-page .home-v2-hero-photo, body.home .home-v2-hero-photo{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    object-fit:cover !important;
    object-position:center center !important;
    margin:0 !important;
    z-index:1 !important;
  }
  body.home-page .home-v2-ghost, body.home .home-v2-ghost{display:none !important;}
  body.home-page .home-v2-hero-inner, body.home .home-v2-hero-inner{
    position:relative !important;
    z-index:2 !important;
    height:100% !important;
  }
  body.home-page .home-v2-copy, body.home .home-v2-copy{
    padding-top:83px !important;
    width:340px !important;
  }
}
@media screen and (max-width:900px){
  body.home-page .home-v2-hero, body.home .home-v2-hero{
    height:auto !important;
    min-height:0 !important;
    display:flex !important;
    flex-direction:column !important;
    background:#f8fbff !important;
  }
  body.home-page .home-v2-hero-inner, body.home .home-v2-hero-inner{
    order:1 !important;
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    height:auto !important;
  }
  body.home-page .home-v2-copy, body.home .home-v2-copy{
    width:auto !important;
    padding:42px 0 32px !important;
  }
  body.home-page .home-v2-hero-photo, body.home .home-v2-hero-photo{
    order:2 !important;
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    height:auto !important;
    aspect-ratio:2/1 !important;
    object-fit:cover !important;
    object-position:center center !important;
    margin:0 !important;
  }
  body.home-page .home-v2-ghost, body.home .home-v2-ghost{display:none !important;}
}
@media screen and (max-width:600px){
  body.home-page .home-v2-hero-photo, body.home .home-v2-hero-photo{
    aspect-ratio:1.25/1 !important;
    object-position:72% center !important;
  }
}


/* ========================================================================
   V5 HOME PAGE — FINAL REFERENCE CALIBRATION
   Calibrated against the supplied 941 × 1672 homepage artwork.
   The photo is one full independent image layer; all copy/buttons remain HTML.
   ======================================================================== */
body.home-page, body.home{
  --imd-font:'Lato','Avenir Next','Helvetica Neue',Arial,sans-serif;
  font-family:var(--imd-font)!important;
  color:#243a56;
}
body.home-page *, body.home *{font-family:inherit}

@media (min-width:901px){
  /* exact vertical bands at the 941px reference width */
  body.home-page .topbar, body.home .topbar{height:31px!important;min-height:31px!important;font-size:10.2px!important}
  body.home-page .mainnav, body.home .mainnav{height:70px!important;min-height:70px!important}
  body.home-page .home-v2-hero, body.home .home-v2-hero{height:50.69vw!important;min-height:0!important;max-height:none!important}
  body.home-page .home-v2-steps, body.home .home-v2-steps{height:146px!important}
  body.home-page .home-v2-products, body.home .home-v2-products{height:229px!important;padding:31px 0 28px!important}
  body.home-page .home-v2-features, body.home .home-v2-features{height:96px!important}
  body.home-page .home-v2-testimonial-wrap, body.home .home-v2-testimonial-wrap{height:178px!important}
  body.home-page .home-v2-process, body.home .home-v2-process{height:274px!important;padding-top:17px!important}
  body.home-page .footer, body.home .footer{height:171px!important;min-height:171px!important;padding:17px 0 7px!important}

  /* header */
  body.home-page .topbar .container, body.home .topbar .container,
  body.home-page .mainnav .container, body.home .mainnav .container{width:calc(100% - 78px)!important;max-width:none!important}
  body.home-page .topbar-left,body.home-page .topbar-right,body.home .topbar-left,body.home .topbar-right{gap:27px!important}
  body.home-page .topbar .ico,body.home .topbar .ico{width:14px!important;height:14px!important}
  body.home-page .brand img,body.home .brand img{width:145px!important;height:50px!important;object-fit:contain!important;object-position:left center!important}
  body.home-page .navlinks,body.home .navlinks{margin-left:auto!important;gap:36px!important;font-size:11.1px!important;font-weight:400!important;color:#1b304d!important}
  body.home-page .navlinks a,body.home .navlinks a{padding:27px 0 25px!important}
  body.home-page .nav-cta,body.home .nav-cta{margin-left:6px!important;width:102px!important;min-width:102px!important;height:35px!important;padding:0 12px!important;border-radius:6px!important;font-size:10.8px!important;font-weight:700!important}

  /* hero — exact supplied banner stretched into the exact reference hero band */
  body.home-page .home-v2-hero-photo,body.home .home-v2-hero-photo{
    position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
    object-fit:fill!important;object-position:center center!important;z-index:1!important;
  }
  body.home-page .home-v2-hero-inner,body.home .home-v2-hero-inner{width:calc(100% - 98px)!important;max-width:none!important;height:100%!important;margin:0 auto!important;position:relative!important;z-index:2!important}
  body.home-page .home-v2-copy,body.home .home-v2-copy{width:330px!important;padding-top:78px!important}
  body.home-page .home-v2-eyebrow,body.home .home-v2-eyebrow{font-size:13px!important;line-height:1.15!important;font-weight:700!important;letter-spacing:.02em!important;color:#006bd9!important;margin:0 0 14px!important}
  body.home-page .home-v2-copy h1,body.home .home-v2-copy h1{font-family:var(--imd-font)!important;font-size:44px!important;line-height:1.075!important;font-weight:700!important;letter-spacing:0!important;color:#0a3b78!important;margin:0 0 17px!important}
  body.home-page .home-v2-copy>p,body.home .home-v2-copy>p{font-size:14px!important;line-height:1.55!important;font-weight:400!important;letter-spacing:0!important;color:#34465c!important;margin:0 0 17px!important}
  body.home-page .home-v2-buttons,body.home .home-v2-buttons{gap:15px!important}
  body.home-page .home-v2-btn,body.home .home-v2-btn{height:35px!important;min-width:124px!important;padding:0 17px!important;border-radius:6px!important;font-size:11.3px!important;line-height:1!important;font-weight:700!important}
  body.home-page .home-v2-btn.outline,body.home .home-v2-btn.outline{min-width:119px!important}

  /* 3-step band */
  body.home-page .home-v2-steps .container,body.home .home-v2-steps .container{width:calc(100% - 77px)!important;max-width:none!important}
  body.home-page .home-v2-step,body.home .home-v2-step{grid-template-columns:65px 1fr!important;padding:0 16px 0 11px!important}
  body.home-page .home-v2-num,body.home .home-v2-num{left:11px!important;top:27px!important;width:24px!important;height:24px!important;font-size:11px!important;font-weight:700!important}
  body.home-page .home-v2-step>.home-v2-icon,body.home .home-v2-step>.home-v2-icon{width:49px!important;height:49px!important;margin-top:16px!important}
  body.home-page .home-v2-step h3,body.home .home-v2-step h3{font-size:11.7px!important;line-height:1.24!important;font-weight:700!important;letter-spacing:0!important;margin:0 0 8px!important}
  body.home-page .home-v2-step p,body.home .home-v2-step p{font-size:9.35px!important;line-height:1.62!important;font-weight:400!important;color:#52657b!important}

  /* product cards */
  body.home-page .home-v2-products .container,body.home .home-v2-products .container{width:calc(100% - 77px)!important;max-width:none!important}
  body.home-page .home-v2-product-grid,body.home .home-v2-product-grid{height:163px!important;gap:13px!important}
  body.home-page .home-v2-product,body.home .home-v2-product{height:163px!important;grid-template-columns:42.7% 57.3%!important}
  body.home-page .home-v2-product-image,body.home .home-v2-product-image{height:163px!important}
  body.home-page .home-v2-product-copy,body.home .home-v2-product-copy{padding:10px 8px 8px 11px!important}
  body.home-page .home-v2-product-copy h3,body.home .home-v2-product-copy h3{font-size:12.1px!important;line-height:1.2!important;font-weight:700!important;margin:0 0 7px!important}
  body.home-page .home-v2-product-copy p,body.home .home-v2-product-copy p{font-size:8.45px!important;line-height:1.48!important;margin:0 0 7px!important}
  body.home-page .home-v2-product-copy ul,body.home .home-v2-product-copy ul{font-size:8.25px!important;line-height:1.62!important;margin:0 0 6px!important}
  body.home-page .home-v2-product-copy strong,body.home .home-v2-product-copy strong{font-size:8.8px!important;font-weight:700!important}

  /* 4-feature band */
  body.home-page .home-v2-features .container,body.home .home-v2-features .container{width:calc(100% - 98px)!important;max-width:none!important}
  body.home-page .home-v2-feature,body.home .home-v2-feature{grid-template-columns:45px 1fr!important;gap:11px!important;padding:0 13px!important}
  body.home-page .home-v2-feature>.home-v2-icon,body.home .home-v2-feature>.home-v2-icon{width:42px!important;height:42px!important}
  body.home-page .home-v2-feature h4,body.home .home-v2-feature h4{font-size:9.7px!important;line-height:1.2!important;font-weight:700!important;margin:0 0 3px!important}
  body.home-page .home-v2-feature p,body.home .home-v2-feature p{font-size:8px!important;line-height:1.48!important}

  /* testimonial */
  body.home-page .home-v2-testimonial-wrap .container,body.home .home-v2-testimonial-wrap .container{width:calc(100% - 104px)!important;max-width:none!important}
  body.home-page .home-v2-testimonial,body.home .home-v2-testimonial{grid-template-columns:45px 120px 1fr 45px!important;column-gap:16px!important;padding:0 18px!important}
  body.home-page .home-v2-avatar,body.home .home-v2-avatar{width:116px!important;height:116px!important;object-fit:cover!important;object-position:center!important}
  body.home-page .home-v2-quote,body.home .home-v2-quote{font-size:10.7px!important;line-height:1.5!important;font-weight:400!important;margin:0 0 8px!important}
  body.home-page .home-v2-quote-mark,body.home .home-v2-quote-mark{font-family:Georgia,serif!important;left:-13px!important;top:-15px!important;font-size:52px!important}
  body.home-page .home-v2-stars,body.home .home-v2-stars{font-size:18px!important;letter-spacing:1px!important;margin-bottom:6px!important}
  body.home-page .home-v2-customer,body.home .home-v2-customer{font-size:9px!important;font-weight:700!important}
  body.home-page .home-v2-verified,body.home .home-v2-verified{font-size:7.9px!important}

  /* 5-step process */
  body.home-page .home-v2-process .container,body.home .home-v2-process .container{width:calc(100% - 124px)!important;max-width:none!important}
  body.home-page .home-v2-process-eyebrow,body.home .home-v2-process-eyebrow{font-size:9.3px!important;font-weight:700!important}
  body.home-page .home-v2-process h2,body.home .home-v2-process h2{font-size:20.7px!important;line-height:1.2!important;font-weight:700!important;letter-spacing:0!important}
  body.home-page .home-v2-process-grid,body.home .home-v2-process-grid{gap:16px!important;margin-top:18px!important}
  body.home-page .home-v2-process-item h4,body.home .home-v2-process-item h4{font-size:9px!important;font-weight:700!important;margin:0 0 4px!important}
  body.home-page .home-v2-process-item p,body.home .home-v2-process-item p{font-size:7.85px!important;line-height:1.48!important}
  body.home-page .home-v2-process-btn,body.home .home-v2-process-btn{height:35px!important;min-width:191px!important;margin-top:13px!important;font-size:8.9px!important;font-weight:700!important}

  /* footer */
  body.home-page .footer .container,body.home .footer .container{width:calc(100% - 122px)!important;max-width:none!important}
  body.home-page .footer-grid,body.home .footer-grid{grid-template-columns:1.35fr .78fr .82fr 1.28fr!important;gap:42px!important}
  body.home-page .footer-logo img,body.home .footer-logo img{width:127px!important;filter:none!important}
  body.home-page .footer-logo p,body.home .footer-logo p{font-size:7.6px!important;line-height:1.45!important;margin:7px 0 0!important}
  body.home-page .footer h5,body.home .footer h5{font-size:8.4px!important;font-weight:700!important;margin:0 0 6px!important}
  body.home-page .footer ul,body.home .footer ul{font-size:7.5px!important;line-height:1.35!important;gap:2px!important}
  body.home-page .social,body.home .social{margin-top:7px!important;gap:7px!important}
  body.home-page .social a,body.home .social a{width:19px!important;height:19px!important;font-size:6.5px!important}
  body.home-page .footer-grid>div:last-child p,body.home .footer-grid>div:last-child p{font-size:7.45px!important;line-height:1.42!important}
  body.home-page .newsletter,body.home .newsletter{height:25px!important;margin-top:6px!important}
  body.home-page .newsletter input,body.home .newsletter input,body.home-page .newsletter button,body.home .newsletter button{height:25px!important;font-size:7.2px!important}
  body.home-page .footer-bottom,body.home .footer-bottom{margin-top:8px!important;padding-top:6px!important;font-size:7px!important}
}

@media (max-width:900px){
  body.home-page,body.home{font-family:var(--imd-font)!important}
  body.home-page .home-v2-copy h1,body.home .home-v2-copy h1{font-family:var(--imd-font)!important;font-weight:700!important;letter-spacing:0!important}
  body.home-page .home-v2-eyebrow,body.home .home-v2-eyebrow{font-weight:700!important}
  body.home-page .home-v2-hero-photo,body.home .home-v2-hero-photo{object-fit:cover!important;object-position:center top!important}
}

/* V5.1 visual-size correction after direct side-by-side comparison */
@media (min-width:901px){
  body.home-page .navlinks,body.home .navlinks{font-size:11.3px!important}
  body.home-page .home-v2-hero-photo,body.home .home-v2-hero-photo{left:-.96%!important;right:auto!important;top:-.84%!important;width:101.92%!important;height:101.68%!important}
  body.home-page .home-v2-copy h1,body.home .home-v2-copy h1{font-size:46px!important;line-height:1.095!important;font-weight:700!important;letter-spacing:-.1px!important;transform:scaleX(.975);transform-origin:left top}
  body.home-page .home-v2-eyebrow,body.home .home-v2-eyebrow{font-size:13.2px!important}
  body.home-page .home-v2-copy>p,body.home .home-v2-copy>p{font-size:14.2px!important;line-height:1.53!important;margin-top:-1px!important}
  body.home-page .home-v2-step h3,body.home .home-v2-step h3{font-size:12.3px!important}
  body.home-page .home-v2-step p,body.home .home-v2-step p{font-size:9.8px!important;line-height:1.58!important}
  body.home-page .home-v2-product-copy h3,body.home .home-v2-product-copy h3{font-size:12.5px!important}
  body.home-page .home-v2-product-copy p,body.home .home-v2-product-copy p{font-size:8.9px!important;line-height:1.44!important}
  body.home-page .home-v2-product-copy ul,body.home .home-v2-product-copy ul{font-size:8.6px!important;line-height:1.58!important}
  body.home-page .home-v2-product-copy strong,body.home .home-v2-product-copy strong{font-size:9.2px!important}
  body.home-page .home-v2-feature h4,body.home .home-v2-feature h4{font-size:10.2px!important}
  body.home-page .home-v2-feature p,body.home .home-v2-feature p{font-size:8.4px!important}
  body.home-page .home-v2-quote,body.home .home-v2-quote{font-size:11.2px!important}
  body.home-page .home-v2-customer,body.home .home-v2-customer{font-size:9.3px!important}
  body.home-page .home-v2-verified,body.home .home-v2-verified{font-size:8.1px!important}
  body.home-page .home-v2-process-eyebrow,body.home .home-v2-process-eyebrow{font-size:9.7px!important}
  body.home-page .home-v2-process h2,body.home .home-v2-process h2{font-size:21.5px!important}
  body.home-page .home-v2-process-item h4,body.home .home-v2-process-item h4{font-size:9.4px!important}
  body.home-page .home-v2-process-item p,body.home .home-v2-process-item p{font-size:8.15px!important}
  body.home-page .home-v2-process-btn,body.home .home-v2-process-btn{font-size:9.2px!important}
  body.home-page .footer-logo img,body.home .footer-logo img{width:137px!important}
  body.home-page .footer-logo p,body.home .footer-logo p{font-size:8.3px!important;line-height:1.42!important}
  body.home-page .footer h5,body.home .footer h5{font-size:9.2px!important}
  body.home-page .footer ul,body.home .footer ul{font-size:8.3px!important;line-height:1.3!important}
  body.home-page .social a,body.home .social a{width:21px!important;height:21px!important;font-size:7px!important}
  body.home-page .footer-grid>div:last-child p,body.home .footer-grid>div:last-child p{font-size:8.2px!important}
  body.home-page .newsletter input,body.home .newsletter input,body.home-page .newsletter button,body.home .newsletter button{font-size:7.8px!important}
  body.home-page .footer-bottom,body.home .footer-bottom{font-size:7.7px!important}
}

/* V5.2 alignment correction from reference overlay */
@media (min-width:901px){
  body.home-page .home-v2-step > *,body.home .home-v2-step > *{transform:translateY(-6px)}
  body.home-page .home-v2-products,body.home .home-v2-products{padding:23px 0 36px!important}
  body.home-page .home-v2-testimonial-wrap .container,body.home .home-v2-testimonial-wrap .container{width:calc(100% - 164px)!important;max-width:none!important}
  body.home-page .home-v2-testimonial,body.home .home-v2-testimonial{grid-template-columns:45px 126px 1fr 45px!important;column-gap:16px!important;padding:0 18px!important}
  body.home-page .home-v2-avatar,body.home .home-v2-avatar{width:124px!important;height:124px!important}
  body.home-page .home-v2-process,body.home .home-v2-process{padding-top:24px!important}
  body.home-page .footer-grid,body.home .footer-grid{grid-template-columns:1.25fr .8fr .92fr 1.55fr!important;gap:36px!important}
  body.home-page .footer-logo img,body.home .footer-logo img{width:145px!important}
  body.home-page .footer-logo p,body.home .footer-logo p{font-size:8.7px!important}
  body.home-page .footer h5,body.home .footer h5{font-size:9.7px!important}
  body.home-page .footer ul,body.home .footer ul{font-size:8.7px!important}
  body.home-page .footer-grid>div:last-child p,body.home .footer-grid>div:last-child p{font-size:8.6px!important}
  body.home-page .footer-bottom,body.home .footer-bottom{font-size:7.8px!important}
}

/* ================================================================
   VERSION 6 — LOGO / PRIMARY MENU SPACING FIX
   Keeps the logo from collapsing into the Shop menu on desktop.
   Applies identically across Home, Shop, How It Works, Buy Now,
   Provider, Resources, Contact, and support pages.
   ================================================================ */
@media (min-width:901px){
  body.layered-site .brand{
    display:flex!important;
    align-items:center!important;
    flex:0 0 190px!important;
    width:190px!important;
    min-width:190px!important;
    max-width:190px!important;
    margin:0 clamp(42px,5vw,82px) 0 0!important;
    padding:0!important;
  }

  body.layered-site .brand img{
    width:190px!important;
    height:58px!important;
    max-width:190px!important;
    flex:none!important;
    object-fit:contain!important;
    object-position:left center!important;
  }

  body.layered-site .navlinks{
    flex:1 1 auto!important;
    min-width:0!important;
    margin-left:0!important;
    gap:clamp(22px,2.2vw,38px)!important;
  }

  /* Push Order Now toward the right without stealing the logo-to-Shop gap. */
  body.layered-site .navlinks .nav-cta{
    margin-left:auto!important;
    flex:0 0 104px!important;
  }
}

/* =====================================================================
   HOME BANNER WHITE-BLOCK REMOVAL — FINAL OVERRIDE
   Banner only. The source already contains both people.
   This final rule prevents older width/crop rules from hiding the man.
   ===================================================================== */
@media (min-width:901px){
  body.home-page .home-v2-hero-photo,
  body.home .home-v2-hero-photo{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:absolute!important;
    inset:0!important;
    left:0!important;
    right:0!important;
    top:0!important;
    bottom:0!important;
    width:100%!important;
    min-width:100%!important;
    max-width:none!important;
    height:100%!important;
    min-height:100%!important;
    margin:0!important;
    padding:0!important;
    object-fit:fill!important;
    object-position:center center!important;
    transform:none!important;
    clip-path:none!important;
    z-index:1!important;
  }
}


/* v2.6.18 — WooCommerce / Stripe design refinement
   Scope intentionally limited to product, checkout, order-pay, and related Woo pages only. */
body.woocommerce-page:not(.home),
body.single-product,
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account {
  background:#f7fafc;
}

body.woocommerce-page:not(.home) .section > .container,
body.single-product .section > .container,
body.woocommerce-cart .section > .container,
body.woocommerce-checkout .section > .container,
body.woocommerce-account .section > .container {
  width:min(1180px, calc(100% - 48px));
}

/* Shared Woo card styling */
.woocommerce .shop_table,
.woocommerce .cart_totals,
.woocommerce .cross-sells,
.woocommerce .woocommerce-checkout-review-order,
.woocommerce .woocommerce-MyAccount-content,
.woocommerce .woocommerce-MyAccount-navigation,
.woocommerce .related.products,
.woocommerce .upsells.products,
.woocommerce .wc-block-components-sidebar,
.woocommerce .wc-block-components-order-summary,
.woocommerce .wc-block-components-totals-wrapper,
.woocommerce .wc-block-components-checkout-step,
.woocommerce .wc-block-components-form,
.woocommerce .wc-block-checkout__sidebar,
.woocommerce .wc-block-checkout__form,
.woocommerce .wc-block-cart {
  border-radius:22px;
}

/* Single product */
.single-product .woocommerce-breadcrumb,
.single-product .woocommerce-notices-wrapper {
  width:min(1180px, calc(100% - 48px));
  margin-left:auto;
  margin-right:auto;
}
.single-product div.product {
  width:min(1180px, calc(100% - 48px));
  margin:36px auto 26px;
}
.single-product div.product .woocommerce-product-gallery,
.single-product div.product div.images {
  background:#ffffff;
  border:1px solid #dbe6f1;
  border-radius:24px;
  padding:18px;
  box-shadow:0 12px 36px rgba(15,43,77,.05);
}
.single-product div.product div.images img {
  border-radius:18px;
}
.single-product div.product .summary {
  background:#ffffff;
  border:1px solid #dbe6f1;
  border-radius:24px;
  padding:28px 30px 24px;
  box-shadow:0 12px 36px rgba(15,43,77,.05);
}
.single-product div.product .product_title {
  font-size:56px;
  line-height:1.05;
  letter-spacing:-0.02em;
  margin-bottom:14px;
}
.single-product div.product p.price,
.single-product div.product span.price {
  color:#0c57aa;
  font-size:34px;
  line-height:1.1;
  margin-bottom:18px;
}
.single-product div.product .summary .woocommerce-product-details__short-description {
  font-size:17px;
  line-height:1.6;
  color:#344c68;
  margin-bottom:22px;
}
.single-product div.product form.cart {
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:14px;
  margin:22px 0 16px;
}
.single-product div.product form.cart .quantity {
  margin:0 !important;
}
.single-product .woocommerce .quantity input.qty,
.single-product .quantity input.qty {
  width:78px;
  min-height:54px;
  font-size:22px;
  border-radius:12px;
  border:1px solid #d5e0eb;
}
.single-product div.product form.cart .single_add_to_cart_button,
.single-product .woocommerce button.single_add_to_cart_button.button {
  min-height:54px;
  padding:0 28px;
  border-radius:12px;
  font-size:18px;
  font-weight:800;
  box-shadow:0 10px 24px rgba(6,104,216,.16);
}
.single-product div.product .product_meta {
  margin-top:14px;
  padding-top:16px;
  border-top:1px solid #e6eef6;
  font-size:14px;
}
.single-product .woocommerce-tabs {
  background:#ffffff;
  border:1px solid #dbe6f1;
  border-radius:24px;
  padding:26px 28px 24px;
  box-shadow:0 12px 36px rgba(15,43,77,.04);
}
.single-product .woocommerce-tabs ul.tabs {
  margin:0 0 20px !important;
  padding:0 !important;
  border:0 !important;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.single-product .woocommerce-tabs ul.tabs li {
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  border-radius:14px 14px 0 0;
}
.single-product .woocommerce-tabs ul.tabs li a {
  display:inline-flex;
  align-items:center;
  min-height:56px;
  padding:0 28px;
  border:1px solid #dbe6f1;
  background:#f6f9fc;
  color:#34506f;
  border-radius:14px;
  font-weight:800;
}
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li:hover a {
  background:#ffffff;
  border-color:#b8d2ec;
  color:#0a3b78;
  box-shadow:0 8px 22px rgba(15,43,77,.06);
}
.single-product .woocommerce-Tabs-panel {
  font-size:17px;
  line-height:1.75;
  color:#2b4663;
}
.single-product .woocommerce-Tabs-panel h2 {
  color:#0a3b78;
  font-size:42px;
  line-height:1.1;
  margin-bottom:16px;
}
.single-product .woocommerce-Tabs-panel ul {
  padding-left:28px;
}
.single-product .woocommerce-Tabs-panel li {
  margin-bottom:8px;
}
.single-product .related.products {
  width:min(1180px, calc(100% - 48px));
  margin:26px auto 42px;
  background:#ffffff;
  border:1px solid #dbe6f1;
  padding:28px;
  box-shadow:0 12px 36px rgba(15,43,77,.04);
}

/* Stripe / payment request buttons */
#wc-stripe-payment-request-wrapper,
.wc-stripe-product-checkout-container,
.wc-stripe-checkout-button-container,
.wc-stripe-payment-request-button-separator,
.payment_request_button,
.wc-stripe-banner-checkout,
.wcpay-payment-request-wrapper,
.wcpay-payment-request-button-separator {
  width:100%;
  margin-top:12px;
}
.single-product #wc-stripe-payment-request-wrapper,
.single-product .wc-stripe-product-checkout-container,
.single-product .wcpay-payment-request-wrapper {
  max-width:525px;
}
.single-product .payment_request_button,
.single-product .wc-stripe-product-checkout-container .payment_request_button,
.woocommerce-checkout .payment_request_button,
.wcpay-payment-request-button {
  border-radius:14px !important;
  min-height:54px;
  overflow:hidden;
}

/* Checkout block styling */
.woocommerce-checkout .wc-block-checkout,
.woocommerce-checkout .wp-block-woocommerce-checkout {
  width:min(1180px, calc(100% - 48px));
  margin:36px auto 46px;
}
.woocommerce-checkout .wp-block-woocommerce-checkout h1,
.woocommerce-checkout .wc-block-components-title {
  color:#0a3b78;
}
.woocommerce-checkout .wc-block-components-sidebar-layout {
  gap:28px;
}
.woocommerce-checkout .wc-block-checkout__form,
.woocommerce-checkout .wc-block-components-sidebar {
  background:#ffffff;
  border:1px solid #dbe6f1;
  border-radius:26px;
  box-shadow:0 14px 40px rgba(15,43,77,.05);
}
.woocommerce-checkout .wc-block-checkout__form {
  padding:22px 26px 26px;
}
.woocommerce-checkout .wc-block-components-sidebar {
  padding:16px;
}
.woocommerce-checkout .wc-block-components-checkout-step,
.woocommerce-checkout .wc-block-components-order-summary {
  background:#ffffff;
  border:1px solid #e6eef6;
  border-radius:20px;
  padding:18px 20px;
  box-shadow:none;
}
.woocommerce-checkout .wc-block-components-checkout-step + .wc-block-components-checkout-step {
  margin-top:18px;
}
.woocommerce-checkout .wc-block-components-title.wc-block-components-checkout-step__title,
.woocommerce-checkout .wc-block-components-panel__button,
.woocommerce-checkout .wc-block-components-checkout-step__heading {
  color:#0a3b78;
  font-weight:800;
}
.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input,
.woocommerce-checkout .wc-block-components-combobox-control .components-text-control__input,
.woocommerce-checkout .wc-block-components-address-form input,
.woocommerce-checkout .wc-block-components-address-form select,
.woocommerce-checkout .wc-block-components-select select {
  min-height:56px;
  border-radius:14px;
  border:1px solid #d5e0eb;
  box-shadow:none;
}
.woocommerce-checkout .wc-block-components-radio-control__option,
.woocommerce-checkout .wc-block-components-checkbox {
  border-radius:16px;
}
.woocommerce-checkout .wc-block-components-radio-control__option-layout {
  padding:18px;
}
.woocommerce-checkout .wc-block-components-form .wc-block-components-button,
.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.woocommerce-checkout .wc-block-components-totals-coupon__button,
.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
  min-height:54px;
  border-radius:14px;
  font-weight:800;
}
.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background:#0668d8;
  color:#fff;
  box-shadow:0 12px 28px rgba(6,104,216,.16);
}
.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item,
.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-totals-item {
  border-color:#e6eef6;
}
.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-totals-item__value,
.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-product-name,
.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-formatted-money-amount {
  color:#0a3b78;
}

/* Classic checkout & order-pay */
.woocommerce-checkout form.checkout.woocommerce-checkout,
.woocommerce-order-pay form#order_review {
  width:min(1180px, calc(100% - 48px));
  margin:36px auto 46px;
}
.woocommerce-checkout form.checkout.woocommerce-checkout,
.woocommerce-order-pay .woocommerce form#order_review {
  background:#ffffff;
  border:1px solid #dbe6f1;
  border-radius:26px;
  padding:26px 28px 30px;
  box-shadow:0 14px 40px rgba(15,43,77,.05);
}
.woocommerce-checkout #customer_details {
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);
  gap:28px;
  align-items:start;
}
.woocommerce-checkout #customer_details > div,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-order-pay #order_review {
  background:#ffffff;
  border:1px solid #e6eef6;
  border-radius:22px;
  padding:22px 24px;
}
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-order-pay #payment {
  background:#f8fbff;
}
.woocommerce-checkout h3,
.woocommerce-order-pay h3,
.woocommerce-order-pay h2,
.woocommerce-order-pay .woocommerce-order-details__title {
  color:#0a3b78;
  font-size:24px;
  line-height:1.2;
  margin-bottom:18px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce #payment ul.payment_methods input.input-text {
  min-height:54px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid #d5e0eb;
}
.woocommerce form .form-row textarea { min-height:120px; }
.woocommerce-checkout table.shop_table,
.woocommerce-order-pay table.shop_table {
  border-radius:18px;
  overflow:hidden;
  border:1px solid #e0e9f2;
}
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td,
.woocommerce-order-pay table.shop_table th,
.woocommerce-order-pay table.shop_table td {
  padding:18px 16px;
  font-size:17px;
}
.woocommerce-checkout #payment,
.woocommerce-order-pay #payment {
  background:#f8fbff !important;
  border:1px solid #e0e9f2;
  border-radius:20px;
  padding:18px 20px 20px;
}
.woocommerce-checkout #payment ul.payment_methods,
.woocommerce-order-pay #payment ul.payment_methods {
  border:0;
  padding:0;
}
.woocommerce-checkout #payment ul.payment_methods li,
.woocommerce-order-pay #payment ul.payment_methods li {
  background:#ffffff;
  border:1px solid #dbe6f1;
  border-radius:18px;
  padding:16px 18px;
}
.woocommerce-checkout #payment div.payment_box,
.woocommerce-order-pay #payment div.payment_box {
  background:#ffffff;
  border:1px solid #e0e9f2;
  border-radius:18px;
  padding:18px;
  margin-top:14px;
}
.woocommerce-checkout #payment div.payment_box:before,
.woocommerce-order-pay #payment div.payment_box:before {
  border-bottom-color:#ffffff;
}
.woocommerce-checkout #payment .place-order,
.woocommerce-order-pay #payment .place-order {
  padding:18px 0 0;
}
.woocommerce-checkout #payment .place-order .button,
.woocommerce-order-pay #payment .place-order .button,
.woocommerce-order-pay #place_order {
  min-height:54px;
  border-radius:14px;
  font-size:18px;
  padding:0 24px;
  box-shadow:0 12px 28px rgba(6,104,216,.16);
}
.woocommerce-order-pay .shop_table tfoot th,
.woocommerce-order-pay .shop_table tfoot td,
.woocommerce-checkout .shop_table tfoot th,
.woocommerce-checkout .shop_table tfoot td {
  font-weight:800;
  color:#0a3b78;
}
.woocommerce-order-pay #payment .payment_methods > li > label,
.woocommerce-checkout #payment .payment_methods > li > label {
  color:#0a3b78;
  font-weight:800;
}
.woocommerce-order-pay .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-privacy-policy-text {
  color:#35506f;
  font-size:15px;
  line-height:1.6;
}

/* Cart page */
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals {
  width:min(1180px, calc(100% - 48px));
}
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals .cart_totals {
  background:#ffffff;
  border:1px solid #dbe6f1;
  border-radius:24px;
  padding:20px 22px;
  box-shadow:0 12px 36px rgba(15,43,77,.05);
}

/* Responsive refinement */
@media (max-width: 980px) {
  .single-product div.product .product_title { font-size:44px; }
  .single-product .woocommerce-Tabs-panel h2 { font-size:34px; }
  .woocommerce-checkout #customer_details {
    grid-template-columns:1fr;
  }
}
@media (max-width: 782px) {
  .single-product div.product {
    margin-top:24px;
  }
  .single-product div.product .summary,
  .single-product div.product .woocommerce-product-gallery,
  .single-product .woocommerce-tabs,
  .single-product .related.products,
  .woocommerce-checkout form.checkout.woocommerce-checkout,
  .woocommerce-order-pay .woocommerce form#order_review,
  .woocommerce-checkout .wc-block-checkout__form,
  .woocommerce-checkout .wc-block-components-sidebar {
    border-radius:20px;
    padding:18px;
  }
  .single-product div.product .product_title { font-size:36px; }
  .single-product div.product p.price,
  .single-product div.product span.price { font-size:30px; }
  .single-product .woocommerce-Tabs-panel h2 { font-size:28px; }
  .single-product .woocommerce-tabs ul.tabs li a {
    min-height:48px;
    padding:0 18px;
  }
  .single-product div.product form.cart {
    gap:10px;
  }
  .single-product #wc-stripe-payment-request-wrapper,
  .single-product .wc-stripe-product-checkout-container,
  .single-product .wcpay-payment-request-wrapper {
    max-width:none;
  }
  .woocommerce-checkout .wc-block-components-sidebar-layout {
    display:flex;
    flex-direction:column;
  }
  .woocommerce-checkout .wc-block-components-sidebar {
    order:-1;
  }
  .woocommerce-checkout .wc-block-checkout__form,
  .woocommerce-checkout .wc-block-components-sidebar,
  .woocommerce-checkout .wc-block-components-checkout-step,
  .woocommerce-checkout .wc-block-components-order-summary,
  .woocommerce-order-pay #payment,
  .woocommerce-checkout #payment,
  .woocommerce-checkout #customer_details > div,
  .woocommerce-checkout .woocommerce-checkout-review-order,
  .woocommerce-order-pay #order_review {
    padding:16px;
  }
  .woocommerce-checkout table.shop_table th,
  .woocommerce-checkout table.shop_table td,
  .woocommerce-order-pay table.shop_table th,
  .woocommerce-order-pay table.shop_table td {
    padding:14px 12px;
    font-size:15px;
  }
}

/* v2.6.19 — Payment-process back navigation
   Scoped only to WooCommerce product/cart/checkout/order-pay/thank-you screens. */
.imd-payment-flow-nav{
  width:min(1180px,calc(100% - 48px));
  margin:24px auto 4px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.imd-payment-flow-back{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:42px;
  padding:0 16px;
  border:1px solid #cbdced;
  border-radius:11px;
  background:#fff;
  color:#0a4f9f;
  font-size:14px;
  font-weight:800;
  line-height:1;
  text-decoration:none!important;
  box-shadow:0 7px 20px rgba(15,43,77,.045);
  transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease;
}
.imd-payment-flow-back:hover,
.imd-payment-flow-back:focus{
  color:#083f7f;
  border-color:#8eb9e3;
  background:#f6faff;
  box-shadow:0 9px 24px rgba(15,43,77,.08);
  transform:translateY(-1px);
}
.imd-payment-flow-back:focus-visible{
  outline:3px solid rgba(6,104,216,.22);
  outline-offset:2px;
}
.imd-payment-flow-back-arrow{
  font-size:20px;
  line-height:1;
  margin-top:-1px;
}
.single-product .imd-payment-flow-nav{margin-bottom:10px;}
.woocommerce-cart .imd-payment-flow-nav,
.woocommerce-checkout .imd-payment-flow-nav,
.woocommerce-order-pay .imd-payment-flow-nav{margin-bottom:10px;}
@media(max-width:782px){
  .imd-payment-flow-nav{width:calc(100% - 32px);margin-top:18px;}
  .imd-payment-flow-back{min-height:44px;padding:0 14px;font-size:13px;}
}



/* v2.6.20 — Payment layout proportion refinement
   Scoped only to product, checkout, order-pay, and order-received purchase screens. */
body.single-product .site-main,
body.woocommerce-checkout .site-main,
body.woocommerce-order-pay .site-main,
body.woocommerce-order-received .site-main {
  overflow:visible;
}

/* Compact product-detail proportions */
.single-product div.product {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(380px, 0.92fr);
  gap:28px;
  align-items:start;
}
.single-product div.product .woocommerce-product-gallery,
.single-product div.product div.images,
.single-product div.product .summary {
  float:none !important;
  width:100% !important;
  margin:0 !important;
}
.single-product div.product .woocommerce-product-gallery,
.single-product div.product div.images {
  padding:16px;
}
.single-product div.product div.images img,
.single-product div.product .woocommerce-product-gallery img {
  width:100%;
  max-height:320px;
  object-fit:contain;
}
.single-product div.product .summary {
  padding:24px 28px 20px;
}
.single-product div.product .product_title {
  font-size:34px;
  line-height:1.04;
  margin-bottom:10px;
}
.single-product div.product p.price,
.single-product div.product span.price {
  font-size:26px;
  margin-bottom:14px;
}
.single-product div.product .summary .woocommerce-product-details__short-description {
  font-size:14px;
  line-height:1.55;
  margin-bottom:18px;
}
.single-product .woocommerce .quantity input.qty,
.single-product .quantity input.qty {
  width:74px;
  min-height:48px;
  font-size:18px;
}
.single-product div.product form.cart .single_add_to_cart_button,
.single-product .woocommerce button.single_add_to_cart_button.button {
  min-height:48px;
  padding:0 24px;
  font-size:16px;
}
.single-product #wc-stripe-payment-request-wrapper,
.single-product .wc-stripe-product-checkout-container,
.single-product .wcpay-payment-request-wrapper {
  max-width:100%;
}
.single-product .payment_request_button,
.single-product .wc-stripe-product-checkout-container .payment_request_button,
.single-product .wcpay-payment-request-button {
  min-height:50px;
}
.single-product div.product .product_meta {
  margin-top:12px;
  padding-top:14px;
  font-size:13px;
}
.single-product .woocommerce-tabs {
  margin-top:26px;
  padding:18px 22px 20px;
}
.single-product .woocommerce-tabs ul.tabs {
  gap:10px;
  margin:0 0 14px !important;
}
.single-product .woocommerce-tabs ul.tabs li a {
  min-height:46px;
  padding:0 18px;
  font-size:14px;
}
.single-product .woocommerce-Tabs-panel {
  font-size:15px;
  line-height:1.65;
}
.single-product .woocommerce-Tabs-panel h2 {
  font-size:28px;
  margin-bottom:12px;
}
.single-product .woocommerce-Tabs-panel ul {
  padding-left:22px;
}
.single-product .related.products {
  padding:22px;
}

/* Payment-shell layout for checkout / order-pay / order-received */
.imd-payment-shell {
  width:min(1360px, calc(100% - 48px));
  margin:22px auto 42px;
  display:grid;
  grid-template-columns:minmax(320px, 0.43fr) minmax(0, 0.57fr);
  gap:24px;
  align-items:stretch;
}
.imd-payment-shell-main {
  min-width:0;
}
.imd-payment-shell .imd-payment-flow-nav {
  width:100%;
  margin:0 0 14px;
}
.imd-payment-shell .imd-payment-flow-back {
  min-height:40px;
  padding:0 14px;
}
.imd-payment-hero {
  min-width:0;
}
.imd-payment-hero-card {
  height:100%;
  display:flex;
  flex-direction:column;
  background:linear-gradient(180deg,#f8fbff 0%,#ffffff 55%,#f8fbff 100%);
  border:1px solid #d9e6f2;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 14px 40px rgba(15,43,77,.05);
}
.imd-payment-hero-copy {
  padding:34px 34px 18px;
}
.imd-payment-hero-copy h2 {
  margin:0 0 14px;
  color:#0a3b78;
  font-size:38px;
  line-height:1.06;
  letter-spacing:-0.02em;
}
.imd-payment-hero-copy p {
  margin:0;
  color:#33506f;
  font-size:15px;
  line-height:1.55;
  max-width:460px;
}
.imd-payment-hero-features {
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top:22px;
}
.imd-payment-hero-feature {
  background:#fff;
  border:1px solid #dce8f3;
  border-radius:16px;
  padding:14px 12px;
  text-align:center;
  box-shadow:0 8px 18px rgba(15,43,77,.04);
}
.imd-payment-hero-icon {
  display:block;
  font-size:22px;
  line-height:1;
  margin-bottom:10px;
}
.imd-payment-hero-feature strong {
  display:block;
  color:#2f9f52;
  font-size:14px;
  line-height:1.15;
}
.imd-payment-hero-feature small {
  display:block;
  margin-top:6px;
  color:#51657c;
  font-size:12px;
  line-height:1.45;
}
.imd-payment-hero-image {
  margin-top:auto;
  padding:0;
}
.imd-payment-hero-image img {
  width:100%;
  aspect-ratio: 4 / 4.8;
  object-fit:cover;
  object-position:center top;
}

/* Make checkout blocks match the payment mockup more closely */
.imd-payment-shell .wp-block-woocommerce-checkout,
.imd-payment-shell .wc-block-checkout,
.imd-payment-shell form.checkout.woocommerce-checkout,
.imd-payment-shell .woocommerce form#order_review,
.imd-payment-shell .woocommerce-order,
.imd-payment-shell .woocommerce-order-pay {
  width:100% !important;
  margin:0 !important;
}
.woocommerce-checkout .imd-payment-shell .wc-block-checkout,
.woocommerce-checkout .imd-payment-shell .wp-block-woocommerce-checkout {
  background:#ffffff;
  border:1px solid #dbe6f1;
  border-radius:28px;
  padding:18px;
  box-shadow:0 14px 40px rgba(15,43,77,.05);
}
.woocommerce-checkout .imd-payment-shell .wc-block-components-sidebar-layout {
  gap:18px;
}
.woocommerce-checkout .imd-payment-shell .wc-block-checkout__form,
.woocommerce-checkout .imd-payment-shell .wc-block-components-sidebar {
  border:0;
  box-shadow:none;
  border-radius:0;
  padding:0;
  background:transparent;
}
.woocommerce-checkout .imd-payment-shell .wc-block-components-order-summary,
.woocommerce-checkout .imd-payment-shell .wc-block-components-checkout-step {
  border-radius:18px;
  padding:16px 18px;
}
.woocommerce-checkout .imd-payment-shell .wc-block-components-title.wc-block-components-checkout-step__title,
.woocommerce-checkout .imd-payment-shell .wc-block-components-panel__button,
.woocommerce-checkout .imd-payment-shell .wc-block-components-checkout-step__heading {
  font-size:15px;
}
.woocommerce-checkout .imd-payment-shell .wc-block-components-text-input input,
.woocommerce-checkout .imd-payment-shell .wc-block-components-combobox .components-combobox-control__input,
.woocommerce-checkout .imd-payment-shell .wc-block-components-combobox-control .components-text-control__input,
.woocommerce-checkout .imd-payment-shell .wc-block-components-address-form input,
.woocommerce-checkout .imd-payment-shell .wc-block-components-address-form select,
.woocommerce-checkout .imd-payment-shell .wc-block-components-select select {
  min-height:50px;
  border-radius:12px;
}
.woocommerce-checkout .imd-payment-shell .wc-block-components-radio-control__option-layout {
  padding:14px;
}
.woocommerce-checkout .imd-payment-shell .wc-block-components-checkout-place-order-button,
.woocommerce-checkout .imd-payment-shell .wc-block-components-form .wc-block-components-button {
  min-height:52px;
  font-size:18px;
}

/* Classic checkout and order-pay in the same shell */
.imd-payment-shell form.checkout.woocommerce-checkout,
.imd-payment-shell .woocommerce form#order_review,
.imd-payment-shell .woocommerce-order {
  background:#ffffff;
  border:1px solid #dbe6f1;
  border-radius:28px;
  padding:20px 22px 24px;
  box-shadow:0 14px 40px rgba(15,43,77,.05);
}
.imd-payment-shell .woocommerce-checkout-review-order,
.imd-payment-shell #payment,
.imd-payment-shell #order_review {
  border-radius:20px;
}
.imd-payment-shell .woocommerce-checkout table.shop_table th,
.imd-payment-shell .woocommerce-checkout table.shop_table td,
.imd-payment-shell .woocommerce-order-pay table.shop_table th,
.imd-payment-shell .woocommerce-order-pay table.shop_table td,
.imd-payment-shell .woocommerce-order table.shop_table th,
.imd-payment-shell .woocommerce-order table.shop_table td {
  font-size:15px;
  padding:14px 12px;
}
.imd-payment-shell .woocommerce form .form-row input.input-text,
.imd-payment-shell .woocommerce form .form-row textarea,
.imd-payment-shell .woocommerce form .form-row select,
.imd-payment-shell .woocommerce #payment ul.payment_methods input.input-text {
  min-height:50px;
  padding:11px 14px;
  border-radius:12px;
}
.imd-payment-shell .woocommerce-checkout h3,
.imd-payment-shell .woocommerce-order-pay h3,
.imd-payment-shell .woocommerce-order-pay h2,
.imd-payment-shell .woocommerce-order-details__title {
  font-size:21px;
  margin-bottom:14px;
}
.imd-payment-shell #payment .place-order .button,
.imd-payment-shell #place_order {
  min-height:52px;
  font-size:17px;
}

/* Order received / thank you consistency */
.imd-payment-shell--order-received .woocommerce-order {
  background:#ffffff;
}
.imd-payment-shell--order-received .woocommerce-order > * + * {
  margin-top:18px;
}

@media (max-width: 1180px) {
  .imd-payment-shell {
    width:min(1180px, calc(100% - 40px));
    grid-template-columns:1fr;
  }
  .imd-payment-hero {
    order:0;
  }
  .imd-payment-hero-copy {
    padding:28px 28px 16px;
  }
  .imd-payment-hero-copy h2 {
    font-size:32px;
  }
}
@media (max-width: 980px) {
  .single-product div.product {
    grid-template-columns:1fr;
  }
  .single-product div.product .product_title {
    font-size:30px;
  }
  .single-product .woocommerce-Tabs-panel h2 {
    font-size:24px;
  }
  .imd-payment-hero-features {
    grid-template-columns:1fr;
  }
}
@media (max-width: 782px) {
  .single-product div.product {
    gap:18px;
    margin-top:20px;
  }
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product div.images,
  .single-product div.product .summary,
  .single-product .woocommerce-tabs,
  .single-product .related.products {
    border-radius:18px;
    padding:16px;
  }
  .single-product div.product div.images img,
  .single-product div.product .woocommerce-product-gallery img {
    max-height:260px;
  }
  .single-product div.product .product_title {
    font-size:28px;
  }
  .single-product div.product p.price,
  .single-product div.product span.price {
    font-size:24px;
  }
  .single-product .woocommerce-tabs ul.tabs li a {
    min-height:44px;
    padding:0 14px;
    font-size:13px;
  }
  .imd-payment-shell {
    width:calc(100% - 28px);
    margin:16px auto 28px;
    gap:16px;
  }
  .imd-payment-hero-card,
  .woocommerce-checkout .imd-payment-shell .wc-block-checkout,
  .imd-payment-shell form.checkout.woocommerce-checkout,
  .imd-payment-shell .woocommerce form#order_review,
  .imd-payment-shell .woocommerce-order {
    border-radius:20px;
  }
  .imd-payment-hero-copy {
    padding:24px 20px 12px;
  }
  .imd-payment-hero-copy h2 {
    font-size:28px;
  }
  .imd-payment-hero-copy p {
    font-size:14px;
  }
  .imd-payment-hero-feature {
    padding:12px 10px;
  }
  .imd-payment-hero-image img {
    aspect-ratio: 4 / 3.9;
  }
  .woocommerce-checkout .imd-payment-shell .wc-block-checkout,
  .imd-payment-shell form.checkout.woocommerce-checkout,
  .imd-payment-shell .woocommerce form#order_review,
  .imd-payment-shell .woocommerce-order {
    padding:16px;
  }
}


/* v2.6.21 — Compact product/payment detail proportions
   This override is intentionally scoped ONLY to WooCommerce single-product pages. */
body.single-product .imd-payment-flow-nav,
body.single-product .woocommerce-breadcrumb,
body.single-product .woocommerce-notices-wrapper,
body.single-product div.product,
body.single-product .related.products {
  width:min(980px, calc(100% - 48px));
}
body.single-product .imd-payment-flow-nav {
  margin-top:18px;
  margin-bottom:8px;
}
body.single-product div.product {
  margin:22px auto 20px;
  grid-template-columns:minmax(0, 1fr) minmax(350px, .96fr);
  gap:22px;
}
body.single-product div.product .woocommerce-product-gallery,
body.single-product div.product div.images {
  padding:12px;
  border-radius:18px;
}
body.single-product div.product div.images img,
body.single-product div.product .woocommerce-product-gallery img {
  max-height:245px;
  object-fit:contain;
}
body.single-product div.product .summary {
  padding:18px 20px 16px;
  border-radius:18px;
}
body.single-product div.product .product_title {
  font-size:28px;
  line-height:1.06;
  margin:0 0 8px;
}
body.single-product div.product p.price,
body.single-product div.product span.price {
  font-size:23px;
  line-height:1.1;
  margin:0 0 12px;
}
body.single-product div.product .summary .woocommerce-product-details__short-description {
  font-size:13px;
  line-height:1.45;
  margin-bottom:14px;
}
body.single-product div.product form.cart {
  gap:10px;
  margin:14px 0 12px;
}
body.single-product .woocommerce .quantity input.qty,
body.single-product .quantity input.qty {
  width:66px;
  min-height:42px;
  font-size:16px;
  border-radius:9px;
}
body.single-product div.product form.cart .single_add_to_cart_button,
body.single-product .woocommerce button.single_add_to_cart_button.button {
  min-height:42px;
  padding:0 20px;
  border-radius:9px;
  font-size:14px;
}
body.single-product #wc-stripe-payment-request-wrapper,
body.single-product .wc-stripe-product-checkout-container,
body.single-product .wcpay-payment-request-wrapper {
  margin-top:9px;
}
body.single-product .payment_request_button,
body.single-product .wc-stripe-product-checkout-container .payment_request_button,
body.single-product .wcpay-payment-request-button {
  min-height:44px;
  border-radius:10px !important;
}
body.single-product div.product .product_meta {
  margin-top:9px;
  padding-top:11px;
  font-size:12px;
}

/* Keep description/reviews beneath BOTH product columns and make it compact. */
body.single-product div.product .woocommerce-tabs {
  grid-column:1 / -1;
  width:100%;
  margin:0;
  padding:14px 18px 16px;
  border-radius:18px;
}
body.single-product div.product .woocommerce-tabs ul.tabs {
  gap:6px;
  margin:0 0 10px !important;
}
body.single-product div.product .woocommerce-tabs ul.tabs li a {
  min-height:38px;
  padding:0 13px;
  border-radius:9px;
  font-size:12px;
}
body.single-product div.product .woocommerce-Tabs-panel {
  font-size:13px;
  line-height:1.5;
}
body.single-product div.product .woocommerce-Tabs-panel h2 {
  font-size:22px;
  line-height:1.12;
  margin:0 0 9px;
}
body.single-product div.product .woocommerce-Tabs-panel p {
  margin:0 0 9px;
}
body.single-product div.product .woocommerce-Tabs-panel ul {
  margin:5px 0 0;
  padding-left:20px;
  columns:2;
  column-gap:48px;
}
body.single-product div.product .woocommerce-Tabs-panel li {
  margin-bottom:5px;
  break-inside:avoid;
}
body.single-product div.product .related.products,
body.single-product div.product .upsells.products {
  grid-column:1 / -1;
}
body.single-product .related.products {
  margin:20px auto 32px;
  padding:18px;
  border-radius:18px;
}

@media (max-width: 980px) {
  body.single-product .imd-payment-flow-nav,
  body.single-product .woocommerce-breadcrumb,
  body.single-product .woocommerce-notices-wrapper,
  body.single-product div.product,
  body.single-product .related.products {
    width:min(760px, calc(100% - 36px));
  }
  body.single-product div.product {
    grid-template-columns:1fr;
  }
  body.single-product div.product .woocommerce-tabs,
  body.single-product div.product .related.products,
  body.single-product div.product .upsells.products {
    grid-column:1;
  }
}
@media (max-width: 782px) {
  body.single-product .imd-payment-flow-nav,
  body.single-product .woocommerce-breadcrumb,
  body.single-product .woocommerce-notices-wrapper,
  body.single-product div.product,
  body.single-product .related.products {
    width:calc(100% - 28px);
  }
  body.single-product div.product {
    margin-top:16px;
    gap:14px;
  }
  body.single-product div.product div.images img,
  body.single-product div.product .woocommerce-product-gallery img {
    max-height:220px;
  }
  body.single-product div.product .product_title {
    font-size:25px;
  }
  body.single-product div.product p.price,
  body.single-product div.product span.price {
    font-size:21px;
  }
  body.single-product div.product .woocommerce-tabs {
    padding:13px 14px 15px;
  }
  body.single-product div.product .woocommerce-Tabs-panel ul {
    columns:1;
  }
}


/* v2.6.22 — Compact checkout redesign
   STRICT SCOPE: checkout / order-pay / order-received only. No other site page is changed. */
body.woocommerce-checkout .imd-checkout-template {
  padding:22px 0 36px;
  background:#f7fafc;
}
body.woocommerce-checkout .imd-payment-shell {
  width:min(1080px, calc(100% - 36px));
  margin:0 auto;
  grid-template-columns:380px minmax(0, 1fr);
  gap:18px;
  align-items:stretch;
}
body.woocommerce-checkout .imd-payment-shell-main {
  min-width:0;
}
body.woocommerce-checkout .imd-payment-shell .imd-payment-flow-nav {
  margin:0 0 10px;
}
body.woocommerce-checkout .imd-payment-shell .imd-payment-flow-back {
  min-height:36px;
  padding:0 12px;
  border-radius:9px;
  font-size:12px;
}
body.woocommerce-checkout .imd-payment-hero-card {
  border-radius:20px;
  box-shadow:0 10px 28px rgba(15,43,77,.045);
}
body.woocommerce-checkout .imd-payment-hero-copy {
  padding:24px 24px 12px;
}
body.woocommerce-checkout .imd-payment-hero-copy h2 {
  font-size:30px;
  line-height:1.06;
  margin:0 0 10px;
}
body.woocommerce-checkout .imd-payment-hero-copy p {
  max-width:320px;
  font-size:13px;
  line-height:1.5;
}
body.woocommerce-checkout .imd-payment-hero-features {
  gap:8px;
  margin-top:16px;
}
body.woocommerce-checkout .imd-payment-hero-feature {
  border-radius:12px;
  padding:10px 7px;
}
body.woocommerce-checkout .imd-payment-hero-icon {
  font-size:18px;
  margin-bottom:6px;
}
body.woocommerce-checkout .imd-payment-hero-feature strong {
  font-size:11px;
}
body.woocommerce-checkout .imd-payment-hero-feature small {
  margin-top:4px;
  font-size:9.5px;
  line-height:1.35;
}
body.woocommerce-checkout .imd-payment-hero-image img {
  width:100%;
  height:430px;
  aspect-ratio:auto;
  object-fit:cover;
  object-position:center 15%;
}

/* Right checkout card — compact proportions like supplied payment reference. */
body.woocommerce-checkout .imd-payment-shell .wp-block-woocommerce-checkout,
body.woocommerce-checkout .imd-payment-shell .wc-block-checkout {
  width:100% !important;
  margin:0 !important;
  padding:14px !important;
  border:1px solid #dbe6f1;
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 28px rgba(15,43,77,.045);
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-sidebar-layout {
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  margin:0 !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-checkout__form,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-sidebar {
  width:100% !important;
  max-width:none !important;
  flex:0 0 auto !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-sidebar {
  order:-1;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-order-summary,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-checkout-step {
  padding:12px 14px !important;
  margin:0 0 10px !important;
  border:1px solid #e2ebf4 !important;
  border-radius:14px !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-checkout-step + .wc-block-components-checkout-step {
  margin-top:0 !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-title,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-title.wc-block-components-checkout-step__title,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-panel__button {
  font-size:15px !important;
  line-height:1.2 !important;
  margin-bottom:8px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-text-input input,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-combobox .components-combobox-control__input,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-combobox-control .components-text-control__input,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-address-form input,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-address-form select,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-select select {
  min-height:43px !important;
  height:43px !important;
  border-radius:9px !important;
  font-size:13px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-text-input label,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-address-form label {
  font-size:11px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-radio-control__option-layout {
  padding:10px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-radio-control__option,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-checkbox {
  border-radius:10px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-order-summary-item {
  padding-top:8px !important;
  padding-bottom:8px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-order-summary-item__image {
  width:58px !important;
  min-width:58px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-product-name,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-formatted-money-amount {
  font-size:13px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-totals-item {
  padding:8px 0 !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-totals-item__label,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-totals-item__value {
  font-size:13px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-express-payment-continue-rule {
  margin:10px 0 !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-express-payment__event-buttons,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-express-payment__content {
  gap:8px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-express-payment__event-buttons > li,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-express-payment__event-buttons button,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-express-payment__event-buttons iframe {
  min-height:42px !important;
  height:42px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-form .wc-block-components-button {
  min-height:46px !important;
  border-radius:9px !important;
  font-size:15px !important;
}

/* Classic WooCommerce checkout/order-pay fallback, kept equally compact. */
body.woocommerce-checkout .imd-payment-shell form.checkout.woocommerce-checkout,
body.woocommerce-checkout .imd-payment-shell .woocommerce form#order_review,
body.woocommerce-checkout .imd-payment-shell .woocommerce-order {
  width:100% !important;
  margin:0 !important;
  padding:16px !important;
  border-radius:20px !important;
}
body.woocommerce-checkout .imd-payment-shell #customer_details {
  grid-template-columns:1fr !important;
  gap:10px !important;
}
body.woocommerce-checkout .imd-payment-shell #customer_details > div,
body.woocommerce-checkout .imd-payment-shell .woocommerce-checkout-review-order,
body.woocommerce-checkout .imd-payment-shell #order_review,
body.woocommerce-checkout .imd-payment-shell #payment {
  padding:12px 14px !important;
  border-radius:14px !important;
}
body.woocommerce-checkout .imd-payment-shell h2,
body.woocommerce-checkout .imd-payment-shell h3 {
  font-size:17px !important;
  margin:0 0 10px !important;
}
body.woocommerce-checkout .imd-payment-shell table.shop_table th,
body.woocommerce-checkout .imd-payment-shell table.shop_table td {
  padding:10px 9px !important;
  font-size:13px !important;
}
body.woocommerce-checkout .imd-payment-shell .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .imd-payment-shell .woocommerce form .form-row textarea,
body.woocommerce-checkout .imd-payment-shell .woocommerce form .form-row select,
body.woocommerce-checkout .imd-payment-shell .woocommerce #payment ul.payment_methods input.input-text {
  min-height:43px !important;
  padding:9px 11px !important;
  border-radius:9px !important;
  font-size:13px !important;
}
body.woocommerce-checkout .imd-payment-shell .woocommerce form .form-row textarea {
  min-height:80px !important;
}
body.woocommerce-checkout .imd-payment-shell #payment ul.payment_methods li {
  padding:11px 12px !important;
  border-radius:12px !important;
}
body.woocommerce-checkout .imd-payment-shell #payment div.payment_box {
  padding:12px !important;
  border-radius:12px !important;
}
body.woocommerce-checkout .imd-payment-shell #payment .place-order .button,
body.woocommerce-checkout .imd-payment-shell #place_order {
  min-height:46px !important;
  border-radius:9px !important;
  font-size:15px !important;
}
body.woocommerce-checkout .imd-payment-shell .payment_request_button,
body.woocommerce-checkout .imd-payment-shell .wcpay-payment-request-button {
  min-height:42px !important;
  border-radius:9px !important;
}

@media (max-width: 980px) {
  body.woocommerce-checkout .imd-payment-shell {
    width:min(760px, calc(100% - 32px));
    grid-template-columns:1fr;
    gap:14px;
  }
  body.woocommerce-checkout .imd-payment-hero-image img {
    height:320px;
  }
  body.woocommerce-checkout .imd-payment-hero-features {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media (max-width: 640px) {
  body.woocommerce-checkout .imd-checkout-template {
    padding:14px 0 24px;
  }
  body.woocommerce-checkout .imd-payment-shell {
    width:calc(100% - 22px);
  }
  body.woocommerce-checkout .imd-payment-hero-copy {
    padding:20px 18px 10px;
  }
  body.woocommerce-checkout .imd-payment-hero-copy h2 {
    font-size:25px;
  }
  body.woocommerce-checkout .imd-payment-hero-features {
    gap:6px;
  }
  body.woocommerce-checkout .imd-payment-hero-feature {
    padding:9px 5px;
  }
  body.woocommerce-checkout .imd-payment-hero-image img {
    height:280px;
  }
  body.woocommerce-checkout .imd-payment-shell .wp-block-woocommerce-checkout,
  body.woocommerce-checkout .imd-payment-shell .wc-block-checkout,
  body.woocommerce-checkout .imd-payment-shell form.checkout.woocommerce-checkout,
  body.woocommerce-checkout .imd-payment-shell .woocommerce form#order_review,
  body.woocommerce-checkout .imd-payment-shell .woocommerce-order {
    border-radius:16px !important;
    padding:11px !important;
  }
}

/* v2.6.23 — Cart and checkout compact sizing refinement
   Scope only: cart + checkout payment areas. No other site section is affected. */
body.woocommerce-cart .imd-payment-flow-nav,
body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce-notices-wrapper {
  width:min(1040px, calc(100% - 42px));
  margin-left:auto;
  margin-right:auto;
}

/* Cart page: tighten overall width, card sizing, and button proportions. */
body.woocommerce-cart .woocommerce {
  display:grid;
  grid-template-columns:minmax(0, 1.42fr) minmax(280px, 0.72fr);
  gap:18px;
  align-items:start;
}
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .cart-collaterals .cart_totals {
  width:100% !important;
  margin:0 !important;
}
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals {
  padding:16px 18px !important;
  border-radius:20px !important;
}
body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td {
  padding:11px 10px !important;
  font-size:14px !important;
}
body.woocommerce-cart table.shop_table .product-name a,
body.woocommerce-cart table.shop_table .product-price,
body.woocommerce-cart table.shop_table .product-subtotal,
body.woocommerce-cart .cart_totals h2 {
  font-size:14px;
}
body.woocommerce-cart table.shop_table .product-name,
body.woocommerce-cart table.shop_table .product-price,
body.woocommerce-cart table.shop_table .product-subtotal,
body.woocommerce-cart .cart_totals table td,
body.woocommerce-cart .cart_totals table th {
  color:#183e74;
}
body.woocommerce-cart table.shop_table .product-thumbnail img {
  width:72px;
  height:auto;
}
body.woocommerce-cart .quantity .qty,
body.woocommerce-cart .woocommerce .quantity input.qty {
  width:60px;
  min-height:38px;
  font-size:15px;
}
body.woocommerce-cart .wc-proceed-to-checkout .button,
body.woocommerce-cart .checkout-button,
body.woocommerce-cart .payment_request_button,
body.woocommerce-cart .wcpay-payment-request-button {
  min-height:44px !important;
  font-size:15px !important;
  border-radius:10px !important;
}
body.woocommerce-cart .cart_totals table.shop_table {
  margin-bottom:14px !important;
}

/* Checkout page: make the payment shell more compact and proportionate. */
body.woocommerce-checkout .imd-checkout-template {
  padding:18px 0 28px;
}
body.woocommerce-checkout .imd-payment-shell {
  width:min(990px, calc(100% - 34px));
  grid-template-columns:330px minmax(0, 1fr);
  gap:16px;
}
body.woocommerce-checkout .imd-payment-shell-main {
  max-width:620px;
}
body.woocommerce-checkout .imd-payment-hero-card {
  border-radius:18px;
}
body.woocommerce-checkout .imd-payment-hero-copy {
  padding:22px 22px 10px;
}
body.woocommerce-checkout .imd-payment-hero-copy h2 {
  font-size:28px;
  margin:0 0 8px;
}
body.woocommerce-checkout .imd-payment-hero-copy p {
  max-width:285px;
  font-size:12px;
}
body.woocommerce-checkout .imd-payment-hero-features {
  gap:7px;
  margin-top:14px;
}
body.woocommerce-checkout .imd-payment-hero-feature {
  padding:9px 6px;
  border-radius:11px;
}
body.woocommerce-checkout .imd-payment-hero-icon {
  font-size:17px;
  margin-bottom:5px;
}
body.woocommerce-checkout .imd-payment-hero-feature strong {
  font-size:10px;
}
body.woocommerce-checkout .imd-payment-hero-feature small {
  font-size:9px;
}
body.woocommerce-checkout .imd-payment-hero-image img {
  height:390px;
}

/* Block checkout compactness. */
body.woocommerce-checkout .imd-payment-shell .wp-block-woocommerce-checkout,
body.woocommerce-checkout .imd-payment-shell .wc-block-checkout {
  padding:12px !important;
  border-radius:18px;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-order-summary,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-checkout-step {
  padding:10px 12px !important;
  margin:0 0 8px !important;
  border-radius:12px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-title,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-title.wc-block-components-checkout-step__title,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-panel__button {
  font-size:14px !important;
  margin-bottom:7px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-text-input input,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-combobox .components-combobox-control__input,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-combobox-control .components-text-control__input,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-address-form input,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-address-form select,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-select select {
  min-height:40px !important;
  height:40px !important;
  font-size:12px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-radio-control__option-layout {
  padding:9px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-order-summary-item__image {
  width:50px !important;
  min-width:50px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-product-name,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-formatted-money-amount,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-totals-item__label,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-totals-item__value {
  font-size:12px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-form .wc-block-components-button {
  min-height:42px !important;
  font-size:14px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-express-payment__event-buttons > li,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-express-payment__event-buttons button,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-express-payment__event-buttons iframe {
  min-height:40px !important;
  height:40px !important;
}

/* Classic checkout compactness. */
body.woocommerce-checkout .imd-payment-shell form.checkout.woocommerce-checkout,
body.woocommerce-checkout .imd-payment-shell .woocommerce form#order_review,
body.woocommerce-checkout .imd-payment-shell .woocommerce-order {
  padding:12px !important;
  border-radius:18px !important;
}
body.woocommerce-checkout .imd-payment-shell #customer_details > div,
body.woocommerce-checkout .imd-payment-shell .woocommerce-checkout-review-order,
body.woocommerce-checkout .imd-payment-shell #order_review,
body.woocommerce-checkout .imd-payment-shell #payment {
  padding:10px 12px !important;
  border-radius:12px !important;
}
body.woocommerce-checkout .imd-payment-shell h2,
body.woocommerce-checkout .imd-payment-shell h3 {
  font-size:15px !important;
  margin:0 0 8px !important;
}
body.woocommerce-checkout .imd-payment-shell table.shop_table th,
body.woocommerce-checkout .imd-payment-shell table.shop_table td {
  padding:8px 8px !important;
  font-size:12px !important;
}
body.woocommerce-checkout .imd-payment-shell .woocommerce form .form-row {
  margin-bottom:10px !important;
}
body.woocommerce-checkout .imd-payment-shell .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .imd-payment-shell .woocommerce form .form-row textarea,
body.woocommerce-checkout .imd-payment-shell .woocommerce form .form-row select,
body.woocommerce-checkout .imd-payment-shell .woocommerce #payment ul.payment_methods input.input-text {
  min-height:40px !important;
  padding:8px 10px !important;
  border-radius:8px !important;
  font-size:12px !important;
}
body.woocommerce-checkout .imd-payment-shell .woocommerce form .form-row textarea {
  min-height:72px !important;
}
body.woocommerce-checkout .imd-payment-shell #payment ul.payment_methods li {
  padding:10px !important;
  border-radius:10px !important;
}
body.woocommerce-checkout .imd-payment-shell #payment div.payment_box {
  padding:10px !important;
  border-radius:10px !important;
}
body.woocommerce-checkout .imd-payment-shell #payment .place-order .button,
body.woocommerce-checkout .imd-payment-shell #place_order,
body.woocommerce-checkout .imd-payment-shell .payment_request_button,
body.woocommerce-checkout .imd-payment-shell .wcpay-payment-request-button {
  min-height:42px !important;
  font-size:14px !important;
  border-radius:9px !important;
}

@media (max-width: 980px) {
  body.woocommerce-cart .woocommerce {
    grid-template-columns:1fr;
  }
  body.woocommerce-checkout .imd-payment-shell {
    width:min(760px, calc(100% - 28px));
    grid-template-columns:1fr;
    gap:14px;
  }
  body.woocommerce-checkout .imd-payment-shell-main {
    max-width:none;
  }
  body.woocommerce-checkout .imd-payment-hero-image img {
    height:320px;
  }
}

@media (max-width: 640px) {
  body.woocommerce-cart .imd-payment-flow-nav,
  body.woocommerce-cart .woocommerce-notices-wrapper,
  body.woocommerce-cart .woocommerce,
  body.woocommerce-checkout .woocommerce-notices-wrapper {
    width:calc(100% - 24px);
  }
  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals .cart_totals {
    padding:14px !important;
    border-radius:16px !important;
  }
  body.woocommerce-checkout .imd-checkout-template {
    padding:14px 0 22px;
  }
  body.woocommerce-checkout .imd-payment-shell {
    width:calc(100% - 20px);
  }
  body.woocommerce-checkout .imd-payment-hero-copy h2 {
    font-size:24px;
  }
  body.woocommerce-checkout .imd-payment-hero-image img {
    height:270px;
  }
}

/* v2.6.24 — stronger cart + checkout block compact sizing
   Applies only to cart and checkout payment flows. */

/* Cart block wrapper and inner grid */
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart {
  width:min(1020px, calc(100% - 42px)) !important;
  margin:0 auto 30px !important;
}
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart,
body.woocommerce-cart .entry-content > .wc-block-cart {
  background:transparent !important;
}
body.woocommerce-cart .wc-block-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar,
body.woocommerce-cart .wc-block-cart__submit,
body.woocommerce-cart .wc-block-components-sidebar {
  max-width:100%;
}
body.woocommerce-cart .wc-block-cart .wc-block-cart__main {
  flex-basis:calc(100% - 310px) !important;
}
body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
  flex-basis:290px !important;
  width:290px !important;
}
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wc-block-components-sidebar-layout {
  gap:18px !important;
}
body.woocommerce-cart .wc-block-cart-items,
body.woocommerce-cart .wc-block-components-sidebar,
body.woocommerce-cart .wc-block-cart__submit-container,
body.woocommerce-cart .wc-block-cart__totals-title,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-order-summary,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-panel,
body.woocommerce-cart .wc-block-cart__main .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-components-totals-coupon,
body.woocommerce-cart .wc-block-cart__submit {
  border-radius:18px !important;
}
body.woocommerce-cart .wc-block-cart-items,
body.woocommerce-cart .wc-block-components-sidebar,
body.woocommerce-cart .wc-block-cart__submit {
  padding:14px !important;
}
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__header,
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-order-summary-item,
body.woocommerce-cart .wc-block-components-totals-item {
  padding-top:10px !important;
  padding-bottom:10px !important;
}
body.woocommerce-cart .wc-block-cart-item__image,
body.woocommerce-cart .wc-block-components-order-summary-item__image {
  width:58px !important;
  min-width:58px !important;
}
body.woocommerce-cart .wc-block-cart-item__image img,
body.woocommerce-cart .wc-block-components-order-summary-item__image img {
  max-width:58px !important;
}
body.woocommerce-cart .wc-block-components-product-name,
body.woocommerce-cart .wc-block-cart-item__prices,
body.woocommerce-cart .wc-block-formatted-money-amount,
body.woocommerce-cart .wc-block-components-formatted-money-amount,
body.woocommerce-cart .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-product-metadata {
  font-size:13px !important;
}
body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name {
  font-size:16px !important;
  font-weight:800 !important;
}
body.woocommerce-cart .wc-block-cart-item__prices .wc-block-formatted-money-amount,
body.woocommerce-cart .wc-block-components-order-summary-item__total-price,
body.woocommerce-cart .wc-block-components-order-summary-item__total-price .wc-block-formatted-money-amount {
  font-size:16px !important;
  font-weight:800 !important;
}
body.woocommerce-cart .wc-block-components-quantity-selector {
  max-width:118px !important;
  min-height:38px !important;
}
body.woocommerce-cart .wc-block-components-quantity-selector input,
body.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input {
  min-height:38px !important;
  font-size:14px !important;
}
body.woocommerce-cart .wc-block-components-button,
body.woocommerce-cart .wp-element-button,
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-express-payment__event-button,
body.woocommerce-cart .wc-block-components-express-payment__event-button button,
body.woocommerce-cart .wc-block-components-totals-coupon__button {
  min-height:42px !important;
  font-size:14px !important;
  border-radius:10px !important;
}
body.woocommerce-cart .wc-block-components-express-payment__event-buttons,
body.woocommerce-cart .wc-block-components-express-payment {
  margin:12px 0 !important;
}
body.woocommerce-cart .wc-block-components-express-payment__event-buttons > li,
body.woocommerce-cart .wc-block-components-express-payment__event-buttons button,
body.woocommerce-cart .wc-block-components-express-payment__event-buttons iframe {
  min-height:42px !important;
  height:42px !important;
}
body.woocommerce-cart .wc-block-components-panel__button,
body.woocommerce-cart .wc-block-components-totals-wrapper h2,
body.woocommerce-cart .wc-block-cart__totals-title {
  font-size:14px !important;
}
body.woocommerce-cart .wc-block-cart__submit-container {
  margin-top:12px !important;
}

/* Tighten classic cart container even further in case classic cart renders. */
body.woocommerce-cart .woocommerce {
  width:min(1020px, calc(100% - 42px)) !important;
}

/* Checkout block wrapper reduction */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout {
  width:min(980px, calc(100% - 38px)) !important;
  margin:0 auto 26px !important;
}
body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout {
  gap:16px !important;
}
body.woocommerce-checkout .wc-block-checkout__form {
  padding:12px !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
  padding:10px !important;
}
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-panel {
  padding:10px 12px !important;
  border-radius:12px !important;
}
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkout-step + .wc-block-components-checkout-step {
  margin-top:8px !important;
}
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-panel__button {
  font-size:14px !important;
  margin-bottom:6px !important;
}
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-select select,
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-address-form input,
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-address-form select,
body.woocommerce-checkout .wc-block-checkout__form .components-text-control__input,
body.woocommerce-checkout .wc-block-checkout__form .components-combobox-control__input,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-formatted-money-amount,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-item__value {
  font-size:12px !important;
}
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-select select,
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-address-form input,
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-address-form select,
body.woocommerce-checkout .wc-block-checkout__form .components-text-control__input,
body.woocommerce-checkout .wc-block-checkout__form .components-combobox-control__input {
  min-height:38px !important;
  height:38px !important;
}
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control__option-layout {
  padding:8px !important;
}
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkbox,
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-radio-control__option {
  border-radius:10px !important;
}
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-express-payment__event-buttons > li,
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-express-payment__event-buttons button,
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-express-payment__event-buttons iframe,
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-button,
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkout-place-order-button {
  min-height:40px !important;
  height:40px !important;
  font-size:14px !important;
  border-radius:10px !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item__image {
  width:48px !important;
  min-width:48px !important;
}

@media (max-width: 980px) {
  body.woocommerce-cart .wp-block-woocommerce-cart,
  body.woocommerce-cart .wc-block-cart,
  body.woocommerce-checkout .wp-block-woocommerce-checkout,
  body.woocommerce-checkout .wc-block-checkout {
    width:min(760px, calc(100% - 28px)) !important;
  }
  body.woocommerce-cart .wc-block-cart .wc-block-cart__main,
  body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
    flex-basis:100% !important;
    width:100% !important;
  }
}

@media (max-width: 640px) {
  body.woocommerce-cart .wp-block-woocommerce-cart,
  body.woocommerce-cart .wc-block-cart,
  body.woocommerce-checkout .wp-block-woocommerce-checkout,
  body.woocommerce-checkout .wc-block-checkout {
    width:calc(100% - 20px) !important;
  }
}

/* v2.6.25 — checkout page reduced further to better match the compact reference.
   Checkout payment shell only. */
body.woocommerce-checkout .imd-checkout-template {
  padding:16px 0 24px !important;
}
body.woocommerce-checkout .imd-payment-shell {
  width:min(1120px, calc(100% - 72px)) !important;
  grid-template-columns:430px minmax(0, 1fr) !important;
  gap:20px !important;
  align-items:start !important;
}
body.woocommerce-checkout .imd-payment-shell-main {
  max-width:670px !important;
}
body.woocommerce-checkout .imd-payment-hero-card {
  border-radius:20px !important;
  overflow:hidden !important;
}
body.woocommerce-checkout .imd-payment-hero-copy {
  padding:28px 28px 14px !important;
}
body.woocommerce-checkout .imd-payment-hero-copy h2 {
  font-size:34px !important;
  line-height:1.05 !important;
  letter-spacing:-0.02em !important;
  margin:0 0 12px !important;
}
body.woocommerce-checkout .imd-payment-hero-copy p {
  max-width:300px !important;
  font-size:15px !important;
  line-height:1.45 !important;
  margin:0 !important;
}
body.woocommerce-checkout .imd-payment-hero-features {
  gap:12px !important;
  margin-top:20px !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
}
body.woocommerce-checkout .imd-payment-hero-feature {
  padding:14px 10px !important;
  border-radius:12px !important;
}
body.woocommerce-checkout .imd-payment-hero-icon {
  font-size:21px !important;
  margin-bottom:8px !important;
}
body.woocommerce-checkout .imd-payment-hero-feature strong {
  font-size:12px !important;
  line-height:1.2 !important;
}
body.woocommerce-checkout .imd-payment-hero-feature small {
  display:block !important;
  font-size:11px !important;
  line-height:1.35 !important;
  margin-top:4px !important;
}
body.woocommerce-checkout .imd-payment-hero-image img {
  height:430px !important;
  object-fit:cover !important;
}

/* Tighten and refine the right checkout card. */
body.woocommerce-checkout .imd-payment-shell .wp-block-woocommerce-checkout,
body.woocommerce-checkout .imd-payment-shell .wc-block-checkout,
body.woocommerce-checkout .imd-payment-shell form.checkout.woocommerce-checkout,
body.woocommerce-checkout .imd-payment-shell .woocommerce form#order_review,
body.woocommerce-checkout .imd-payment-shell .woocommerce-order {
  padding:18px !important;
  border-radius:20px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-sidebar-layout {
  gap:14px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-checkout__form,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-sidebar {
  padding:0 !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-order-summary,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-checkout-step,
body.woocommerce-checkout .imd-payment-shell #customer_details > div,
body.woocommerce-checkout .imd-payment-shell .woocommerce-checkout-review-order,
body.woocommerce-checkout .imd-payment-shell #order_review,
body.woocommerce-checkout .imd-payment-shell #payment {
  padding:14px 16px !important;
  border-radius:14px !important;
  margin:0 0 10px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-title,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-title.wc-block-components-checkout-step__title,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-panel__button,
body.woocommerce-checkout .imd-payment-shell h2,
body.woocommerce-checkout .imd-payment-shell h3 {
  font-size:15px !important;
  line-height:1.3 !important;
  margin:0 0 10px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-order-summary-item__image {
  width:56px !important;
  min-width:56px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-product-name {
  font-size:14px !important;
  font-weight:700 !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-formatted-money-amount,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-totals-item__label,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-totals-item__value {
  font-size:13px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-text-input input,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-combobox .components-combobox-control__input,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-combobox-control .components-text-control__input,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-address-form input,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-address-form select,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-select select,
body.woocommerce-checkout .imd-payment-shell .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .imd-payment-shell .woocommerce form .form-row textarea,
body.woocommerce-checkout .imd-payment-shell .woocommerce form .form-row select,
body.woocommerce-checkout .imd-payment-shell .woocommerce #payment ul.payment_methods input.input-text {
  min-height:44px !important;
  height:44px !important;
  padding:10px 12px !important;
  font-size:13px !important;
  border-radius:10px !important;
}
body.woocommerce-checkout .imd-payment-shell .woocommerce form .form-row,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-address-form__address_1,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-address-form__address_2,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-address-form__city,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-address-form__state,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-address-form__postcode,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-address-form__phone,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-address-form__first_name,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-address-form__last_name {
  margin-bottom:10px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-radio-control__option-layout,
body.woocommerce-checkout .imd-payment-shell #payment ul.payment_methods li,
body.woocommerce-checkout .imd-payment-shell #payment div.payment_box {
  padding:12px !important;
  border-radius:12px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-express-payment__content,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-express-payment__event-buttons {
  margin:10px 0 !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-express-payment__event-buttons > li,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-express-payment__event-buttons button,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-express-payment__event-buttons iframe,
body.woocommerce-checkout .imd-payment-shell .payment_request_button,
body.woocommerce-checkout .imd-payment-shell .wcpay-payment-request-button {
  min-height:46px !important;
  height:46px !important;
  border-radius:10px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .imd-payment-shell .wc-block-components-form .wc-block-components-button,
body.woocommerce-checkout .imd-payment-shell #payment .place-order .button,
body.woocommerce-checkout .imd-payment-shell #place_order {
  min-height:52px !important;
  height:52px !important;
  font-size:16px !important;
  font-weight:700 !important;
  border-radius:12px !important;
}
body.woocommerce-checkout .imd-payment-shell .wc-block-components-checkbox label,
body.woocommerce-checkout .imd-payment-shell .woocommerce-privacy-policy-text,
body.woocommerce-checkout .imd-payment-shell #payment .place-order {
  font-size:12px !important;
}

@media (max-width: 1180px) {
  body.woocommerce-checkout .imd-payment-shell {
    width:min(1000px, calc(100% - 44px)) !important;
    grid-template-columns:380px minmax(0, 1fr) !important;
  }
  body.woocommerce-checkout .imd-payment-shell-main {
    max-width:600px !important;
  }
  body.woocommerce-checkout .imd-payment-hero-copy h2 {
    font-size:30px !important;
  }
  body.woocommerce-checkout .imd-payment-hero-image img {
    height:370px !important;
  }
}

@media (max-width: 980px) {
  body.woocommerce-checkout .imd-payment-shell {
    width:min(760px, calc(100% - 28px)) !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  body.woocommerce-checkout .imd-payment-shell-main {
    max-width:none !important;
  }
  body.woocommerce-checkout .imd-payment-hero-copy {
    padding:22px 22px 10px !important;
  }
  body.woocommerce-checkout .imd-payment-hero-copy h2 {
    font-size:27px !important;
  }
  body.woocommerce-checkout .imd-payment-hero-copy p {
    font-size:13px !important;
  }
  body.woocommerce-checkout .imd-payment-hero-features {
    gap:8px !important;
  }
  body.woocommerce-checkout .imd-payment-hero-image img {
    height:300px !important;
  }
}

@media (max-width: 640px) {
  body.woocommerce-checkout .imd-payment-shell {
    width:calc(100% - 20px) !important;
  }
  body.woocommerce-checkout .imd-payment-hero-features {
    grid-template-columns:1fr !important;
  }
  body.woocommerce-checkout .imd-payment-hero-image img {
    height:250px !important;
  }
}

/* =====================================================================
   v2.6.26 — UNIFIED ISO METRIK PAYMENT CENTER
   STRICT SCOPE: checkout/order-pay/order-received, product payment controls,
   Buy Now review/payment preview, and customer/provider Pay buttons only.
   No non-payment page layout is changed.
   ===================================================================== */

/* Checkout-only minimalist header from approved payment reference. */
body.woocommerce-checkout{
  background:#fff !important;
}
body.woocommerce-checkout .imd-payment-center-header{
  height:92px;
  background:#fff;
  border-bottom:1px solid #eef3f8;
  display:flex;
  align-items:center;
}
body.woocommerce-checkout .imd-payment-center-header-inner{
  width:min(1040px,calc(100% - 48px));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
body.woocommerce-checkout .imd-payment-center-brand img{
  width:178px;
  height:56px;
  object-fit:contain;
  object-position:left center;
}
body.woocommerce-checkout .imd-payment-center-secure{
  display:flex;
  align-items:center;
  gap:8px;
  color:#123f80;
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
}
body.woocommerce-checkout .imd-checkout-template{
  background:#fff !important;
  padding:28px 0 42px !important;
}

/* The exact two-panel payment center used by Buy Now, customer checkout,
   customer order-pay, and provider order-pay. */
body.woocommerce-checkout .imd-payment-shell{
  width:min(1040px,calc(100% - 48px)) !important;
  margin:0 auto !important;
  display:grid !important;
  grid-template-columns:390px minmax(0,1fr) !important;
  gap:18px !important;
  align-items:start !important;
}
body.woocommerce-checkout .imd-payment-shell-main{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  background:#fff;
  border:1px solid #dce7f2;
  border-radius:18px;
  box-shadow:0 10px 28px rgba(18,58,100,.06);
  padding:18px !important;
}
body.woocommerce-checkout .imd-payment-hero{
  min-width:0;
  align-self:stretch;
}
body.woocommerce-checkout .imd-payment-hero-card{
  height:100%;
  min-height:710px;
  display:flex;
  flex-direction:column;
  background:#fff !important;
  border:1px solid #dce7f2 !important;
  border-radius:18px !important;
  box-shadow:0 10px 28px rgba(18,58,100,.06) !important;
  overflow:hidden;
}
body.woocommerce-checkout .imd-payment-hero-copy{
  padding:34px 30px 18px !important;
}
body.woocommerce-checkout .imd-payment-hero-copy h2{
  margin:0 0 14px !important;
  color:#0a3b78 !important;
  font-size:36px !important;
  line-height:1.06 !important;
  letter-spacing:-.025em !important;
  font-weight:700 !important;
}
body.woocommerce-checkout .imd-payment-hero-copy p{
  margin:0 !important;
  max-width:300px !important;
  color:#294a70 !important;
  font-size:14px !important;
  line-height:1.52 !important;
}
body.woocommerce-checkout .imd-payment-hero-features{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:9px !important;
  margin-top:21px !important;
}
body.woocommerce-checkout .imd-payment-hero-feature{
  min-width:0;
  padding:12px 7px !important;
  background:#fff !important;
  border:1px solid #dce7f2 !important;
  border-radius:10px !important;
  text-align:center;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-hero-icon{
  display:block;
  margin:0 0 7px !important;
  color:#0a4a98;
  font-size:21px !important;
  line-height:1 !important;
}
body.woocommerce-checkout .imd-payment-hero-feature strong{
  display:block;
  color:#35a64b !important;
  font-size:10.5px !important;
  line-height:1.25 !important;
}
body.woocommerce-checkout .imd-payment-hero-feature small{
  display:block;
  margin-top:5px !important;
  color:#50657c !important;
  font-size:9.5px !important;
  line-height:1.35 !important;
}
body.woocommerce-checkout .imd-payment-hero-image{
  margin-top:auto !important;
  min-height:0;
}
body.woocommerce-checkout .imd-payment-hero-image img{
  display:block;
  width:100% !important;
  height:405px !important;
  object-fit:cover !important;
  object-position:center 12% !important;
  border-radius:0 !important;
}

/* Top row: back navigation + two-step progress. */
body.woocommerce-checkout .imd-payment-top-row{
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:12px;
}
body.woocommerce-checkout .imd-payment-top-row .imd-payment-flow-nav{
  width:auto !important;
  margin:0 !important;
  flex:0 0 auto;
}
body.woocommerce-checkout .imd-payment-top-row .imd-payment-flow-back{
  min-height:30px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#075dcc !important;
  font-size:12px !important;
}
body.woocommerce-checkout .imd-payment-top-row .imd-payment-flow-back:hover{
  transform:none !important;
  background:transparent !important;
}
body.woocommerce-checkout .imd-payment-top-row .imd-payment-flow-back-arrow{
  font-size:18px !important;
}
body.woocommerce-checkout .imd-payment-steps{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  min-width:260px;
  color:#183b68;
  font-size:11px;
  white-space:nowrap;
}
body.woocommerce-checkout .imd-payment-step{
  display:inline-flex;
  align-items:center;
  gap:7px;
}
body.woocommerce-checkout .imd-payment-step b{
  width:24px;
  height:24px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:11px;
  font-weight:700;
}
body.woocommerce-checkout .imd-payment-step.is-complete b{background:#38ad4f;}
body.woocommerce-checkout .imd-payment-step.is-current b{background:#0868d5;}
body.woocommerce-checkout .imd-payment-step-line{
  width:68px;
  height:1px;
  background:#7d94b1;
}

/* Compact order card above every payment center. */
body.woocommerce-checkout .imd-payment-order-card{
  display:grid;
  grid-template-columns:92px minmax(0,1fr) 105px;
  gap:14px;
  align-items:center;
  padding:13px !important;
  margin-bottom:15px;
  background:#fff;
  border:1px solid #dbe6f1;
  border-radius:12px;
}
body.woocommerce-checkout .imd-payment-order-image{
  width:92px;
  height:78px;
  object-fit:contain;
  border-radius:7px;
  background:#f8fafc;
}
body.woocommerce-checkout .imd-payment-order-copy h2{
  margin:0 0 4px !important;
  color:#0a3b78 !important;
  font-size:16px !important;
  line-height:1.2 !important;
}
body.woocommerce-checkout .imd-payment-order-copy p{
  margin:0 0 4px !important;
  color:#4c627a !important;
  font-size:10.5px !important;
  line-height:1.4 !important;
}
body.woocommerce-checkout .imd-payment-order-copy small{
  display:block;
  color:#677b91;
  font-size:9.5px;
}
body.woocommerce-checkout .imd-payment-order-price{
  align-self:stretch;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
}
body.woocommerce-checkout .imd-payment-summary-total{
  color:#0a3b78;
  font-size:17px;
  line-height:1;
  font-weight:800;
  white-space:nowrap;
}
body.woocommerce-checkout .imd-payment-edit{
  min-height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 12px;
  border:1px solid #0868d5;
  border-radius:7px;
  color:#0868d5;
  background:#fff;
  font-size:10.5px;
  font-weight:700;
}

/* Strip WooCommerce's outer sizing so the live controls sit inside our card. */
body.woocommerce-checkout .imd-payment-live-checkout{
  width:100%;
  min-width:0;
}
body.woocommerce-checkout .imd-payment-live-checkout > .woocommerce,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce-checkout,
body.woocommerce-checkout .imd-payment-live-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-checkout{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

/* Block Checkout: custom order card replaces the duplicate Woo sidebar. */
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-sidebar-layout{
  display:block !important;
  margin:0 !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-sidebar{
  position:absolute !important;
  left:-99999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-checkout__form{
  width:100% !important;
  max-width:none !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-step{
  padding:10px 11px !important;
  margin:0 0 9px !important;
  border:1px solid #e1eaf3 !important;
  border-radius:10px !important;
  background:#fff !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-title,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-panel__button{
  color:#0a3b78 !important;
  font-size:13px !important;
  line-height:1.25 !important;
  font-weight:700 !important;
  margin-bottom:6px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-address-form select,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-select select,
body.woocommerce-checkout .imd-payment-live-checkout .components-text-control__input,
body.woocommerce-checkout .imd-payment-live-checkout .components-combobox-control__input{
  min-height:38px !important;
  height:38px !important;
  padding:7px 9px !important;
  border:1px solid #d7e2ed !important;
  border-radius:7px !important;
  font-size:11.5px !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-address-form label{
  font-size:9.5px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-radio-control__option-layout{
  padding:8px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-radio-control__option,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkbox{
  border-radius:8px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__content{
  gap:7px !important;
  margin:7px 0 !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons > li,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons button,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons iframe{
  min-height:39px !important;
  height:39px !important;
  border-radius:7px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment-continue-rule{
  margin:8px 0 !important;
  color:#6b7f94;
  font-size:10px;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-button{
  min-height:45px !important;
  border-radius:7px !important;
  font-size:14px !important;
  font-weight:700 !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-place-order-button{
  width:100% !important;
  background:#0868d5 !important;
  color:#fff !important;
  box-shadow:none !important;
}

/* Classic checkout / customer/provider order-pay. */
body.woocommerce-checkout .imd-payment-live-checkout form.checkout.woocommerce-checkout,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form#order_review,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce-order{
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #customer_details{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:9px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #customer_details > div{
  padding:10px 11px !important;
  margin:0 0 9px !important;
  border:1px solid #e1eaf3 !important;
  border-radius:10px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #order_review_heading,
body.woocommerce-checkout .imd-payment-live-checkout #order_review > table.shop_table,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce-checkout-review-order-table{
  position:absolute !important;
  left:-99999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce-checkout-review-order,
body.woocommerce-checkout .imd-payment-live-checkout #order_review,
body.woocommerce-checkout .imd-payment-live-checkout #payment{
  width:100% !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
}
body.woocommerce-checkout .imd-payment-live-checkout h2,
body.woocommerce-checkout .imd-payment-live-checkout h3{
  color:#0a3b78 !important;
  font-size:13px !important;
  margin:0 0 7px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row{
  margin-bottom:8px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row select,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce #payment ul.payment_methods input.input-text{
  min-height:38px !important;
  padding:7px 9px !important;
  border:1px solid #d7e2ed !important;
  border-radius:7px !important;
  font-size:11.5px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #payment ul.payment_methods{
  margin:0 !important;
  padding:0 !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #payment ul.payment_methods li{
  padding:10px !important;
  margin:0 0 8px !important;
  border:1px solid #e1eaf3 !important;
  border-radius:9px !important;
  background:#fff !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #payment div.payment_box{
  padding:10px !important;
  margin-top:8px !important;
  border:1px solid #e1eaf3 !important;
  border-radius:8px !important;
  background:#fff !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #payment .place-order{
  padding:8px 0 0 !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #payment .place-order .button,
body.woocommerce-checkout .imd-payment-live-checkout #place_order,
body.woocommerce-checkout .imd-payment-live-checkout .payment_request_button,
body.woocommerce-checkout .imd-payment-live-checkout .wcpay-payment-request-button{
  width:100% !important;
  min-height:45px !important;
  border-radius:7px !important;
  font-size:14px !important;
  font-weight:700 !important;
}

body.woocommerce-checkout .imd-payment-security-note{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:8px;
  margin-top:10px;
  color:#59708b;
  text-align:left;
}
body.woocommerce-checkout .imd-payment-security-note span{
  color:#0a4a98;
  font-size:13px;
  line-height:1.5;
}
body.woocommerce-checkout .imd-payment-security-note strong,
body.woocommerce-checkout .imd-payment-security-note small{
  display:block;
  font-size:9.5px;
  line-height:1.4;
  font-weight:500;
}

/* Product payment controls reached from Homepage and Shop.
   Only Stripe/express-payment UI is restyled; product content is untouched. */
body.single-product .wc-stripe-product-checkout-container,
body.single-product #wc-stripe-payment-request-wrapper,
body.single-product .wcpay-payment-request-wrapper{
  max-width:100% !important;
  margin-top:10px !important;
  padding:10px !important;
  background:#fff;
  border:1px solid #dce7f2;
  border-radius:10px;
}
body.single-product .wc-stripe-product-checkout-container:before,
body.single-product #wc-stripe-payment-request-wrapper:before,
body.single-product .wcpay-payment-request-wrapper:before{
  content:"Express Checkout";
  display:block;
  margin-bottom:7px;
  color:#0a3b78;
  font-size:11px;
  font-weight:700;
}
body.single-product .payment_request_button,
body.single-product .wc-stripe-product-checkout-container .payment_request_button,
body.single-product .wcpay-payment-request-button{
  min-height:42px !important;
  border-radius:7px !important;
}

/* Buy Now: only the Review & Pay payment preview is brought into the same design language. */
body.page-id-0 .purchase-step[data-step="4"],
body.page-buy-now .purchase-step[data-step="4"],
body.page-template-default .order-builder .purchase-step[data-step="4"]{
  background:#fff;
}
.order-builder .purchase-step[data-step="4"] .review-box,
.order-builder .purchase-step[data-step="4"] .payment-preview,
.order-builder .purchase-summary{
  border:1px solid #dce7f2 !important;
  border-radius:10px !important;
  background:#fff !important;
  box-shadow:none !important;
}
.order-builder .purchase-step[data-step="4"] .payment-preview{
  padding:12px !important;
  margin-top:10px !important;
}
.order-builder .purchase-step[data-step="4"] .payment-badges{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:7px !important;
}
.order-builder .purchase-step[data-step="4"] .payment-badges span{
  min-height:38px;
  display:flex !important;
  align-items:center;
  justify-content:center;
  padding:0 8px !important;
  border:1px solid #dce7f2 !important;
  border-radius:7px !important;
  background:#fff !important;
  color:#173f73 !important;
  font-size:10px !important;
  font-weight:700 !important;
}
.order-builder .purchase-step[data-step="4"] .builder-actions .btn-primary{
  background:#0868d5 !important;
  border-color:#0868d5 !important;
  box-shadow:none !important;
}

/* Customer/provider Pay buttons: preserve page layouts; only payment actions match center. */
.imd-provider-pay-button,
.woocommerce-orders-table__cell-order-actions .button.pay,
.woocommerce-orders-table__cell-order-actions a[href*="order-pay"],
.woocommerce-MyAccount-content a.button[href*="order-pay"]{
  background:#0868d5 !important;
  color:#fff !important;
  border:1px solid #0868d5 !important;
  border-radius:7px !important;
  box-shadow:none !important;
  font-weight:700 !important;
}

@media(max-width:980px){
  body.woocommerce-checkout .imd-payment-center-header-inner,
  body.woocommerce-checkout .imd-payment-shell{
    width:min(760px,calc(100% - 30px)) !important;
  }
  body.woocommerce-checkout .imd-payment-shell{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  body.woocommerce-checkout .imd-payment-hero-card{
    min-height:0 !important;
  }
  body.woocommerce-checkout .imd-payment-hero-image img{
    height:320px !important;
  }
}
@media(max-width:640px){
  body.woocommerce-checkout .imd-payment-center-header{
    height:72px;
  }
  body.woocommerce-checkout .imd-payment-center-header-inner,
  body.woocommerce-checkout .imd-payment-shell{
    width:calc(100% - 20px) !important;
  }
  body.woocommerce-checkout .imd-payment-center-brand img{
    width:145px;
    height:46px;
  }
  body.woocommerce-checkout .imd-payment-center-secure{
    font-size:10px;
  }
  body.woocommerce-checkout .imd-payment-shell-main{
    padding:12px !important;
    border-radius:14px;
  }
  body.woocommerce-checkout .imd-payment-hero-copy{
    padding:22px 18px 12px !important;
  }
  body.woocommerce-checkout .imd-payment-hero-copy h2{
    font-size:28px !important;
  }
  body.woocommerce-checkout .imd-payment-hero-features{
    gap:6px !important;
  }
  body.woocommerce-checkout .imd-payment-hero-feature{
    padding:9px 4px !important;
  }
  body.woocommerce-checkout .imd-payment-hero-feature small{
    font-size:8.5px !important;
  }
  body.woocommerce-checkout .imd-payment-hero-image img{
    height:260px !important;
  }
  body.woocommerce-checkout .imd-payment-top-row{
    align-items:flex-start;
    flex-direction:column;
    gap:6px;
  }
  body.woocommerce-checkout .imd-payment-steps{
    width:100%;
    min-width:0;
    justify-content:flex-start;
  }
  body.woocommerce-checkout .imd-payment-order-card{
    grid-template-columns:64px minmax(0,1fr) 76px;
    gap:9px;
    padding:9px !important;
  }
  body.woocommerce-checkout .imd-payment-order-image{
    width:64px;
    height:58px;
  }
  body.woocommerce-checkout .imd-payment-order-copy h2{
    font-size:13px !important;
  }
  body.woocommerce-checkout .imd-payment-order-copy p{
    display:none;
  }
  body.woocommerce-checkout .imd-payment-summary-total{
    font-size:14px;
  }
  body.woocommerce-checkout .imd-payment-edit{
    min-height:28px;
    padding:0 7px;
    font-size:9px;
  }
  .order-builder .purchase-step[data-step="4"] .payment-badges{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

/* =====================================================================
   v2.6.27 — PAYMENT CENTER FINAL MATCH + WEBSITE HEADER RESTORED
   STRICT SCOPE: checkout/order-pay/order-received and payment controls only.
   The normal ISO Metrik site header/footer are intentionally preserved.
   ===================================================================== */
body.woocommerce-checkout{
  background:#fff !important;
}
body.woocommerce-checkout .imd-checkout-template{
  background:#fff !important;
  padding:24px 0 38px !important;
}

/* Main two-panel payment center: same proportion and white visual system
   as the approved reference while sitting under the normal site header. */
body.woocommerce-checkout .imd-payment-shell{
  width:min(1500px,calc(100% - 72px)) !important;
  margin:0 auto !important;
  display:grid !important;
  grid-template-columns:minmax(470px, .42fr) minmax(0, .58fr) !important;
  gap:22px !important;
  align-items:stretch !important;
}
body.woocommerce-checkout .imd-payment-hero-card,
body.woocommerce-checkout .imd-payment-shell-main{
  border:1px solid #dce7f2 !important;
  border-radius:18px !important;
  background:#fff !important;
  box-shadow:0 10px 28px rgba(18,58,100,.055) !important;
}
body.woocommerce-checkout .imd-payment-shell-main{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  padding:22px !important;
}

/* Thank-you panel. */
body.woocommerce-checkout .imd-payment-hero-card{
  height:100% !important;
  min-height:700px !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
}
body.woocommerce-checkout .imd-payment-hero-copy{
  padding:34px 38px 18px !important;
}
body.woocommerce-checkout .imd-payment-hero-copy h2{
  max-width:410px !important;
  margin:0 0 14px !important;
  color:#0a3b78 !important;
  font-size:43px !important;
  line-height:1.04 !important;
  letter-spacing:-.03em !important;
  font-weight:700 !important;
}
body.woocommerce-checkout .imd-payment-hero-copy p{
  max-width:390px !important;
  margin:0 !important;
  color:#25466e !important;
  font-size:16px !important;
  line-height:1.5 !important;
}
body.woocommerce-checkout .imd-payment-hero-features{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:12px !important;
  margin-top:22px !important;
}
body.woocommerce-checkout .imd-payment-hero-feature{
  min-height:116px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  padding:12px 9px !important;
  border:1px solid #dce7f2 !important;
  border-radius:10px !important;
  background:#fff !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-hero-icon{
  margin:0 0 8px !important;
  color:#0a4a98 !important;
  font-size:24px !important;
  line-height:1 !important;
}
body.woocommerce-checkout .imd-payment-hero-feature strong{
  color:#35a64b !important;
  font-size:12px !important;
  line-height:1.2 !important;
}
body.woocommerce-checkout .imd-payment-hero-feature small{
  margin-top:6px !important;
  color:#50657c !important;
  font-size:10.5px !important;
  line-height:1.4 !important;
  text-align:center !important;
}
body.woocommerce-checkout .imd-payment-hero-image{
  margin-top:auto !important;
}
body.woocommerce-checkout .imd-payment-hero-image img{
  width:100% !important;
  height:420px !important;
  display:block !important;
  object-fit:cover !important;
  object-position:center 12% !important;
  border-radius:0 !important;
}

/* Back navigation + two-step indicator. */
body.woocommerce-checkout .imd-payment-top-row{
  min-height:34px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
  margin-bottom:14px !important;
}
body.woocommerce-checkout .imd-payment-top-row .imd-payment-flow-nav{
  width:auto !important;
  margin:0 !important;
}
body.woocommerce-checkout .imd-payment-top-row .imd-payment-flow-back{
  min-height:30px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#075dcc !important;
  font-size:13px !important;
}
body.woocommerce-checkout .imd-payment-top-row .imd-payment-flow-back:hover{
  transform:none !important;
}
body.woocommerce-checkout .imd-payment-steps{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:11px !important;
  color:#173d70 !important;
  font-size:12px !important;
  white-space:nowrap !important;
}
body.woocommerce-checkout .imd-payment-step{
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
}
body.woocommerce-checkout .imd-payment-step b{
  width:25px !important;
  height:25px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:50% !important;
  color:#fff !important;
  font-size:11px !important;
}
body.woocommerce-checkout .imd-payment-step.is-complete b{background:#36aa4d !important;}
body.woocommerce-checkout .imd-payment-step.is-current b{background:#0868d5 !important;}
body.woocommerce-checkout .imd-payment-step-line{
  width:72px !important;
  height:1px !important;
  background:#8196b0 !important;
}

/* Order summary card at the top of the payment side. */
body.woocommerce-checkout .imd-payment-order-card{
  display:grid !important;
  grid-template-columns:110px minmax(0,1fr) 120px !important;
  gap:16px !important;
  align-items:center !important;
  padding:14px !important;
  margin:0 0 16px !important;
  border:1px solid #dbe6f1 !important;
  border-radius:11px !important;
  background:#fff !important;
}
body.woocommerce-checkout .imd-payment-order-image{
  width:110px !important;
  height:92px !important;
  object-fit:contain !important;
  border-radius:7px !important;
  background:#f8fafc !important;
}
body.woocommerce-checkout .imd-payment-order-copy h2{
  margin:0 0 5px !important;
  color:#0a3b78 !important;
  font-size:17px !important;
  line-height:1.2 !important;
}
body.woocommerce-checkout .imd-payment-order-copy p{
  margin:0 0 5px !important;
  color:#4c627a !important;
  font-size:11px !important;
  line-height:1.4 !important;
}
body.woocommerce-checkout .imd-payment-order-copy small{
  color:#677b91 !important;
  font-size:10px !important;
}
body.woocommerce-checkout .imd-payment-order-price{
  align-self:stretch !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
}
body.woocommerce-checkout .imd-payment-summary-total{
  color:#0a3b78 !important;
  font-size:19px !important;
  line-height:1 !important;
  font-weight:800 !important;
}
body.woocommerce-checkout .imd-payment-edit{
  min-height:34px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 12px !important;
  border:1px solid #0868d5 !important;
  border-radius:7px !important;
  background:#fff !important;
  color:#0868d5 !important;
  font-size:11px !important;
  font-weight:700 !important;
}

/* Live WooCommerce payment controls — keep the actual Stripe fields live,
   but remove WooCommerce's duplicate outer cards/summary. */
body.woocommerce-checkout .imd-payment-live-checkout,
body.woocommerce-checkout .imd-payment-live-checkout > .woocommerce,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce-checkout,
body.woocommerce-checkout .imd-payment-live-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-checkout{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-sidebar-layout{
  display:block !important;
  margin:0 !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-sidebar{
  position:absolute !important;
  left:-99999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-checkout__form{
  width:100% !important;
  max-width:none !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-hidden-heading{display:none !important;}

/* Order details were already collected by Buy Now / saved account:
   keep payment center visually identical to the reference. If a guest enters
   from Shop/Home with missing required fields, JS opens the compact details drawer. */
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-details-step{
  display:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout.imd-show-payment-details .imd-payment-details-step{
  display:block !important;
}
body.woocommerce-checkout .imd-payment-details-toggle{
  width:100% !important;
  min-height:34px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  padding:0 10px !important;
  margin:0 0 10px !important;
  border:1px solid #dce7f2 !important;
  border-radius:7px !important;
  background:#f8fbff !important;
  color:#16457d !important;
  font-size:10.5px !important;
  font-weight:700 !important;
  cursor:pointer !important;
}
body.woocommerce-checkout .imd-payment-live-checkout.imd-payment-details-complete:not(.imd-show-payment-details) .imd-payment-details-toggle{
  display:none !important;
}

/* Express checkout and payment field proportions. */
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__content{
  margin:0 0 10px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(120px,1fr)) !important;
  gap:9px !important;
  margin:8px 0 10px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons > li,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons button,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons iframe{
  min-height:44px !important;
  height:44px !important;
  border-radius:7px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment-continue-rule{
  margin:10px 0 !important;
  color:#6b7f94 !important;
  font-size:10.5px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-step{
  padding:10px 11px !important;
  margin:0 0 9px !important;
  border:1px solid #e1eaf3 !important;
  border-radius:9px !important;
  background:#fff !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step{
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step > .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step > .wc-block-components-title{
  display:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-title,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-panel__button{
  color:#0a3b78 !important;
  font-size:12px !important;
  line-height:1.25 !important;
  font-weight:700 !important;
  margin-bottom:6px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-address-form select,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-select select,
body.woocommerce-checkout .imd-payment-live-checkout .components-text-control__input,
body.woocommerce-checkout .imd-payment-live-checkout .components-combobox-control__input,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row select{
  min-height:40px !important;
  height:40px !important;
  padding:7px 9px !important;
  border:1px solid #d7e2ed !important;
  border-radius:7px !important;
  background:#fff !important;
  font-size:11.5px !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-address-form label{
  font-size:9.5px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-radio-control__option-layout{
  padding:8px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-radio-control__option,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkbox{
  border-radius:8px !important;
}

/* Classic customer/provider order-pay gets the same payment card. */
body.woocommerce-checkout .imd-payment-live-checkout form.checkout.woocommerce-checkout,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form#order_review,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce-order{
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #customer_details{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:8px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #order_review_heading,
body.woocommerce-checkout .imd-payment-live-checkout #order_review > table.shop_table,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce-checkout-review-order-table{
  position:absolute !important;
  left:-99999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce-checkout-review-order,
body.woocommerce-checkout .imd-payment-live-checkout #order_review,
body.woocommerce-checkout .imd-payment-live-checkout #payment{
  width:100% !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #payment ul.payment_methods{
  margin:0 !important;
  padding:0 !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #payment ul.payment_methods li{
  padding:10px !important;
  margin:0 0 8px !important;
  border:1px solid #e1eaf3 !important;
  border-radius:9px !important;
  background:#fff !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #payment div.payment_box{
  padding:10px !important;
  margin-top:8px !important;
  border:1px solid #e1eaf3 !important;
  border-radius:8px !important;
  background:#fff !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #payment .place-order{
  padding:9px 0 0 !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-button,
body.woocommerce-checkout .imd-payment-live-checkout #payment .place-order .button,
body.woocommerce-checkout .imd-payment-live-checkout #place_order,
body.woocommerce-checkout .imd-payment-live-checkout .payment_request_button,
body.woocommerce-checkout .imd-payment-live-checkout .wcpay-payment-request-button{
  width:100% !important;
  min-height:48px !important;
  border-radius:7px !important;
  background:#0868d5 !important;
  color:#fff !important;
  font-size:15px !important;
  font-weight:700 !important;
  box-shadow:none !important;
}

body.woocommerce-checkout .imd-payment-security-note{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:center !important;
  gap:8px !important;
  margin-top:11px !important;
  color:#59708b !important;
}
body.woocommerce-checkout .imd-payment-security-note span{
  color:#0a4a98 !important;
  font-size:13px !important;
}
body.woocommerce-checkout .imd-payment-security-note strong,
body.woocommerce-checkout .imd-payment-security-note small{
  display:block !important;
  color:#59708b !important;
  font-size:9.5px !important;
  line-height:1.4 !important;
  font-weight:500 !important;
}

/* Payment controls entered from Home/Shop product journeys: only payment UI. */
body.home .wc-stripe-product-checkout-container,
body.home #wc-stripe-payment-request-wrapper,
body.home .wcpay-payment-request-wrapper,
body.single-product .wc-stripe-product-checkout-container,
body.single-product #wc-stripe-payment-request-wrapper,
body.single-product .wcpay-payment-request-wrapper,
body.post-type-archive-product .wc-stripe-product-checkout-container,
body.post-type-archive-product #wc-stripe-payment-request-wrapper,
body.post-type-archive-product .wcpay-payment-request-wrapper{
  max-width:100% !important;
  margin-top:10px !important;
  padding:10px !important;
  border:1px solid #dce7f2 !important;
  border-radius:9px !important;
  background:#fff !important;
  box-shadow:none !important;
}
body.home .payment_request_button,
body.home .wcpay-payment-request-button,
body.single-product .payment_request_button,
body.single-product .wcpay-payment-request-button,
body.post-type-archive-product .payment_request_button,
body.post-type-archive-product .wcpay-payment-request-button{
  min-height:42px !important;
  border-radius:7px !important;
}

/* Buy Now Review & Pay only — no other Buy Now sections are modified. */
.order-builder .purchase-step[data-step="4"] .review-box,
.order-builder .purchase-step[data-step="4"] .payment-preview,
.order-builder .purchase-step[data-step="4"] .purchase-summary{
  border:1px solid #dce7f2 !important;
  border-radius:10px !important;
  background:#fff !important;
  box-shadow:none !important;
}
.order-builder .purchase-step[data-step="4"] .payment-preview{
  padding:12px !important;
  margin-top:10px !important;
}
.order-builder .purchase-step[data-step="4"] .payment-badges{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:8px !important;
}
.order-builder .purchase-step[data-step="4"] .payment-badges span{
  min-height:40px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 8px !important;
  border:1px solid #dce7f2 !important;
  border-radius:7px !important;
  background:#fff !important;
  color:#173f73 !important;
  font-size:10px !important;
  font-weight:700 !important;
}
.order-builder .purchase-step[data-step="4"] .builder-actions .btn-primary{
  background:#0868d5 !important;
  border-color:#0868d5 !important;
  box-shadow:none !important;
}

/* Customer/provider payment action buttons only. */
.imd-provider-pay-button,
.woocommerce-orders-table__cell-order-actions .button.pay,
.woocommerce-orders-table__cell-order-actions a[href*="order-pay"],
.woocommerce-MyAccount-content a.button[href*="order-pay"]{
  background:#0868d5 !important;
  color:#fff !important;
  border:1px solid #0868d5 !important;
  border-radius:7px !important;
  box-shadow:none !important;
  font-weight:700 !important;
}

@media(max-width:1180px){
  body.woocommerce-checkout .imd-payment-shell{
    width:min(1040px,calc(100% - 40px)) !important;
    grid-template-columns:minmax(390px,.42fr) minmax(0,.58fr) !important;
  }
  body.woocommerce-checkout .imd-payment-hero-copy h2{font-size:36px !important;}
  body.woocommerce-checkout .imd-payment-hero-image img{height:380px !important;}
}
@media(max-width:980px){
  body.woocommerce-checkout .imd-payment-shell{
    width:min(760px,calc(100% - 30px)) !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  body.woocommerce-checkout .imd-payment-hero-card{min-height:0 !important;}
  body.woocommerce-checkout .imd-payment-hero-image img{height:320px !important;}
  body.woocommerce-checkout .imd-payment-hero-copy h2{font-size:32px !important;}
}
@media(max-width:640px){
  body.woocommerce-checkout .imd-payment-shell{
    width:calc(100% - 20px) !important;
  }
  body.woocommerce-checkout .imd-payment-shell-main{padding:13px !important;}
  body.woocommerce-checkout .imd-payment-hero-copy{padding:22px 18px 12px !important;}
  body.woocommerce-checkout .imd-payment-hero-copy h2{font-size:28px !important;}
  body.woocommerce-checkout .imd-payment-hero-features{gap:6px !important;}
  body.woocommerce-checkout .imd-payment-hero-feature{min-height:94px !important;padding:9px 5px !important;}
  body.woocommerce-checkout .imd-payment-hero-image img{height:260px !important;}
  body.woocommerce-checkout .imd-payment-top-row{align-items:flex-start !important;flex-direction:column !important;gap:6px !important;}
  body.woocommerce-checkout .imd-payment-steps{min-width:0 !important;justify-content:flex-start !important;}
  body.woocommerce-checkout .imd-payment-order-card{grid-template-columns:68px minmax(0,1fr) 78px !important;gap:9px !important;padding:9px !important;}
  body.woocommerce-checkout .imd-payment-order-image{width:68px !important;height:60px !important;}
  body.woocommerce-checkout .imd-payment-order-copy h2{font-size:13px !important;}
  body.woocommerce-checkout .imd-payment-order-copy p{display:none !important;}
  body.woocommerce-checkout .imd-payment-summary-total{font-size:14px !important;}
  .order-builder .purchase-step[data-step="4"] .payment-badges{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}

/* =====================================================================
   v2.6.30 — PAYMENT CENTER REFERENCE MATCH / LAYOUT REPAIR
   STRICT SCOPE: WooCommerce checkout, order-pay, order-received only.
   Fixes the legacy global .woocommerce-checkout width rule that was squeezing
   the payment center and keeps billing/contact details in an overlay drawer.
   ===================================================================== */
body.woocommerce-checkout{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  background:#fff !important;
  overflow-x:hidden !important;
}
body.woocommerce-checkout .imd-checkout-template{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:28px 0 44px !important;
  background:#fff !important;
}

/* Exact two-panel proportions beneath the normal website header. */
body.woocommerce-checkout .imd-payment-shell{
  width:min(1440px, calc(100% - 96px)) !important;
  max-width:1440px !important;
  margin:0 auto !important;
  display:grid !important;
  grid-template-columns:minmax(500px, .43fr) minmax(650px, .57fr) !important;
  gap:24px !important;
  align-items:start !important;
}
body.woocommerce-checkout .imd-payment-hero-card,
body.woocommerce-checkout .imd-payment-shell-main{
  width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  background:#fff !important;
  border:1px solid #d9e5f0 !important;
  border-radius:18px !important;
  box-shadow:0 12px 34px rgba(22,62,105,.055) !important;
}
body.woocommerce-checkout .imd-payment-shell-main{
  max-width:none !important;
  padding:22px 24px 20px !important;
}

/* Left thank-you panel — same height/proportion as the approved reference. */
body.woocommerce-checkout .imd-payment-hero-card{
  height:730px !important;
  min-height:730px !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
}
body.woocommerce-checkout .imd-payment-hero-copy{
  padding:38px 42px 20px !important;
}
body.woocommerce-checkout .imd-payment-hero-copy h2{
  max-width:430px !important;
  margin:0 0 14px !important;
  color:#0a3b78 !important;
  font-size:43px !important;
  line-height:1.04 !important;
  letter-spacing:-.03em !important;
  font-weight:700 !important;
}
body.woocommerce-checkout .imd-payment-hero-copy p{
  max-width:390px !important;
  margin:0 !important;
  color:#24466f !important;
  font-size:16px !important;
  line-height:1.5 !important;
}
body.woocommerce-checkout .imd-payment-hero-features{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0,1fr)) !important;
  gap:12px !important;
  margin-top:22px !important;
}
body.woocommerce-checkout .imd-payment-hero-feature{
  min-height:112px !important;
  padding:14px 10px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  border:1px solid #dbe6f1 !important;
  border-radius:10px !important;
  background:#fff !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-hero-icon{
  width:32px !important;
  height:32px !important;
  margin:0 0 8px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  color:#0a4a98 !important;
}
body.woocommerce-checkout .imd-payment-hero-icon .ico{
  width:30px !important;
  height:30px !important;
  color:#0a4a98 !important;
}
body.woocommerce-checkout .imd-payment-hero-feature strong{
  color:#35a64b !important;
  font-size:12px !important;
  line-height:1.2 !important;
}
body.woocommerce-checkout .imd-payment-hero-feature small{
  margin-top:6px !important;
  color:#52677e !important;
  font-size:10.5px !important;
  line-height:1.35 !important;
  text-align:center !important;
}
body.woocommerce-checkout .imd-payment-hero-image{
  margin-top:auto !important;
  height:420px !important;
  overflow:hidden !important;
}
body.woocommerce-checkout .imd-payment-hero-image img{
  width:100% !important;
  height:420px !important;
  object-fit:cover !important;
  object-position:center 10% !important;
  border-radius:0 !important;
}

/* Top navigation / progress row. */
body.woocommerce-checkout .imd-payment-top-row{
  min-height:34px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
  margin:0 0 14px !important;
}
body.woocommerce-checkout .imd-payment-top-row .imd-payment-flow-nav{
  width:auto !important;
  margin:0 !important;
}
body.woocommerce-checkout .imd-payment-top-row .imd-payment-flow-back{
  min-height:30px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#075dcc !important;
  font-size:13px !important;
  font-weight:700 !important;
}
body.woocommerce-checkout .imd-payment-steps{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:11px !important;
  font-size:12px !important;
  color:#173d70 !important;
  white-space:nowrap !important;
}
body.woocommerce-checkout .imd-payment-step{
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
}
body.woocommerce-checkout .imd-payment-step b{
  width:25px !important;
  height:25px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:50% !important;
  color:#fff !important;
  font-size:11px !important;
}
body.woocommerce-checkout .imd-payment-step.is-complete b{background:#36aa4d !important;}
body.woocommerce-checkout .imd-payment-step.is-current b{background:#0868d5 !important;}
body.woocommerce-checkout .imd-payment-step-line{
  width:72px !important;
  height:1px !important;
  background:#8196b0 !important;
}

/* Wide horizontal order card. */
body.woocommerce-checkout .imd-payment-order-card{
  width:100% !important;
  min-width:0 !important;
  display:grid !important;
  grid-template-columns:112px minmax(0,1fr) 125px !important;
  gap:16px !important;
  align-items:center !important;
  padding:14px !important;
  margin:0 0 16px !important;
  border:1px solid #dbe6f1 !important;
  border-radius:11px !important;
  background:#fff !important;
}
body.woocommerce-checkout .imd-payment-order-image{
  width:112px !important;
  height:92px !important;
  object-fit:contain !important;
  border-radius:7px !important;
  background:#f8fafc !important;
}
body.woocommerce-checkout .imd-payment-order-copy{
  min-width:0 !important;
}
body.woocommerce-checkout .imd-payment-order-copy h2{
  margin:0 0 5px !important;
  color:#0a3b78 !important;
  font-size:17px !important;
  line-height:1.2 !important;
}
body.woocommerce-checkout .imd-payment-order-copy p{
  display:block !important;
  max-width:330px !important;
  margin:0 0 5px !important;
  color:#4c627a !important;
  font-size:11px !important;
  line-height:1.4 !important;
}
body.woocommerce-checkout .imd-payment-order-copy small{
  color:#677b91 !important;
  font-size:10px !important;
}
body.woocommerce-checkout .imd-payment-order-price{
  align-self:stretch !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
}
body.woocommerce-checkout .imd-payment-summary-total{
  color:#0a3b78 !important;
  font-size:19px !important;
  line-height:1 !important;
  font-weight:800 !important;
}
body.woocommerce-checkout .imd-payment-edit{
  min-height:34px !important;
  padding:0 12px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:1px solid #0868d5 !important;
  border-radius:7px !important;
  background:#fff !important;
  color:#0868d5 !important;
  font-size:11px !important;
  font-weight:700 !important;
}

/* Remove the hidden Woo sidebar from layout and keep payment form full width. */
body.woocommerce-checkout .imd-payment-live-checkout,
body.woocommerce-checkout .imd-payment-live-checkout > .woocommerce,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce-checkout,
body.woocommerce-checkout .imd-payment-live-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-checkout,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-checkout__form{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-sidebar-layout{
  display:block !important;
  width:100% !important;
  margin:0 !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-sidebar{
  position:absolute !important;
  left:-100000px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}
body.woocommerce-checkout .imd-payment-hidden-heading,
body.woocommerce-checkout .imd-payment-details-toggle{
  display:none !important;
}

/* Payment details are never allowed to stretch the approved payment layout.
   They live in the modal below and can be opened by the Edit control. */
body.woocommerce-checkout .imd-payment-live-checkout > .imd-payment-details-step,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-checkout__form > .imd-payment-details-step,
body.woocommerce-checkout .imd-payment-live-checkout form > .imd-payment-details-step{
  display:none !important;
}

/* Billing/contact modal used only when required. */
html.imd-payment-modal-open{overflow:hidden !important;}
body.woocommerce-checkout .imd-payment-details-modal{
  display:none !important;
  position:fixed !important;
  inset:0 !important;
  z-index:100000 !important;
  align-items:center !important;
  justify-content:center !important;
}
body.woocommerce-checkout .imd-payment-details-modal.is-open{
  display:flex !important;
}
body.woocommerce-checkout .imd-payment-details-backdrop{
  position:absolute !important;
  inset:0 !important;
  border:0 !important;
  background:rgba(7,33,64,.42) !important;
  cursor:pointer !important;
}
body.woocommerce-checkout .imd-payment-details-dialog{
  position:relative !important;
  z-index:1 !important;
  width:min(620px,calc(100% - 30px)) !important;
  max-height:min(760px,calc(100vh - 40px)) !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
  border:1px solid #d7e3ee !important;
  border-radius:16px !important;
  background:#fff !important;
  box-shadow:0 28px 80px rgba(10,42,78,.22) !important;
}
body.woocommerce-checkout .imd-payment-details-dialog-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  padding:18px 20px !important;
  border-bottom:1px solid #e3ebf3 !important;
}
body.woocommerce-checkout .imd-payment-details-dialog-head strong{
  display:block !important;
  color:#0a3b78 !important;
  font-size:18px !important;
}
body.woocommerce-checkout .imd-payment-details-dialog-head small{
  display:block !important;
  margin-top:3px !important;
  color:#60758c !important;
  font-size:11px !important;
}
body.woocommerce-checkout .imd-payment-details-close{
  width:34px !important;
  height:34px !important;
  border:1px solid #d7e3ee !important;
  border-radius:8px !important;
  background:#fff !important;
  color:#0a3b78 !important;
  font-size:22px !important;
  line-height:1 !important;
  cursor:pointer !important;
}
body.woocommerce-checkout .imd-payment-details-modal-body{
  padding:16px 18px !important;
  overflow:auto !important;
}
body.woocommerce-checkout .imd-payment-details-modal-body .imd-payment-details-step{
  display:block !important;
  width:100% !important;
  margin:0 0 10px !important;
  padding:14px !important;
  border:1px solid #e1eaf3 !important;
  border-radius:12px !important;
  background:#fff !important;
}
body.woocommerce-checkout .imd-payment-details-modal-body .wc-block-components-title,
body.woocommerce-checkout .imd-payment-details-modal-body .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .imd-payment-details-modal-body h2,
body.woocommerce-checkout .imd-payment-details-modal-body h3{
  margin:0 0 10px !important;
  color:#0a3b78 !important;
  font-size:15px !important;
}
body.woocommerce-checkout .imd-payment-details-modal-body input,
body.woocommerce-checkout .imd-payment-details-modal-body select,
body.woocommerce-checkout .imd-payment-details-modal-body textarea{
  min-height:42px !important;
  height:42px !important;
  padding:8px 10px !important;
  border:1px solid #d7e2ed !important;
  border-radius:8px !important;
  background:#fff !important;
  font-size:12px !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-details-dialog-actions{
  padding:14px 18px 18px !important;
  border-top:1px solid #e3ebf3 !important;
}
body.woocommerce-checkout .imd-payment-details-done{
  width:100% !important;
  min-height:46px !important;
  border:0 !important;
  border-radius:9px !important;
  background:#0868d5 !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:700 !important;
  cursor:pointer !important;
}

/* Express checkout row / separator. */
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__content{
  width:100% !important;
  margin:0 0 8px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons{
  width:100% !important;
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(125px,1fr)) !important;
  gap:9px !important;
  margin:8px 0 10px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons > li,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons button,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons iframe{
  width:100% !important;
  min-height:44px !important;
  height:44px !important;
  border-radius:7px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment-continue-rule{
  margin:10px 0 !important;
  color:#6b7f94 !important;
  font-size:10.5px !important;
}

/* Strip the Optimized Checkout accordion/card chrome so the actual Stripe fields
   sit directly in the approved payment panel. */
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step{
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step > .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step > .wc-block-components-title{
  display:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step .wc-block-components-radio-control,
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step .wc-block-components-radio-control__option,
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step .wc-block-components-radio-control-accordion-option,
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step .wc-block-components-radio-control-accordion-content{
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step .wc-block-components-radio-control__label,
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step .wc-block-components-radio-control__option > label{
  display:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-step{
  width:100% !important;
  margin:0 0 9px !important;
  padding:10px 11px !important;
  border:1px solid #e1eaf3 !important;
  border-radius:9px !important;
  background:#fff !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-address-form select,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-select select,
body.woocommerce-checkout .imd-payment-live-checkout .components-text-control__input,
body.woocommerce-checkout .imd-payment-live-checkout .components-combobox-control__input,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row select{
  min-height:40px !important;
  height:40px !important;
  padding:7px 9px !important;
  border:1px solid #d7e2ed !important;
  border-radius:7px !important;
  background:#fff !important;
  font-size:11.5px !important;
  box-shadow:none !important;
}

/* Hide non-reference optional checkout elements. */
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-checkout__order-notes,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-step--order-notes,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-order-notes{
  display:none !important;
}

/* Classic order-pay/payment form — full width inside right card. */
body.woocommerce-checkout .imd-payment-live-checkout form.checkout.woocommerce-checkout,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form#order_review,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce-order,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce-checkout-review-order,
body.woocommerce-checkout .imd-payment-live-checkout #order_review,
body.woocommerce-checkout .imd-payment-live-checkout #payment{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #order_review_heading,
body.woocommerce-checkout .imd-payment-live-checkout #order_review > table.shop_table,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce-checkout-review-order-table{
  position:absolute !important;
  left:-100000px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #payment ul.payment_methods{
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #payment ul.payment_methods li{
  width:100% !important;
  margin:0 0 8px !important;
  padding:10px !important;
  border:1px solid #e1eaf3 !important;
  border-radius:9px !important;
  background:#fff !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #payment div.payment_box{
  width:100% !important;
  margin-top:8px !important;
  padding:10px !important;
  border:1px solid #e1eaf3 !important;
  border-radius:8px !important;
  background:#fff !important;
}

/* Pay button / security note. */
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-button,
body.woocommerce-checkout .imd-payment-live-checkout #payment .place-order .button,
body.woocommerce-checkout .imd-payment-live-checkout #place_order,
body.woocommerce-checkout .imd-payment-live-checkout .payment_request_button,
body.woocommerce-checkout .imd-payment-live-checkout .wcpay-payment-request-button{
  width:100% !important;
  min-height:48px !important;
  border-radius:7px !important;
  background:#0868d5 !important;
  color:#fff !important;
  font-size:15px !important;
  font-weight:700 !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-security-note{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:center !important;
  gap:8px !important;
  margin-top:11px !important;
  color:#59708b !important;
}
body.woocommerce-checkout .imd-payment-security-note span{
  color:#0a4a98 !important;
  font-size:13px !important;
}
body.woocommerce-checkout .imd-payment-security-note strong,
body.woocommerce-checkout .imd-payment-security-note small{
  display:block !important;
  color:#59708b !important;
  font-size:9.5px !important;
  line-height:1.4 !important;
  font-weight:500 !important;
}

@media(max-width:1240px){
  body.woocommerce-checkout .imd-payment-shell{
    width:min(1120px,calc(100% - 48px)) !important;
    grid-template-columns:minmax(430px,.43fr) minmax(0,.57fr) !important;
  }
  body.woocommerce-checkout .imd-payment-hero-card{
    height:690px !important;
    min-height:690px !important;
  }
  body.woocommerce-checkout .imd-payment-hero-copy h2{font-size:38px !important;}
  body.woocommerce-checkout .imd-payment-hero-image,
  body.woocommerce-checkout .imd-payment-hero-image img{height:390px !important;}
}
@media(max-width:980px){
  body.woocommerce-checkout .imd-payment-shell{
    width:min(760px,calc(100% - 30px)) !important;
    grid-template-columns:1fr !important;
    gap:16px !important;
  }
  body.woocommerce-checkout .imd-payment-hero-card{
    height:auto !important;
    min-height:0 !important;
  }
  body.woocommerce-checkout .imd-payment-hero-image,
  body.woocommerce-checkout .imd-payment-hero-image img{height:320px !important;}
}
@media(max-width:640px){
  body.woocommerce-checkout .imd-payment-shell{
    width:calc(100% - 20px) !important;
  }
  body.woocommerce-checkout .imd-payment-shell-main{padding:14px !important;}
  body.woocommerce-checkout .imd-payment-hero-copy{padding:24px 20px 12px !important;}
  body.woocommerce-checkout .imd-payment-hero-copy h2{font-size:30px !important;}
  body.woocommerce-checkout .imd-payment-hero-features{gap:6px !important;}
  body.woocommerce-checkout .imd-payment-hero-feature{min-height:94px !important;padding:9px 5px !important;}
  body.woocommerce-checkout .imd-payment-hero-image,
  body.woocommerce-checkout .imd-payment-hero-image img{height:260px !important;}
  body.woocommerce-checkout .imd-payment-top-row{align-items:flex-start !important;flex-direction:column !important;gap:6px !important;}
  body.woocommerce-checkout .imd-payment-order-card{grid-template-columns:70px minmax(0,1fr) 82px !important;gap:9px !important;padding:9px !important;}
  body.woocommerce-checkout .imd-payment-order-image{width:70px !important;height:60px !important;}
  body.woocommerce-checkout .imd-payment-order-copy h2{font-size:13px !important;}
  body.woocommerce-checkout .imd-payment-order-copy p{display:none !important;}
  body.woocommerce-checkout .imd-payment-summary-total{font-size:14px !important;}
  body.woocommerce-checkout .imd-payment-step-line{width:34px !important;}
}


/* =====================================================================
   v2.6.30 — PAYMENT CENTER COMPACT FIELD / IMAGE REDUCTION
   STRICT SCOPE: WooCommerce checkout/order-pay/order-received payment centers.
   Reduces oversized checkout fields and hero/product image presentation only.
   ===================================================================== */
body.woocommerce-checkout .imd-checkout-template{
  padding:18px 0 30px !important;
}
body.woocommerce-checkout .imd-payment-shell{
  width:min(1280px, calc(100% - 120px)) !important;
  max-width:1280px !important;
  grid-template-columns:minmax(420px, .395fr) minmax(0, .605fr) !important;
  gap:18px !important;
}
body.woocommerce-checkout .imd-payment-hero-card,
body.woocommerce-checkout .imd-payment-shell-main{
  border-radius:16px !important;
}
body.woocommerce-checkout .imd-payment-shell-main{
  padding:18px 20px 16px !important;
}
body.woocommerce-checkout .imd-payment-hero-card{
  min-height:590px !important;
}
body.woocommerce-checkout .imd-payment-hero-copy{
  padding:28px 28px 14px !important;
}
body.woocommerce-checkout .imd-payment-hero-copy h2{
  max-width:350px !important;
  font-size:34px !important;
  line-height:1.06 !important;
  margin-bottom:12px !important;
}
body.woocommerce-checkout .imd-payment-hero-copy p{
  max-width:340px !important;
  font-size:14px !important;
  line-height:1.45 !important;
}
body.woocommerce-checkout .imd-payment-hero-features{
  gap:10px !important;
  margin-top:18px !important;
}
body.woocommerce-checkout .imd-payment-hero-feature{
  min-height:100px !important;
  padding:11px 8px !important;
}
body.woocommerce-checkout .imd-payment-hero-icon{
  font-size:21px !important;
  margin-bottom:7px !important;
}
body.woocommerce-checkout .imd-payment-hero-feature strong{
  font-size:11px !important;
}
body.woocommerce-checkout .imd-payment-hero-feature small{
  font-size:10px !important;
  line-height:1.35 !important;
}
body.woocommerce-checkout .imd-payment-hero-image,
body.woocommerce-checkout .imd-payment-hero-image img{
  height:320px !important;
}
body.woocommerce-checkout .imd-payment-top-row{
  min-height:30px !important;
  gap:14px !important;
  margin-bottom:12px !important;
}
body.woocommerce-checkout .imd-payment-top-row .imd-payment-flow-back{
  font-size:12px !important;
}
body.woocommerce-checkout .imd-payment-steps{
  gap:9px !important;
  font-size:11.5px !important;
}
body.woocommerce-checkout .imd-payment-step b{
  width:23px !important;
  height:23px !important;
  font-size:10px !important;
}
body.woocommerce-checkout .imd-payment-step-line{
  width:62px !important;
}
body.woocommerce-checkout .imd-payment-order-card{
  grid-template-columns:96px minmax(0,1fr) 110px !important;
  gap:14px !important;
  padding:12px !important;
  margin-bottom:14px !important;
}
body.woocommerce-checkout .imd-payment-order-image{
  width:96px !important;
  height:78px !important;
}
body.woocommerce-checkout .imd-payment-order-copy h2{
  font-size:15px !important;
  margin-bottom:4px !important;
}
body.woocommerce-checkout .imd-payment-order-copy p{
  max-width:290px !important;
  font-size:10.5px !important;
  line-height:1.38 !important;
}
body.woocommerce-checkout .imd-payment-order-copy small{
  font-size:9.5px !important;
}
body.woocommerce-checkout .imd-payment-summary-total{
  font-size:18px !important;
}
body.woocommerce-checkout .imd-payment-edit{
  min-height:31px !important;
  padding:0 10px !important;
  font-size:10.5px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons > li,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons button,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons iframe,
body.woocommerce-checkout .imd-payment-live-checkout .payment_request_button,
body.woocommerce-checkout .imd-payment-live-checkout .wcpay-payment-request-button,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-button{
  min-height:40px !important;
  height:40px !important;
  border-radius:8px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons{
  gap:10px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment-continue-rule{
  margin:8px 0 !important;
  font-size:10px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-step{
  margin:0 0 8px !important;
  padding:8px 10px !important;
  border-radius:8px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-radio-control__option-layout,
body.woocommerce-checkout .imd-payment-live-checkout #payment ul.payment_methods li,
body.woocommerce-checkout .imd-payment-live-checkout #payment div.payment_box{
  padding:9px !important;
  border-radius:8px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-address-form select,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-select select,
body.woocommerce-checkout .imd-payment-live-checkout .components-text-control__input,
body.woocommerce-checkout .imd-payment-live-checkout .components-combobox-control__input,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row select,
body.woocommerce-checkout .imd-payment-live-checkout #payment ul.payment_methods input.input-text{
  min-height:36px !important;
  height:36px !important;
  padding:6px 9px !important;
  font-size:11px !important;
  border-radius:7px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-button,
body.woocommerce-checkout .imd-payment-live-checkout #payment .place-order .button,
body.woocommerce-checkout .imd-payment-live-checkout #place_order,
body.woocommerce-checkout .imd-payment-live-checkout .payment_request_button,
body.woocommerce-checkout .imd-payment-live-checkout .wcpay-payment-request-button{
  min-height:44px !important;
  height:44px !important;
  font-size:14px !important;
}
body.woocommerce-checkout .imd-payment-security-note{
  margin-top:9px !important;
}
body.woocommerce-checkout .imd-payment-security-note strong,
body.woocommerce-checkout .imd-payment-security-note small{
  font-size:9px !important;
}
@media(max-width:1240px){
  body.woocommerce-checkout .imd-payment-shell{
    width:min(1080px, calc(100% - 44px)) !important;
    grid-template-columns:minmax(380px,.39fr) minmax(0,.61fr) !important;
  }
  body.woocommerce-checkout .imd-payment-hero-copy h2{font-size:31px !important;}
  body.woocommerce-checkout .imd-payment-hero-image,
  body.woocommerce-checkout .imd-payment-hero-image img{height:290px !important;}
}
@media(max-width:980px){
  body.woocommerce-checkout .imd-payment-shell{
    width:min(760px, calc(100% - 28px)) !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  body.woocommerce-checkout .imd-payment-hero-card{min-height:0 !important;}
  body.woocommerce-checkout .imd-payment-hero-image,
  body.woocommerce-checkout .imd-payment-hero-image img{height:280px !important;}
}
@media(max-width:640px){
  body.woocommerce-checkout .imd-payment-shell{width:calc(100% - 18px) !important;}
  body.woocommerce-checkout .imd-payment-shell-main{padding:12px !important;}
  body.woocommerce-checkout .imd-payment-hero-copy{padding:22px 18px 12px !important;}
  body.woocommerce-checkout .imd-payment-hero-copy h2{font-size:28px !important;}
  body.woocommerce-checkout .imd-payment-hero-image,
  body.woocommerce-checkout .imd-payment-hero-image img{height:240px !important;}
  body.woocommerce-checkout .imd-payment-order-card{grid-template-columns:72px minmax(0,1fr) 78px !important;gap:8px !important;padding:9px !important;}
  body.woocommerce-checkout .imd-payment-order-image{width:72px !important;height:60px !important;}
  body.woocommerce-checkout .imd-payment-step-line{width:32px !important;}
}


/* =====================================================================
   v2.6.30 — PAYMENT CENTER 15% SIZE REDUCTION
   STRICT SCOPE: payment centers only.
   Reduces the visible payment-center footprint by ~15% on desktop/tablet.
   ===================================================================== */
body.woocommerce-checkout .imd-payment-shell{
  width:min(1088px, calc(100% - 150px)) !important;
  max-width:1088px !important;
  grid-template-columns:minmax(360px, .39fr) minmax(0, .61fr) !important;
  gap:15px !important;
}
body.woocommerce-checkout .imd-payment-shell-main{
  padding:15px 17px 14px !important;
}
body.woocommerce-checkout .imd-payment-hero-card{
  min-height:502px !important;
}
body.woocommerce-checkout .imd-payment-hero-copy{
  padding:24px 24px 12px !important;
}
body.woocommerce-checkout .imd-payment-hero-copy h2{
  max-width:300px !important;
  font-size:29px !important;
  margin-bottom:10px !important;
}
body.woocommerce-checkout .imd-payment-hero-copy p{
  max-width:290px !important;
  font-size:12px !important;
  line-height:1.4 !important;
}
body.woocommerce-checkout .imd-payment-hero-features{
  gap:8px !important;
  margin-top:15px !important;
}
body.woocommerce-checkout .imd-payment-hero-feature{
  min-height:85px !important;
  padding:9px 7px !important;
}
body.woocommerce-checkout .imd-payment-hero-icon{
  font-size:18px !important;
  margin-bottom:5px !important;
}
body.woocommerce-checkout .imd-payment-hero-feature strong{
  font-size:10px !important;
}
body.woocommerce-checkout .imd-payment-hero-feature small{
  font-size:9px !important;
}
body.woocommerce-checkout .imd-payment-hero-image,
body.woocommerce-checkout .imd-payment-hero-image img{
  height:272px !important;
}
body.woocommerce-checkout .imd-payment-top-row{
  min-height:26px !important;
  gap:12px !important;
  margin-bottom:10px !important;
}
body.woocommerce-checkout .imd-payment-top-row .imd-payment-flow-back{
  font-size:11px !important;
}
body.woocommerce-checkout .imd-payment-steps{
  gap:8px !important;
  font-size:10px !important;
}
body.woocommerce-checkout .imd-payment-step b{
  width:20px !important;
  height:20px !important;
  font-size:9px !important;
}
body.woocommerce-checkout .imd-payment-step-line{
  width:53px !important;
}
body.woocommerce-checkout .imd-payment-order-card{
  grid-template-columns:82px minmax(0,1fr) 94px !important;
  gap:11px !important;
  padding:10px !important;
  margin-bottom:12px !important;
}
body.woocommerce-checkout .imd-payment-order-image{
  width:82px !important;
  height:66px !important;
}
body.woocommerce-checkout .imd-payment-order-copy h2{
  font-size:13px !important;
  margin-bottom:3px !important;
}
body.woocommerce-checkout .imd-payment-order-copy p{
  max-width:245px !important;
  font-size:9.5px !important;
  line-height:1.32 !important;
}
body.woocommerce-checkout .imd-payment-order-copy small{
  font-size:8.5px !important;
}
body.woocommerce-checkout .imd-payment-summary-total{
  font-size:16px !important;
}
body.woocommerce-checkout .imd-payment-edit{
  min-height:28px !important;
  padding:0 8px !important;
  font-size:9.5px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons > li,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons button,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons iframe,
body.woocommerce-checkout .imd-payment-live-checkout .payment_request_button,
body.woocommerce-checkout .imd-payment-live-checkout .wcpay-payment-request-button,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-button{
  min-height:34px !important;
  height:34px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons{
  gap:8px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment-continue-rule{
  margin:6px 0 !important;
  font-size:9px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-step{
  margin:0 0 7px !important;
  padding:7px 8px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-radio-control__option-layout,
body.woocommerce-checkout .imd-payment-live-checkout #payment ul.payment_methods li,
body.woocommerce-checkout .imd-payment-live-checkout #payment div.payment_box{
  padding:8px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-address-form select,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-select select,
body.woocommerce-checkout .imd-payment-live-checkout .components-text-control__input,
body.woocommerce-checkout .imd-payment-live-checkout .components-combobox-control__input,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row select,
body.woocommerce-checkout .imd-payment-live-checkout #payment ul.payment_methods input.input-text{
  min-height:31px !important;
  height:31px !important;
  padding:5px 8px !important;
  font-size:10px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-button,
body.woocommerce-checkout .imd-payment-live-checkout #payment .place-order .button,
body.woocommerce-checkout .imd-payment-live-checkout #place_order,
body.woocommerce-checkout .imd-payment-live-checkout .payment_request_button,
body.woocommerce-checkout .imd-payment-live-checkout .wcpay-payment-request-button{
  min-height:38px !important;
  height:38px !important;
  font-size:12px !important;
}
body.woocommerce-checkout .imd-payment-security-note{
  margin-top:7px !important;
}
body.woocommerce-checkout .imd-payment-security-note strong,
body.woocommerce-checkout .imd-payment-security-note small{
  font-size:8px !important;
}
@media(max-width:1240px){
  body.woocommerce-checkout .imd-payment-shell{
    width:min(918px, calc(100% - 34px)) !important;
    grid-template-columns:minmax(330px,.39fr) minmax(0,.61fr) !important;
  }
  body.woocommerce-checkout .imd-payment-hero-copy h2{font-size:27px !important;}
  body.woocommerce-checkout .imd-payment-hero-image,
  body.woocommerce-checkout .imd-payment-hero-image img{height:247px !important;}
}
@media(max-width:980px){
  body.woocommerce-checkout .imd-payment-shell{
    width:min(760px, calc(100% - 28px)) !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
}
@media(max-width:640px){
  body.woocommerce-checkout .imd-payment-hero-copy h2{font-size:27px !important;}
  body.woocommerce-checkout .imd-payment-order-card{grid-template-columns:72px minmax(0,1fr) 78px !important;}
}


/* =====================================================================
   v2.6.31 — PAYMENT CENTER SECOND 15% REDUCTION + IMAGE POSITION
   STRICT SCOPE: WooCommerce checkout/order-pay/order-received payment center.
   No non-payment page or theme component is changed.
   ===================================================================== */
body.woocommerce-checkout .imd-checkout-template{
  padding:14px 0 24px !important;
}
body.woocommerce-checkout .imd-payment-shell{
  width:min(925px, calc(100% - 170px)) !important;
  max-width:925px !important;
  grid-template-columns:minmax(306px,.39fr) minmax(0,.61fr) !important;
  gap:13px !important;
}
body.woocommerce-checkout .imd-payment-shell-main{
  padding:13px 14px 12px !important;
}
body.woocommerce-checkout .imd-payment-hero-card{
  min-height:427px !important;
}
body.woocommerce-checkout .imd-payment-hero-copy{
  padding:20px 20px 10px !important;
}
body.woocommerce-checkout .imd-payment-hero-copy h2{
  max-width:260px !important;
  font-size:25px !important;
  line-height:1.05 !important;
  margin-bottom:8px !important;
}
body.woocommerce-checkout .imd-payment-hero-copy p{
  max-width:250px !important;
  font-size:10.5px !important;
  line-height:1.38 !important;
}
body.woocommerce-checkout .imd-payment-hero-features{
  gap:7px !important;
  margin-top:13px !important;
}
body.woocommerce-checkout .imd-payment-hero-feature{
  min-height:72px !important;
  padding:7px 5px !important;
}
body.woocommerce-checkout .imd-payment-hero-icon{
  font-size:16px !important;
  margin-bottom:4px !important;
}
body.woocommerce-checkout .imd-payment-hero-feature strong{
  font-size:9px !important;
}
body.woocommerce-checkout .imd-payment-hero-feature small{
  margin-top:3px !important;
  font-size:8px !important;
  line-height:1.25 !important;
}
/* Move the clinic image immediately under the three benefit cards. */
body.woocommerce-checkout .imd-payment-hero-image{
  margin-top:0 !important;
  padding-top:0 !important;
}
body.woocommerce-checkout .imd-payment-hero-image,
body.woocommerce-checkout .imd-payment-hero-image img{
  height:231px !important;
  min-height:231px !important;
}
body.woocommerce-checkout .imd-payment-top-row{
  min-height:24px !important;
  gap:10px !important;
  margin-bottom:8px !important;
}
body.woocommerce-checkout .imd-payment-top-row .imd-payment-flow-back{
  font-size:10px !important;
}
body.woocommerce-checkout .imd-payment-steps{
  gap:7px !important;
  font-size:9px !important;
}
body.woocommerce-checkout .imd-payment-step b{
  width:18px !important;
  height:18px !important;
  font-size:8px !important;
}
body.woocommerce-checkout .imd-payment-step-line{
  width:45px !important;
}
body.woocommerce-checkout .imd-payment-order-card{
  grid-template-columns:70px minmax(0,1fr) 80px !important;
  gap:9px !important;
  padding:8px !important;
  margin-bottom:10px !important;
}
body.woocommerce-checkout .imd-payment-order-image{
  width:70px !important;
  height:56px !important;
}
body.woocommerce-checkout .imd-payment-order-copy h2{
  font-size:11.5px !important;
  margin-bottom:2px !important;
}
body.woocommerce-checkout .imd-payment-order-copy p{
  max-width:210px !important;
  font-size:8.5px !important;
  line-height:1.28 !important;
  margin-bottom:2px !important;
}
body.woocommerce-checkout .imd-payment-order-copy small{
  font-size:7.5px !important;
}
body.woocommerce-checkout .imd-payment-summary-total{
  font-size:14px !important;
}
body.woocommerce-checkout .imd-payment-edit{
  min-height:24px !important;
  padding:0 7px !important;
  font-size:8.5px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons > li,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons button,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons iframe,
body.woocommerce-checkout .imd-payment-live-checkout .payment_request_button,
body.woocommerce-checkout .imd-payment-live-checkout .wcpay-payment-request-button,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-button{
  min-height:30px !important;
  height:30px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons{
  gap:7px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment-continue-rule{
  margin:5px 0 !important;
  font-size:8px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-step{
  margin:0 0 6px !important;
  padding:6px 7px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-radio-control__option-layout,
body.woocommerce-checkout .imd-payment-live-checkout #payment ul.payment_methods li,
body.woocommerce-checkout .imd-payment-live-checkout #payment div.payment_box{
  padding:7px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-address-form select,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-select select,
body.woocommerce-checkout .imd-payment-live-checkout .components-text-control__input,
body.woocommerce-checkout .imd-payment-live-checkout .components-combobox-control__input,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row select,
body.woocommerce-checkout .imd-payment-live-checkout #payment ul.payment_methods input.input-text{
  min-height:29px !important;
  height:29px !important;
  padding:4px 7px !important;
  font-size:9px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-button,
body.woocommerce-checkout .imd-payment-live-checkout #payment .place-order .button,
body.woocommerce-checkout .imd-payment-live-checkout #place_order,
body.woocommerce-checkout .imd-payment-live-checkout .payment_request_button,
body.woocommerce-checkout .imd-payment-live-checkout .wcpay-payment-request-button{
  min-height:36px !important;
  height:36px !important;
  font-size:11px !important;
}
body.woocommerce-checkout .imd-payment-security-note{
  margin-top:6px !important;
}
body.woocommerce-checkout .imd-payment-security-note strong,
body.woocommerce-checkout .imd-payment-security-note small{
  font-size:7.5px !important;
}
@media(max-width:1240px){
  body.woocommerce-checkout .imd-payment-shell{
    width:min(860px,calc(100% - 36px)) !important;
    grid-template-columns:minmax(300px,.39fr) minmax(0,.61fr) !important;
  }
}
@media(max-width:980px){
  body.woocommerce-checkout .imd-payment-shell{
    width:min(720px,calc(100% - 26px)) !important;
    grid-template-columns:1fr !important;
    gap:12px !important;
  }
  body.woocommerce-checkout .imd-payment-hero-card{min-height:0 !important;}
  body.woocommerce-checkout .imd-payment-hero-image,
  body.woocommerce-checkout .imd-payment-hero-image img{height:230px !important;min-height:230px !important;}
}
@media(max-width:640px){
  body.woocommerce-checkout .imd-payment-shell{width:calc(100% - 16px) !important;}
  body.woocommerce-checkout .imd-payment-shell-main{padding:10px !important;}
  body.woocommerce-checkout .imd-payment-hero-copy{padding:18px 16px 8px !important;}
  body.woocommerce-checkout .imd-payment-hero-copy h2{font-size:24px !important;}
  body.woocommerce-checkout .imd-payment-hero-image,
  body.woocommerce-checkout .imd-payment-hero-image img{height:210px !important;min-height:210px !important;}
}


/* =====================================================================
   v2.6.33 — APPROVED PAYMENT CENTER REFERENCE
   STRICT SCOPE: checkout / order-pay / order-received only.
   Matches the supplied reference while preserving the rest of the theme.
   ===================================================================== */

body.woocommerce-checkout{
  background:#fff !important;
}
body.woocommerce-checkout .imd-checkout-template{
  width:100% !important;
  margin:0 !important;
  padding:26px 0 42px !important;
  background:#fff !important;
}

/* The approved two-column payment center. */
body.woocommerce-checkout .imd-payment-shell{
  width:min(1040px,calc(100% - 48px)) !important;
  max-width:1040px !important;
  margin:0 auto !important;
  display:grid !important;
  grid-template-columns:390px minmax(0,632px) !important;
  gap:18px !important;
  align-items:stretch !important;
}

body.woocommerce-checkout .imd-payment-hero-card,
body.woocommerce-checkout .imd-payment-shell-main{
  width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  background:#fff !important;
  border:1px solid #dce7f2 !important;
  border-radius:18px !important;
  box-shadow:0 10px 28px rgba(18,58,100,.055) !important;
}

body.woocommerce-checkout .imd-payment-shell-main{
  padding:18px 20px 16px !important;
}

/* Left thank-you block. */
body.woocommerce-checkout .imd-payment-hero-card{
  min-height:700px !important;
  height:100% !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
}
body.woocommerce-checkout .imd-payment-hero-copy{
  padding:36px 34px 18px !important;
}
body.woocommerce-checkout .imd-payment-hero-copy h2{
  max-width:320px !important;
  margin:0 0 15px !important;
  color:#0a3b78 !important;
  font-size:39px !important;
  line-height:1.04 !important;
  letter-spacing:-.03em !important;
  font-weight:700 !important;
}
body.woocommerce-checkout .imd-payment-hero-copy p{
  max-width:310px !important;
  margin:0 !important;
  color:#25466e !important;
  font-size:14px !important;
  line-height:1.48 !important;
}
body.woocommerce-checkout .imd-payment-hero-features{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:10px !important;
  margin-top:24px !important;
}
body.woocommerce-checkout .imd-payment-hero-feature{
  min-height:112px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  padding:12px 7px !important;
  border:1px solid #dce7f2 !important;
  border-radius:10px !important;
  background:#fff !important;
  text-align:center !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-hero-icon{
  display:block !important;
  margin:0 0 8px !important;
  color:#0a4a98 !important;
  font-size:22px !important;
  line-height:1 !important;
}
body.woocommerce-checkout .imd-payment-hero-feature strong{
  display:block !important;
  color:#35a64b !important;
  font-size:11px !important;
  line-height:1.2 !important;
}
body.woocommerce-checkout .imd-payment-hero-feature small{
  display:block !important;
  margin-top:6px !important;
  color:#50657c !important;
  font-size:10px !important;
  line-height:1.4 !important;
  text-align:center !important;
}

/* Image begins at the left edge of Fast Shipping and ends at the right edge
   of Support, with equal side margins inside the left block. */
body.woocommerce-checkout .imd-payment-hero-image{
  width:auto !important;
  height:440px !important;
  min-height:440px !important;
  margin:0 34px 0 !important;
  overflow:hidden !important;
  border-radius:12px !important;
  background:#f7fafc !important;
}
body.woocommerce-checkout .imd-payment-hero-image img{
  width:100% !important;
  height:100% !important;
  display:block !important;
  object-fit:cover !important;
  object-position:center 12% !important;
  border-radius:12px !important;
}

/* Progress and product/order card. */
body.woocommerce-checkout .imd-payment-top-row{
  min-height:32px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  margin:0 0 14px !important;
}
body.woocommerce-checkout .imd-payment-top-row .imd-payment-flow-nav{
  width:auto !important;
  margin:0 !important;
}
body.woocommerce-checkout .imd-payment-top-row .imd-payment-flow-back{
  min-height:30px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#075dcc !important;
  font-size:12px !important;
  font-weight:700 !important;
}
body.woocommerce-checkout .imd-payment-steps{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:10px !important;
  color:#173d70 !important;
  font-size:11px !important;
  white-space:nowrap !important;
}
body.woocommerce-checkout .imd-payment-step{
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
}
body.woocommerce-checkout .imd-payment-step b{
  width:24px !important;
  height:24px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:50% !important;
  color:#fff !important;
  font-size:10px !important;
}
body.woocommerce-checkout .imd-payment-step.is-complete b{background:#36aa4d !important;}
body.woocommerce-checkout .imd-payment-step.is-current b{background:#0868d5 !important;}
body.woocommerce-checkout .imd-payment-step-line{
  width:64px !important;
  height:1px !important;
  background:#8196b0 !important;
}

body.woocommerce-checkout .imd-payment-order-card{
  width:100% !important;
  min-width:0 !important;
  display:grid !important;
  grid-template-columns:96px minmax(0,1fr) 112px !important;
  gap:14px !important;
  align-items:center !important;
  padding:13px !important;
  margin:0 0 18px !important;
  border:1px solid #dbe6f1 !important;
  border-radius:10px !important;
  background:#fff !important;
}
body.woocommerce-checkout .imd-payment-order-image{
  width:96px !important;
  height:82px !important;
  object-fit:contain !important;
  border-radius:7px !important;
  background:#f8fafc !important;
}
body.woocommerce-checkout .imd-payment-order-copy h2{
  margin:0 0 5px !important;
  color:#0a3b78 !important;
  font-size:16px !important;
  line-height:1.2 !important;
}
body.woocommerce-checkout .imd-payment-order-copy p{
  display:block !important;
  max-width:270px !important;
  margin:0 0 5px !important;
  color:#4c627a !important;
  font-size:10px !important;
  line-height:1.35 !important;
}
body.woocommerce-checkout .imd-payment-order-copy small{
  color:#677b91 !important;
  font-size:9px !important;
}
body.woocommerce-checkout .imd-payment-order-price{
  align-self:stretch !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
}
body.woocommerce-checkout .imd-payment-summary-total{
  color:#0a3b78 !important;
  font-size:18px !important;
  line-height:1 !important;
  font-weight:800 !important;
}
body.woocommerce-checkout .imd-payment-edit{
  min-height:32px !important;
  padding:0 10px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:1px solid #0868d5 !important;
  border-radius:7px !important;
  background:#fff !important;
  color:#0868d5 !important;
  font-size:10px !important;
  font-weight:700 !important;
}

/* Remove every WooCommerce block that is not part of the approved reference. */
body.woocommerce-checkout .imd-payment-extra-hidden,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-checkout__terms,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-terms-and-conditions,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-totals-coupon,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-return-to-cart-button{
  display:none !important;
}

/* Make the live Stripe/Woo payment area fill the right card only. */
body.woocommerce-checkout .imd-payment-live-checkout,
body.woocommerce-checkout .imd-payment-live-checkout > .woocommerce,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce-checkout,
body.woocommerce-checkout .imd-payment-live-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-checkout,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-checkout__form{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-sidebar-layout{
  display:block !important;
  width:100% !important;
  margin:0 !important;
}

/* Express checkout. */
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment{
  width:100% !important;
  margin:0 0 16px !important;
  padding:0 !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:10px !important;
  margin:8px 0 0 !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons > li,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons button,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons iframe,
body.woocommerce-checkout .imd-payment-live-checkout .payment_request_button,
body.woocommerce-checkout .imd-payment-live-checkout .wcpay-payment-request-button{
  width:100% !important;
  min-height:42px !important;
  height:42px !important;
  border-radius:7px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment-continue-rule{
  margin:10px 0 12px !important;
  color:#6b7f94 !important;
  font-size:10px !important;
  text-transform:uppercase !important;
  letter-spacing:.03em !important;
}

/* Payment element without the oversized Woo outer card. */
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step{
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step > .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step > .wc-block-components-title{
  display:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step .wc-block-components-radio-control,
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step .wc-block-components-radio-control__option,
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step .wc-block-components-radio-control-accordion-option,
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step .wc-block-components-radio-control-accordion-content{
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step .wc-block-components-radio-control__label,
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step .wc-block-components-radio-control__option > label{
  display:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-step{
  width:100% !important;
  margin:0 0 10px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-live-checkout #payment ul.payment_methods li,
body.woocommerce-checkout .imd-payment-live-checkout #payment div.payment_box{
  width:100% !important;
  margin:0 0 8px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}

/* Compact live fields. */
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-address-form select,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-select select,
body.woocommerce-checkout .imd-payment-live-checkout .components-text-control__input,
body.woocommerce-checkout .imd-payment-live-checkout .components-combobox-control__input,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .imd-payment-live-checkout .woocommerce form .form-row select,
body.woocommerce-checkout .imd-payment-live-checkout #payment ul.payment_methods input.input-text{
  min-height:38px !important;
  height:38px !important;
  padding:7px 10px !important;
  border:1px solid #d7e2ed !important;
  border-radius:7px !important;
  background:#fff !important;
  font-size:11px !important;
  box-shadow:none !important;
}

/* Pay button / security line. */
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-button,
body.woocommerce-checkout .imd-payment-live-checkout #payment .place-order .button,
body.woocommerce-checkout .imd-payment-live-checkout #place_order{
  width:100% !important;
  min-height:48px !important;
  height:48px !important;
  border-radius:7px !important;
  background:#0868d5 !important;
  color:#fff !important;
  font-size:15px !important;
  font-weight:700 !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .imd-payment-security-note{
  margin-top:10px !important;
}

/* Billing/contact remain in the existing modal when required. */
body.woocommerce-checkout .imd-payment-live-checkout > .imd-payment-details-step,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-checkout__form > .imd-payment-details-step,
body.woocommerce-checkout .imd-payment-live-checkout form > .imd-payment-details-step{
  display:none !important;
}

@media(max-width:1100px){
  body.woocommerce-checkout .imd-payment-shell{
    width:min(920px,calc(100% - 36px)) !important;
    grid-template-columns:345px minmax(0,1fr) !important;
  }
  body.woocommerce-checkout .imd-payment-hero-copy h2{font-size:34px !important;}
  body.woocommerce-checkout .imd-payment-hero-image{height:390px !important;}
}
@media(max-width:820px){
  body.woocommerce-checkout .imd-payment-shell{
    width:min(720px,calc(100% - 24px)) !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  body.woocommerce-checkout .imd-payment-hero-card{min-height:0 !important;}
  body.woocommerce-checkout .imd-payment-hero-image{
    height:320px !important;
    margin:0 28px 28px !important;
  }
}
@media(max-width:560px){
  body.woocommerce-checkout .imd-payment-shell{width:calc(100% - 16px) !important;}
  body.woocommerce-checkout .imd-payment-shell-main{padding:13px !important;}
  body.woocommerce-checkout .imd-payment-hero-copy{padding:24px 20px 12px !important;}
  body.woocommerce-checkout .imd-payment-hero-copy h2{font-size:30px !important;}
  body.woocommerce-checkout .imd-payment-hero-features{gap:6px !important;}
  body.woocommerce-checkout .imd-payment-hero-feature{min-height:94px !important;padding:9px 5px !important;}
  body.woocommerce-checkout .imd-payment-hero-image{height:280px !important;margin:0 20px 20px !important;}
  body.woocommerce-checkout .imd-payment-top-row{align-items:flex-start !important;flex-direction:column !important;gap:6px !important;}
  body.woocommerce-checkout .imd-payment-order-card{grid-template-columns:68px minmax(0,1fr) 78px !important;gap:9px !important;padding:9px !important;}
  body.woocommerce-checkout .imd-payment-order-image{width:68px !important;height:60px !important;}
  body.woocommerce-checkout .imd-payment-order-copy h2{font-size:13px !important;}
  body.woocommerce-checkout .imd-payment-order-copy p{display:none !important;}
  body.woocommerce-checkout .imd-payment-summary-total{font-size:14px !important;}
  body.woocommerce-checkout .imd-payment-step-line{width:34px !important;}
  body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-express-payment__event-buttons{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}


/* =====================================================================
   v2.6.33 — PAYMENT CENTER ALIGNMENT POLISH
   STRICT SCOPE: payment center only.
   Fixes Subtotal/Total left-right inner margins and the payment radio dot.
   ===================================================================== */

/* Keep Subtotal / Total aligned with equal left and right inner margins. */
body.woocommerce-checkout .imd-payment-shell-main .wc-block-components-totals-item,
body.woocommerce-checkout .imd-payment-shell-main .wc-block-components-totals-footer-item,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-totals-item,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-totals-footer-item{
  width:100% !important;
  box-sizing:border-box !important;
  padding-left:18px !important;
  padding-right:18px !important;
}
body.woocommerce-checkout .imd-payment-shell-main .wc-block-components-totals-item__label,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-totals-item__label{
  margin-left:0 !important;
  padding-left:0 !important;
  text-align:left !important;
}
body.woocommerce-checkout .imd-payment-shell-main .wc-block-components-totals-item__value,
body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-totals-item__value{
  margin-right:0 !important;
  padding-right:0 !important;
  text-align:right !important;
}

/* Classic order-pay fallback: same left/right spacing for totals. */
body.woocommerce-checkout .imd-payment-live-checkout table.shop_table tfoot th{
  padding-left:18px !important;
}
body.woocommerce-checkout .imd-payment-live-checkout table.shop_table tfoot td{
  padding-right:18px !important;
  text-align:right !important;
}

/* Move the selected-payment radio dot into a clean, consistent margin at the
   upper-left of the Card payment option instead of allowing it to float over
   the outer edge. */
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step .wc-block-components-radio-control__option,
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step .wc-block-components-radio-control-accordion-option{
  position:relative !important;
}
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step .wc-block-components-radio-control__input,
body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step input[type="radio"]{
  position:absolute !important;
  top:14px !important;
  left:14px !important;
  margin:0 !important;
  transform:none !important;
  z-index:3 !important;
}

@media(max-width:560px){
  body.woocommerce-checkout .imd-payment-shell-main .wc-block-components-totals-item,
  body.woocommerce-checkout .imd-payment-shell-main .wc-block-components-totals-footer-item,
  body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-totals-item,
  body.woocommerce-checkout .imd-payment-live-checkout .wc-block-components-totals-footer-item{
    padding-left:14px !important;
    padding-right:14px !important;
  }
  body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step .wc-block-components-radio-control__input,
  body.woocommerce-checkout .imd-payment-live-checkout .imd-payment-method-step input[type="radio"]{
    top:12px !important;
    left:12px !important;
  }
}

/* =====================================================================
   v2.6.34 — RESOURCES ARTICLE LINKS + ARTICLE LIBRARY
   STRICT SCOPE: Resources page and the six Resources article/guide pages.
   ===================================================================== */
.imd-resources-page #resource-library,
.imd-resources-page #faq,
.imd-resources-page #faq-list,
.imd-resources-page #downloads,
.imd-resources-page #downloads-grid,
.imd-resource-article-page [id]{scroll-margin-top:105px}

.imd-resources-page .resource-card{
  display:block;
  height:100%;
  color:inherit;
  text-decoration:none;
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.imd-resources-page .resource-card:hover{
  transform:translateY(-2px);
  border-color:#b9d3ee;
  box-shadow:0 10px 24px rgba(20,55,90,.08);
}
.imd-resources-page .resource-card:focus-visible{
  outline:3px solid rgba(6,104,216,.24);
  outline-offset:3px;
}
.imd-resources-page .resource-card .body:after{
  content:"Read article →";
  display:block;
  margin-top:9px;
  color:#0869d5;
  font-size:9.5px;
  font-weight:800;
}
.imd-resources-page .download:focus-visible,
.imd-resources-page [data-imd-smooth-scroll]:focus-visible{
  outline:3px solid rgba(6,104,216,.24);
  outline-offset:3px;
}

/* Resource article page */
.imd-resource-article-page{background:#fff;color:#18314f}
.imd-resource-article-hero{
  background:linear-gradient(90deg,#f8fbff 0%,#fff 52%,#eef5fb 100%);
  border-bottom:1px solid #e8f0f8;
}
.imd-resource-article-hero-grid{
  min-height:350px;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
  gap:44px;
  align-items:center;
}
.imd-resource-article-hero-copy{padding:54px 0 48px}
.imd-resource-back{
  display:inline-flex;
  margin-bottom:22px;
  color:#0869d5;
  font-size:12px;
  font-weight:800;
}
.imd-resource-article-hero-copy .eyebrow{margin-bottom:8px}
.imd-resource-article-hero-copy h1{
  margin:0 0 14px;
  color:#0a3a79;
  font-size:44px;
  line-height:1.05;
  letter-spacing:-1px;
}
.imd-resource-article-hero-copy>p{
  max-width:610px;
  margin:0;
  color:#52677e;
  font-size:15px;
  line-height:1.65;
}
.imd-resource-article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  margin-top:20px;
  color:#60758c;
  font-size:11px;
}
.imd-resource-article-hero-image{
  height:275px;
  overflow:hidden;
  border:1px solid #dce7f1;
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 26px rgba(20,55,90,.07);
}
.imd-resource-article-hero-image img{width:100%;height:100%;object-fit:cover}
.imd-resource-article-content-wrap{padding-top:44px;padding-bottom:64px}
.imd-resource-article-layout{
  display:grid;
  grid-template-columns:minmax(0,760px) minmax(240px,300px);
  gap:48px;
  align-items:start;
  justify-content:center;
}
.imd-resource-article-content{
  min-width:0;
  border:1px solid #e1eaf3;
  border-radius:16px;
  background:#fff;
  padding:34px 38px 38px;
  box-shadow:0 10px 28px rgba(20,55,90,.045);
}
.imd-resource-article-note{
  margin-bottom:30px;
  padding:14px 16px;
  border-left:4px solid #3fa852;
  border-radius:8px;
  background:#f5fbf6;
  color:#4a6077;
  font-size:12px;
  line-height:1.6;
}
.imd-resource-article-note strong{color:#214e37}
.imd-resource-article-section{padding:8px 0 28px}
.imd-resource-article-section+.imd-resource-article-section{border-top:1px solid #e8eef5;padding-top:30px}
.imd-resource-article-section h2{
  margin:0 0 12px;
  color:#0a3a79;
  font-size:25px;
  line-height:1.2;
}
.imd-resource-article-section p{
  margin:0 0 13px;
  color:#53677e;
  font-size:14px;
  line-height:1.75;
}
.imd-resource-article-section ul{
  margin:10px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}
.imd-resource-article-section li{
  position:relative;
  padding-left:24px;
  color:#53677e;
  font-size:13px;
  line-height:1.6;
}
.imd-resource-article-section li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:#3fa852;
  font-weight:900;
}
.imd-resource-article-cta{
  margin-top:10px;
  padding:22px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  border-radius:12px;
  background:#f4f9ff;
  border:1px solid #dce9f6;
}
.imd-resource-article-cta h3{margin:0 0 4px;color:#0a3a79;font-size:18px}
.imd-resource-article-cta p{margin:0;color:#5d7086;font-size:12px}
.imd-resource-article-aside{position:sticky;top:105px;display:grid;gap:16px}
.imd-resource-toc,.imd-resource-aside-help{
  border:1px solid #dce7f1;
  border-radius:12px;
  background:#fff;
  padding:20px;
  box-shadow:0 8px 22px rgba(20,55,90,.045);
}
.imd-resource-toc>strong,.imd-resource-aside-help>strong{
  display:block;
  margin-bottom:12px;
  color:#0a3a79;
  font-size:14px;
}
.imd-resource-toc nav,.imd-resource-aside-help{display:grid;gap:3px}
.imd-resource-toc a,.imd-resource-aside-help a{
  display:block;
  padding:8px 0;
  border-bottom:1px solid #edf2f7;
  color:#526a84;
  font-size:11px;
  line-height:1.35;
}
.imd-resource-toc a:last-child,.imd-resource-aside-help a:last-child{border-bottom:0}
.imd-resource-toc a:hover,.imd-resource-aside-help a:hover{color:#0869d5}

@media(max-width:900px){
  .imd-resource-article-hero-grid{grid-template-columns:1fr;gap:0;padding-bottom:36px}
  .imd-resource-article-hero-copy{padding:42px 0 25px}
  .imd-resource-article-hero-copy h1{font-size:38px}
  .imd-resource-article-hero-image{height:300px}
  .imd-resource-article-layout{grid-template-columns:1fr;gap:24px}
  .imd-resource-article-aside{position:static;grid-row:1}
  .imd-resource-toc nav{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
}
@media(max-width:600px){
  .imd-resource-article-hero-copy h1{font-size:33px}
  .imd-resource-article-hero-image{height:230px}
  .imd-resource-article-content-wrap{padding-top:24px}
  .imd-resource-article-content{padding:24px 20px}
  .imd-resource-article-section h2{font-size:22px}
  .imd-resource-article-cta{align-items:flex-start;flex-direction:column}
  .imd-resource-toc nav{grid-template-columns:1fr}
}


/* =====================================================================
   v2.6.37 — PROVIDER LINK DESTINATION PAGES
   STRICT SCOPE: newly created provider portal / specialty pages only.
   ===================================================================== */
.imd-provider-info-page{background:#fff;color:#173656}
.imd-provider-info-page .imd-provider-info-hero{background:linear-gradient(90deg,#f8fbff 0%,#fff 52%,#eef5fb 100%);border-bottom:1px solid #eaf1f7}
.imd-provider-info-page .imd-provider-info-hero-grid{min-height:440px;display:grid;grid-template-columns:46% 54%;align-items:stretch}
.imd-provider-info-page .imd-provider-info-copy{padding:62px 42px 56px 0;display:flex;flex-direction:column;justify-content:center}
.imd-provider-info-page .imd-provider-back{display:inline-flex;align-items:center;color:#0868d5;font-weight:700;font-size:12px;margin-bottom:22px}
.imd-provider-info-page .imd-provider-info-copy h1{color:#0a3b78;font-size:43px;line-height:1.04;letter-spacing:-.9px;margin:0 0 17px}
.imd-provider-info-page .imd-provider-info-copy .lead{color:#4e6279;font-size:15px;line-height:1.6;max-width:560px;margin:0 0 24px}
.imd-provider-info-page .imd-provider-info-visual{min-height:440px;background:#f2f6fa;overflow:hidden}
.imd-provider-info-page .imd-provider-info-visual img{width:100%;height:100%;object-fit:cover}
.imd-provider-info-page .imd-provider-info-section-head{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:end;margin-bottom:28px}
.imd-provider-info-page .imd-provider-info-section-head h2{color:#0a3b78;font-size:30px;line-height:1.15;margin:3px 0 0}
.imd-provider-info-page .imd-provider-info-section-head p{color:#607287;font-size:13px;line-height:1.65;margin:0}
.imd-provider-info-page .imd-provider-workflow-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.imd-provider-info-page .imd-provider-workflow-grid article,
.imd-provider-info-page .imd-provider-detail-grid article{background:#fff;border:1px solid #dbe6f1;border-radius:14px;padding:22px;box-shadow:0 8px 24px rgba(24,58,98,.04)}
.imd-provider-info-page .imd-provider-workflow-grid article>span{width:34px;height:34px;border-radius:50%;background:#0868d5;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:15px}
.imd-provider-info-page .imd-provider-workflow-grid h3,
.imd-provider-info-page .imd-provider-detail-grid h3{color:#0a3b78;font-size:17px;margin:0 0 8px}
.imd-provider-info-page .imd-provider-workflow-grid p,
.imd-provider-info-page .imd-provider-detail-grid p{color:#607287;font-size:12px;line-height:1.6;margin:0}
.imd-provider-info-page .imd-provider-detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.imd-provider-specialty-page .imd-provider-detail-grid{grid-template-columns:repeat(3,1fr)}
.imd-provider-info-page .imd-provider-feature-split{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center}
.imd-provider-info-page .imd-provider-feature-split h2{color:#0a3b78;font-size:30px;line-height:1.15;margin:5px 0 18px}
.imd-provider-info-page .imd-provider-checks{list-style:none;padding:0;margin:0 0 24px;display:grid;gap:12px}
.imd-provider-info-page .imd-provider-checks li{position:relative;padding-left:30px;color:#425a74;font-size:13px}
.imd-provider-info-page .imd-provider-checks li:before{content:"✓";position:absolute;left:0;top:-1px;width:20px;height:20px;border:1px solid #64b976;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#37a54f;font-size:12px;font-weight:900}
.imd-provider-info-page .imd-provider-example-card{margin:0;background:#fff;border:1px solid #dbe6f1;border-radius:16px;overflow:hidden;box-shadow:0 12px 30px rgba(24,58,98,.05)}
.imd-provider-info-page .imd-provider-example-card img{width:100%;height:285px;object-fit:cover;background:#f3f7fb}
.imd-provider-info-page .imd-provider-example-card figcaption{display:block;padding:18px 20px}
.imd-provider-info-page .imd-provider-example-card figcaption strong{display:block;color:#0a3b78;font-size:15px;margin-bottom:5px}
.imd-provider-info-page .imd-provider-example-card figcaption span{display:block;color:#607287;font-size:12px;line-height:1.55}
.imd-provider-info-page .imd-provider-info-cta{background:#edf6ff;border-top:1px solid #dcebf8;padding:34px 0}
.imd-provider-info-page .imd-provider-info-cta .container{display:flex;align-items:center;justify-content:space-between;gap:34px}
.imd-provider-info-page .imd-provider-info-cta h2{color:#0a3b78;font-size:26px;margin:4px 0 6px}
.imd-provider-info-page .imd-provider-info-cta p{color:#607287;font-size:12px;margin:0}
.imd-provider-info-page .imd-provider-info-cta .button-row{flex-shrink:0}
@media(max-width:900px){
  .imd-provider-info-page .imd-provider-info-hero-grid{grid-template-columns:1fr}
  .imd-provider-info-page .imd-provider-info-copy{padding:42px 0}
  .imd-provider-info-page .imd-provider-info-visual{min-height:310px}
  .imd-provider-info-page .imd-provider-info-section-head,
  .imd-provider-info-page .imd-provider-feature-split{grid-template-columns:1fr;gap:24px}
  .imd-provider-info-page .imd-provider-workflow-grid,
  .imd-provider-info-page .imd-provider-detail-grid,
  .imd-provider-specialty-page .imd-provider-detail-grid{grid-template-columns:repeat(2,1fr)}
  .imd-provider-info-page .imd-provider-info-cta .container{align-items:flex-start;flex-direction:column}
}
@media(max-width:560px){
  .imd-provider-info-page .imd-provider-info-copy h1{font-size:34px}
  .imd-provider-info-page .imd-provider-workflow-grid,
  .imd-provider-info-page .imd-provider-detail-grid,
  .imd-provider-specialty-page .imd-provider-detail-grid{grid-template-columns:1fr}
  .imd-provider-info-page .imd-provider-info-visual{min-height:240px}
  .imd-provider-info-page .imd-provider-example-card img{height:220px}
}


/* =====================================================================
   v2.6.38 — Provider preview + provider-card destination pages only
   ===================================================================== */
.imd-provider-feature-page .imd-provider-detail-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.imd-provider-feature-page .imd-provider-example-card img{height:340px}
@media(max-width:560px){
  .imd-provider-feature-page .imd-provider-detail-grid-two{grid-template-columns:1fr}
}
