/**
 * Theme Name: Rey Child
 * Theme URI: http://reytheme.com/
 * Description: This is a child theme of Rey.
 * Author: Marius H.
 * Author URI:  https://twitter.com/mariushoria
 * Template: rey
 * Version: 1.0.0
 * License: General Public License
 * License URI: http://www.gnu.org/licenses/gpl.html
 * Text Domain: rey-child
 */


.hero-main-section{
	position:relative;
}
.herocaption{
	position: absolute;
    z-index: 2;
	top:0;
	left:0;
	width:100%;
}
.hero-video-wrapper{
	min-height:750px;
	width:100%;
	position:relative;
}
.hero-video-wrapper video{
	height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
	position:absolute;
	top:0;
	left:0;
}
.hero-title-text{
	position: absolute;
    z-index: 9;
    max-width: 1200px;
    text-align: center;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: center;
    flex-direction: column;
}
.hero-video-wrapper .heroTitle{
	color: rgb(255, 255, 255);
    font-family: Roboto, sans-serif;
    font-size: 60px;
    font-weight: 700;
    max-width: 1024px;
}
@media (max-width:767px){
	.hero-video-wrapper{
		height: 75vh;
    	min-height: 75vh;
	}
	.hero-video-wrapper .heroTitle{
		font-size:20px;
	}
}

.elementor-tab-title{
	position:relative;
	padding-left:30px !important;
}
.elementor-tab-title .elementor-accordion-icon{
	position:absolute;
	left:0;
	top:45px;
}
.elementor-accordion .elementor-tab-title a.elementor-accordion-title{
	line-height:30px !important;
}
.rey-mainMenu .menu-item-has-children .--submenu-indicator-circle {
    font-size: 3px!important;
    width: 5px;
    height: 5px;
    background: no-repeat;
    border-radius: 0;
    opacity: 1;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    transform: rotate(-45deg);
    right: 0;
}

.page-id-926 .wpcf7 form.sent .wpcf7-response-output {
    border-color: #28a745 !important;
    color: #ffffff !important;
    font-size: 14px;
    margin: 0 auto;
    background: #28a745;
    display: block;
    text-align: left;
    width: 85% !important;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: normal;
}
.page-id-926 .wpcf7 form.sent .wpcf7-response-output:before{
	color:#fff;
	top:5px;
}
.listInside p span{
	background: #4D9DDA;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.faculty-box .elementor-image-box-content{
	background:#4D9DDA;
    padding: 40px 34px;
	min-height:290px;
}
.faculty-box .elementor-image-box-img{
	margin: 0 !important;
    position: relative;
    border-bottom: 1px solid #fff;
}
.faculty-box .elementor-image-box-img img{
	z-index:1;
    position: relative;
}
.faculty-box .elementor-image-box-img:after{
	content: "";
	height: 80%;
	width: 130%;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	background: #4D9DDA;
	z-index: 0;
	display: block;
	transform: translate(-12%, 0);
	border-radius: 150px 140px 0 0;
}



.contact-form .form-group{
	margin-bottom:15px;
}
.contact-form label{
	 font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #484848;
    margin: 0;
}
.contact-form .form-checkbox-control label {
	font-size: 14px;
	line-height: 1.4;
}
.contact-form .form-control,.contact-form textarea{
	border-color: #bbb;
    color: #333;
    font-size: 16px;
    border: 2px solid #bcbcbc;
    border-radius: 0;
    padding: 0px 12px;
    height: 30px;
}
.contact-form textarea{
	height:110px !important;
	resize:none;
}
.contact-form .submit-btn{
	background: #449edd;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    transition: .3s;
    border-radius: 10px;
    width: 186px;
    display: block;
    padding: 0;
    height: 44px;
    margin: 30px auto 0;
    line-height: 44px;
}
.contact-form .submit-btn:hover{
	background:#0373C2;
	opacity:1 !important;
}
.contact-form  .wpcf7-not-valid-tip,.contact-form .wpcf7 form .wpcf7-response-output {
    color: #ffffff;
    font-weight: normal;
    display: inline-block;
    background: #ff6d6d;
    padding: 2px 10px;
    line-height: normal;
    font-size: 12px;
    border-radius: 4px;
	border:0 !important;
}
.contact-form .wpcf7-spinner {
    display: block;
    background-color: #449edd;
    margin: 5px auto 0;
}
.contact-form .wpcf7 form.invalid .wpcf7-response-output, .contact-form .wpcf7 form.unaccepted .wpcf7-response-output, .contact-form .wpcf7 form.payment-required .wpcf7-response-output{
	    margin: 0 auto 20px;
    text-align: center;
    line-height: 23px;
}


/***************Courses pages************/
.learn-press-breadcrumb{
	display:none;
}
.lp-archive-courses .course-detail-info{
	background:#f1f1f1;
}
.lp-archive-courses .course-meta__pull-left .meta-item__value label{
	color:#5f5f5f;
	font-family: "Roboto", Sans-serif;
}
.lp-archive-courses .course-meta__pull-left .meta-item__value>div a{
	color:#0061a4;
	font-weight:700;
	font-family: "Roboto", Sans-serif;
}
.lp-archive-courses .course-meta__pull-left .meta-item__value>div a:hover{
	color:#0061a4 !important;
}
.lp-archive-courses .course-meta__pull-left .meta-item::before{
	color:#0061a4;
}
.lp-archive-courses .course-meta__pull-left .meta-item{
	color:#212121;
	font-family: "Roboto", Sans-serif;
}
.lp-archive-courses .course-summary-content .course-title {
    margin-bottom: 20px;
    border-bottom: 2px solid #dcdcdc;
    color: #449edd;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
	font-family: "Roboto", Sans-serif;
}
#learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(1):checked ~ .learn-press-nav-tabs .course-nav:nth-child(1) label,#learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(2):checked ~ .learn-press-nav-tabs .course-nav:nth-child(2) label,#learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(3):checked ~ .learn-press-nav-tabs .course-nav:nth-child(3) label{
	background: #449edd;
}
.course-tab-panels .course-tab-panel{
	padding:50px 0 0;
}
.course-summary-sidebar .lp-course-buttons button{
	background:#016dba;
}
.course-summary-sidebar .lp-course-buttons button:hover{
	background:#333;
}
.course-curriculum .course-item{
	background:#449edd;
}
.course-curriculum .course-item .item-icon, .course-curriculum .course-item .item-name,.course-curriculum .section-content .course-item-meta .course-item-status,#popup-course #popup-sidebar .course-item-meta .item-meta{
	color:#fff;
}
.course-curriculum ul.curriculum-sections .item-meta.duration,#popup-course #popup-sidebar .course-item,#popup-course #popup-header,#popup-course #popup-sidebar .search-course {
    background: #016dba;
}
#popup-course #popup-sidebar .search-course{
	border-right:1px solid #fff;
}
#popup-course #popup-sidebar .search-course input[name=s]{
	height:70px;
}
#popup-course #popup-sidebar .search-course button::before{
	color:#fff;
}
#popup-course #sidebar-toggle::before{
	color:#016dba;
}
.course-tab-panel .lp-course-author .author-title a{
	color:#333 !important;
}
#checkout-payment #checkout-order-action button {
    border-color: #449edd;
    color: #fff;
    background: #449edd;
}
.learn-press-form-login form[name=learn-press-login]>p>a, .learn-press-form-register form[name=learn-press-login]>p>a{
	color:#f00;
}
.text-hidden-mobile p{
	margin:0;
}
.course-content li{
	margin:10px 0;
}
.vr-rect-image {
	position:relative;
	margin-right:20px;
}
.vr-rect-image:after{
	position: absolute;
    content: "";
    top: 0px;
    width: 100%;
    height: 98%;
    background: #fff;
    border-radius: 0 0 320px 320px;
    left: 0;
}
/*****************Register and payment form***********/
.payment-form-section .payment-form-col .elementor-element-populated{
	max-width: 640px;
	margin:0 auto;
}
.payment-form-section .payment-form-col form p label{
	display: block;
    width: 100%;
    font-size: 14px;
}
.payment-form-section .payment-form-col form input,.payment-form-section .payment-form-col form textarea,.wpcf7 .wpcf7-stripe .wpcf7-form-control{
	border: 2px solid #ddd !important;
    box-shadow: none !important;
    background: #fff !important;
}
.payment-form-section .payment-form-col form textarea{
	resize:none;
}
input[type="submit"], button[type="submit"]{
	background: #449edd;
	color: #fff;
	padding: 10px 30px;
}
input[type="submit"]:hover, button[type="submit"]:hover{
	opacity:.7;
}
.payment-form-section .payment-form-col form .buttons button{
	background: #449edd;
	color: #fff;
	padding: 10px 30px;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
   border-color: #449edd !important;
    color: #449edd !important;
    margin: 20px 0 0;
    font-size: 14px;
    border-radius: 0px;
    position: relative;
    padding-left: 40px;
    background: #fff;
}
.wpcf7 form.invalid .wpcf7-response-output:before, .wpcf7 form.unaccepted .wpcf7-response-output:before, .wpcf7 form.payment-required .wpcf7-response-output:before {
    position: absolute;
    content: "\f05a";
    font-size: 20px;
    color: #449edd;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    top: 3px;
    left: 10px;
    line-height: normal;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #00a0d2 !important;
    color: #00a0d2;
    font-size: 14px;
}
.card-element.wpcf7-form-control.StripeElement.StripeElement--empty{
	margin-bottom:30px;
}
.svg-icon {
	margin:0 !important;
}
.svg-icon svg{
	height: auto;
}
.image-rect{
	position:relative;
}
.image-rect:after{
	position: absolute;
    height: 100%;
    width: calc(100% + 10px);
    background: #fff;
    border-radius: 0px 250px 250px 0px;
    transform: matrix(-1, 0, 0, 1, 0, 0);
    top: 14px;
    left: -10px;
    z-index: 0;
    content: "";
}
.image-rect img{
	border-radius:250px 0px 0 250px !important;
}
.left-image-section .image-rect:after{
	border-radius: 0px 250px 250px 0px;
	transform: matrix(1, 0, 0, 1, 0, 0);
	left: auto;
	right: -10px;
}
.left-image-section .image-rect img{
	border-radius: 0px 250px 250px 0px!important;
}
.image-rect img{
	position:relative;
	z-index:1;
}

/*.elementor-column.elementor-col-33.elementor-inner-column.elementor-element.elementor-element-0c0dfc3.rey-colbg--classic.--zindexed-1,.elementor-column.elementor-col-33.elementor-inner-column.elementor-element.elementor-element-ce905e5.rey-colbg--classic.--zindexed-1 {
    margin-left: -80px;
    margin-right: -80px;
}*/

.why-us-slot{
	position:relative;
}
.elementor-widget-container{
	position:relative;
	z-index:1;
}
.why-us-slot:after{
	position: absolute;
    height: 100%;
    width: 100%;
    background: #fff;
    border-radius: 0px 0px 100px 0px;
    top: 20px;
    left: 22px;
    z-index: 0;
    content: "";
}
.styled-img{
	position:relative;
}
.styled-img .swiper-container{
	
	position:relative;
}
.styled-img img{
	border-radius:22px 0 22px 0;
	position:relative;
	z-index:1;
}
.styled-img .swiper-container:before,.styled-img .swiper-container:after{
	position:absolute;
	content:"";
	background:#4D9DDA;
}
.styled-img .swiper-container:before{
	    width: 162px;
    height: 175px;
    left: -20px;
    bottom: -20px;
}
.styled-img .swiper-container:after{
	width: 116px;
	height: 125px;
	right: -20px;
	top: -20px;
}

.styled-img2.styled-img .swiper-container:before{
	width: 116px;
	height: 125px;
	left: -20px;
	top: -20px;
	bottom:auto;
}
.styled-img2.styled-img .swiper-container:after{
	 width: 162px;
    height: 175px;
	right: -20px;
	bottom: -20px;
	top:auto;
}
.styled-img.opposite-style .swiper-container:before, .styled-img.opposite-style .swiper-container:after{
	background:#095FA1;
}
.opposite-style.styled-img .elementor-swiper-button{
	color:#095FA1;
}
.styled-img .elementor-swiper-button {
    color: #449edd;
    position: absolute;
    bottom: -50px;
    height: auto;
    display: flex;
    transform: none;
    top: auto;
    left: 0;
    right: 0;
    margin: 0 auto !important;
    width: 40px;
    align-items: center;
    justify-content: center;
}
.icon-box .elementor-icon-box-icon{
	margin-top:5px;
}
.elementor-swiper-button-prev {
    left: -60px !important;
}
.elementor-swiper-button-next {
    right: -60px !important;
}
/*******************Models************/
.model-hero-img-col{
	
}

.models-form-col .select2-container .select2-selection--single, .models-form-col .select2-container--default.select2-container .select2-selection--single, .models-form-col input[type=datetime-local], .models-form-col input[type=datetime], .models-form-col input[type=email], .models-form-col input[type=tel], .models-form-col input[type=password], .models-form-col input[type=search], .models-form-col input[type=tel], .models-form-col input[type=text], .models-form-col input[type=url], .models-form-col select, .models-form-col textarea, .models-form-col textarea.wp-editor-area{
	background: transparent;
    border-radius: 0;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid #ddd;
    color: #fff;
	box-shadow:none !important;
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-size: 20px;
	line-height: 27px;
}
.models-form-col input[type=email]::placeholder, .models-form-col input[type=tel]::placeholder, .models-form-col input[type=text]::placeholder,.models-form-col textarea::placeholder{
    color: #fff;
	opacity:1;
}

.models-form-col input[type=email]:-ms-input-placeholder, .models-form-col input[type=tel]:-ms-input-placeholder, .models-form-col input[type=text]:-ms-input-placeholder,.models-form-col textarea:-ms-input-placeholder{
    color: #fff;
	opacity:1;
}

.models-form-col input[type=email]::-ms-input-placeholder, .models-form-col input[type=tel]::-ms-input-placeholder, .models-form-col input[type=text]::-ms-input-placeholder,.models-form-col textarea:-ms-input-placeholder{
    color: #fff;
	opacity:1;
}
.models-form-col textarea{
	height:110px;
	resize:none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=tel] {
  -moz-appearance: textfield;
}
.models-form-col input[type="submit"], .models-form-col button[type="submit"]{
background: #fff;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    padding: 10px 50px;
    color: #124A70;
    border-radius: 10px;
    margin: 20px auto 0;
    width: 185px;
    text-transform: uppercase;
	display:block;
}
.instructor-section{
	position: relative;
    z-index: 0;
	background:transparent !important;
}
.models-form-col .wpcf7-not-valid-tip {
    color: #ff3131;
    font-size: 12px;
    font-weight: normal;
    display: block;
    text-shadow: none;
}
.models-form-col .wpcf7 form.invalid .wpcf7-response-output, .models-form-col .wpcf7 form.unaccepted .wpcf7-response-output, .models-form-col .wpcf7 form.payment-required .wpcf7-response-output{
    border-color: #449edd !important;
    color: #449edd !important;
    margin: 20px 0 0;
    font-size: 14px;
    border-radius: 0px;
    position: relative;
    padding-left: 40px;
    background: #fff;
    width: auto;
    display: inline-block;
    border-radius: 6px;
}
.wpcf7 form.sent .wpcf7-response-output{
	border-color: #449edd !important;
    color: #449edd !important;
    margin: 20px 0 0;
    font-size: 14px;
    border-radius: 0px;
    position: relative;
    background: #fff;
    width: 85%;
    display: block;
    border-radius: 6px;
    margin: 0 auto;
	padding-left: 40px
}
.wpcf7 form.sent .wpcf7-response-output:before {
    position: absolute;
    content: "\f058";
    font-size: 20px;
    color: #449edd;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    top: 3px;
    left: 10px;
    line-height: normal;
}


.in-circle{
	    width: 157px !important;
    height: 157px!important;
    background: #449edd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tooltiptext a{
	color:#fff;
}
.tooltiptext a:hover{
	opacity:.7;
}
.courseTiming .elementor-icon-box-title{
	margin:0 !important;
}
.elementor-2570 .elementor-element.elementor-element-69e39a0 .elementor-icon-box-title, .elementor-2570 .elementor-element.elementor-element-69e39a0 .elementor-icon-box-title a{
	margin:0;
}
.elementor-element-69e39a0 .elementor-icon-box-icon{
	margin-top:5px !important;
}
whyus-video-sectio{
	position:relative;
}
.injection-location-list .elementor-image-box-wrapper{
	display: flex;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
}
.injection-location-list .elementor-image-box-wrapper .elementor-image-box-img{
	margin-right: 15px !important;
    width: 30px !important;
}
.injection-location-list .elementor-image-box-wrapper .elementor-image-box-content{
	text-align:left;
}
.aacm-login-form .rmrow{
	margin:20px 0;
}
.aacm-login-form .rmrow label{
	font-family: 'Inter';
    font-style: normal;
    font-weight: 400 !important;
    font-size: 20px;
    line-height: 27px;
}
.aacm-login-form .rmrow label input{
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-size: 20px;
	line-height: 27px;
}
.rmagic .buttonarea input[type='button'], .rmagic .buttonarea input[type='submit'],.rmagic .buttonarea input[type='button'], .rmagic .buttonarea input[type='submit']{
	background: #4D9DDA ;
    border-radius: 10px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-size: 18.001px;
    line-height: 22px;
    text-transform: capitalize;
    color: #FFFFFF;
    border: 0;
	margin:0;
}
.rmagic .buttonarea input[type='button']:hover, .rmagic .buttonarea input[type='submit']:hover{
	background: #2c8bd3;
    color: #fff;
}
.rmagic .rmcontent.rm-login-wrapper .rm_forgot_pass{
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 27px;
	color: #484848;
}
/**************Courses box card*********/

.course-card{
	border-radius:34px;
	overflow: hidden
}
.course-card .cc-header{
	    background: #4D9DDA;
    padding: 30px 0;
}
.cc-footer{
    background: #EBF6FE;
    padding: 0 0 40px 0;
}
.course-card .cc-header h3,.cc-footer h3{
	display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 38px;
    text-align: center;
    text-transform: capitalize;
    color: #FFFFFF;
    margin: 0 20px;
}
.cc-footer h3{
    color:#4D9DDA;
}
.course-card .cc-header h3:after,.course-card .cc-header h3:before,.cc-footer h3:before,.cc-footer h3:after{
	content:"";
	height:2px;
	background:#fff;
	width:25%;
	position:absolute;
}
.cc-footer h3:before,.cc-footer h3:after{
    background:#4D9DDA;
}
.course-card .cc-header h3:before,.cc-footer h3:before{
	left:0;
}
.course-card .cc-header h3:after,.cc-footer h3:after{
	right:0;
}
.course-card .cc-header h3 img,.cc-footer h3 img{
	margin-right:10px;
}
.course-card .cc-header p,.cc-footer h3 p{
	font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 23px;
    text-transform: capitalize;
    color: #FFFFFF;
    margin: 30px 0 0;
    padding: 0 40px;
}
.course-card h4{
	    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    box-shadow: 0px 2px 6px rgba(77, 157, 218, 0.3);
    margin: 0;
    padding: 10px 0;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    position: relative;
    text-align: center;
    text-transform: none;
    color: #4D9DDA;
}
.course-card h4 img{
	width:30px;
	margin-right:10px;
}
.course-card ul{
	list-style-type: none;
    margin: 0 auto;
    background: #EBF6FE;
    padding: 30px 30px 40px 30px;
    min-height: 470px;
}
.course-card ul li{
    position: relative;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 23px;
    text-transform: none;
    color: #1d1d1d;
    padding: 15px 0px 15px 40px;

}
.course-card ul li:before{
	background:url(https://cosmeticinjectors.org/wp-content/uploads/Vector-7.svg)no-repeat center center/cover;
	content:"";
	height:25px;
	width:25px;
	position:absolute;
	left:0;
	top:18px;
	
}
.course-card-full.course-card .cc-header,.course-card-full.course-card .cc-footer{
	position:relative;
}
.course-card-full.course-card .cc-header h3,.course-card-full.course-card .cc-footer h3{
	width: 182px;
    margin: 0 auto;
	position:static;
}
.course-card-full.course-card .cc-footer h3{
	width: 242px;
}
.course-card-full.course-card .cc-header h3:before{
	right:62%;
	left:auto;
}
.course-card-full.course-card .cc-header h3:after{
	left:62%;
	right:auto;
}
.course-card-full.course-card .cc-footer h3:before{
	right:66%;
	left:auto;
}
.course-card-full.course-card .cc-footer h3:after{
	left:66%;
	right:auto;
}
.course-card-full.course-card .cc-header h3:after, .course-card-full.course-card .cc-header h3:before{
	width:calc(50% - 150px);
}
.course-card-full .cc-footer h3:before, .course-card-full .cc-footer h3:after{
	width:calc(50% - 190px);
}
.cc-footer-btns{
	text-align: center;
    margin: 50px 0 0;
}
.cc-footer-btns a{
	background: transparent;
    border-radius: 14px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    text-transform: uppercase;
    color: #4d9dda;
    padding: 17px 40px;
    border: 1px solid #4d9dda;
	display:inline-block;
	margin-right:60px;
	transition:.3s ease-in-out;
}
.cc-footer-btns a + a{
	background: #4D9DDA;
	color:#fff;
	margin-right:0px;
}
.cc-footer-btns a:hover{
	color: #FFFFFF;
    background-color: #0373C2;
}
.advanceCourse .course-card .cc-header{
	background:#095FA1;
}
.advanceCourse .course-card-full.course-card .cc-header h3, .advanceCourse .course-card-full.course-card .cc-footer h3{
	width:195px;
}
.advanceCourse .course-card-full.course-card .cc-footer h3{
	width:245px;
}

.inforBoxRadius{
	border-radius: 0 0 90px 0;
    overflow: hidden;
    position: relative;
    padding: 0 20px 20px 0 !important;
}
.inforBoxRadius div{
	position:relative;
	z-index:1;
}
.inforBoxRadius:after{
	content:"";
	height:100%;
	width:100%;
	position:absolute;
	top:20px;
	left:20px;
	background:#fff;
	z-index:0;
}
.list-align-top ul li{
	align-items:flex-start !important;
}
.ekit-wid-con .elementskit-testimonial-slider .slick-next, .ekit-wid-con .elementskit-testimonial-slider .slick-prev {
    color: #449edd !important;
}
.tooltiptext a::before{
	display:none !important;
}
/*Menu item active class*/
.rey-mainNavigation--desktop.--style-default .menu-item.depth--1> a{
	position:relative;
}
.rey-mainNavigation--desktop.--style-default .menu-item.depth--1> a span:after {
    content: "";
    position: absolute;
    width: 100%;
    height: var(--btn-line-size,2px);
    display: block;
    bottom: 0;
    background: #449edd;
    -webkit-transition: opacity .4s var(--easeoutcubic),-webkit-transform .4s var(--easeoutcubic);
    transition: opacity .4s var(--easeoutcubic),-webkit-transform .4s var(--easeoutcubic);
    transition: transform .4s var(--easeoutcubic),opacity .4s var(--easeoutcubic);
    transition: transform .4s var(--easeoutcubic),opacity .4s var(--easeoutcubic),-webkit-transform .4s var(--easeoutcubic);
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: center right;
    transform-origin: center right;
}
.rey-mainNavigation--desktop.--style-default .menu-item.depth--1>a span:after {
    width: calc(100% - var(--indicator-distance,0px));
}


.rey-mainNavigation--desktop.--style-default .menu-item.depth--0.current-menu-ancestor.current-menu-parent .current_page_item a span:after,.rey-mainNavigation--desktop.--style-default .menu-item.depth--0.current-menu-ancestor.current-menu-parent .current_page_item a:hover span:after,.rey-mainNavigation--desktop.--style-default .menu-item.depth--0.current-menu-item>a:after, .rey-mainNavigation--desktop.--style-default .menu-item.depth--0:hover>a:after, .rey-mainNavigation--desktop.--style-default .menu-item.depth--0[aria-expanded=true]>a:after{
	-webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: center left;
    transform-origin: center left;
}
.image-hero-rounded{
	position:relative;
}
.image-hero-rounded:after{
	position: absolute;
    z-index: 0;
    content: "";
    height: calc(100% + 0px);
    width: calc(100% + 15px);
    background: #4D9DDA;
    top: 0;
    left: 0;
    border-radius: 0 350px 350px 0;
}
.image-hero-rounded img{
	position:relative;
	z-index:1;
	border-radius:0 350px 350px 0;
}
.wpcf7-spinner{
	margin: 24px auto 0 !important;
    display: block !important;
}
.models-form-col .wpcf7 form.invalid .wpcf7-response-output, .models-form-col .wpcf7 form.unaccepted .wpcf7-response-output, .models-form-col .wpcf7 form.payment-required .wpcf7-response-output{
	margin: 0 auto !important;
    display: block!important;
    width: 85%!important;
}
.grecaptcha-badge{
	visibility:hidden;
}
.ekit-wid-con .elementskit-single-testimonial-slider{
	padding-bottom:0;
}
.vc-courses-box .course-card ul{
	min-height:auto;
}
.vc-courses-box .cc-footer-btns{
	margin-top:0;
}
.rey-siteFooter a{
	transition:.3s ease-in-out;
}
.rey-siteFooter a.elementor-social-icon:hover,.rey-siteFooter h3 a:hover{
	opacity:.7;
}
.home .course-card ul{
	min-height:740px;
}
 



/********************/
@media (min-width:1400px){
	.image-rect:after,.image-rect img,.left-image-section .image-rect:after,.left-image-section .image-rect img{
		border-radius:200px !important;
	}
	.left-image-section .image-rect:after{
		border-radius:300px !important;
	}
}
@media (max-width:1250px){
	.site-header .rey-mainMenu--desktop{
		gap:15px;
	}
	.elementor-9 .elementor-element.elementor-element-3c6c1af{
		width:64%;
	}
	.elementor-9 .elementor-element.elementor-element-aa4e0e4 img {
		width: 215px;
	}
	.elementor-9 .elementor-element.elementor-element-4de3bace .elementor-button{
		padding:10px 16px;
	}
	.faculty-box .elementor-image-box-content{
		min-height:370px;
	}
}

@media (min-width:1200px){
	/*.why-us-slot{
		position: absolute;
		z-index: 1;
		bottom: 18%;
		left: 6%;
	}*/
}
@media (max-width:1360px){
	.surgeon-pic{
		top:506px !important;
	}
	.surgeon-pic img{
		width:350px !important;
	}
	.surgeon-picsurgeon-pic-left{
		
	}
	.surgeon-picsurgeon-pic-right{
		
	}
	
}

@media (max-width:1199px){
	.surgeon-pic{
		top:576px !important;
	}
	.surgeon-pic img{
		width:300px !important;
	}
	.aacm_round_boxes .elementor-container {
		justify-content:space-between;
	}
	.elementor-column.elementor-col-33.elementor-inner-column.elementor-element.elementor-element-0c0dfc3.rey-colbg--classic.--zindexed-1 {
		margin-left: -80px;
		margin-right: -80px;
	}
	body .aacm_round_boxes .elementor-column {
		width: 35.333%!important;
	}
	.ekit-wid-con .elementskit-commentor-content,.ekit-wid-con .elementskit-commentor-content p{
		margin-bottom:0 !important;
	}
	
}
@media (max-width:1150px){
	.faculty-box .elementor-image-box-content{
		min-height:408px;
	}
}
@media (max-width:1024px){
	.home .course-card ul {
        min-height: auto;
    }
	.surgeon-pic {
		top: 466px !important;
	}
	.elementor-42 .elementor-element.elementor-element-e6a89bf .elementor-heading-title,.elementor-42 .elementor-element.elementor-element-aa3875d .elementor-heading-title,.elementor-42 .elementor-element.elementor-element-f46283f .elementor-heading-title,.elementor-42 .elementor-element.elementor-element-b8fa622 .elementor-heading-title,.elementor-42 .elementor-element.elementor-element-3895a5b .elementor-heading-title,.elementor-42 .elementor-element.elementor-element-618e9b0 .elementor-heading-title {
		font-size: 46px;
	}
	.elementor-42 .elementor-element.elementor-element-e275567 .elementor-heading-title,.elementor-42 .elementor-element.elementor-element-785fc3c .elementor-heading-title,.elementor-42 .elementor-element.elementor-element-87c3013 .elementor-heading-title{
		font-size:42px;
	}
	.elementor-42 .elementor-element.elementor-element-4abe990 .elementor-heading-title{
		font-size:28px;
	}
	.elementor-42 .elementor-element.elementor-element-9936f9f .elementor-heading-title,.elementor-42 .elementor-element.elementor-element-3b6416a .elementor-heading-title{
		font-size: 20px;
		line-height: 30px;
	}
	.elementor-42 .elementor-element.elementor-element-a5418f3 > .elementor-element-populated {
		padding: 50px 60px 50px 60px;
	}
	body .aacm_round_boxes .elementor-column {
		width: 500px !important;
		border-radius: 0 !important;
		margin: 0 auto 30px;
		
	}
	.elementor-column.elementor-col-33.elementor-inner-column.elementor-element.elementor-element-0c0dfc3.rey-colbg--classic.--zindexed-1, .elementor-column.elementor-col-33.elementor-inner-column.elementor-element.elementor-element-ce905e5.rey-colbg--classic.--zindexed-1{
		margin-left:auto !important;
		margin-right:auto !important;
	}
	.in-circle {
    width: 120px !important;
    height: 120px!important;
		
	}
	.course-card .cc-header h3:after, .course-card .cc-header h3:before{
		width:15% !important;
	}
	body .aacm_round_boxes .elementor-widget-wrap {
		min-height: 480px!important;
		width: 480px !important;
		margin: 0 auto !important;
	}
	.course-card-full.course-card .cc-header h3:after, .course-card-full.course-card .cc-header h3:before {
		width:calc(50% - 150px)!important;
	}
	.course-card-full .cc-footer h3:before, .course-card-full .cc-footer h3:after {
		width: calc(50% - 170px)!important;
	}
	.course-card-full.course-card .cc-header h3:before{
		right:66%;
	}
	.course-card-full.course-card .cc-header h3:after{
		left:66%;
	}
	.course-card-full.course-card .cc-footer h3:before{
		right:68%;
	}
	.course-card-full.course-card .cc-footer h3:after{
		left:69%;
	}
	.faculty-box .elementor-image-box-content{
		min-height:280px;
	}
	.styled-img .elementor-swiper-button{
		bottom:-70px !important;
	}
	.rey-mainMenu .menu-item-has-children .--submenu-indicator-circle{
		border-color:#449edd;
	}
	.rey-mainMenu>.menu-item>a{
		font-size:16px;
	}
	.rey-mainNavigation.rey-mainNavigation--mobile .menu-item.current-menu-item>a{
		font-weight:700;
	}
	.faculty-box .elementor-image-box-img img{
		height:auto;
	}
	.rey-mainMenu .menu-item-has-children .--submenu-indicator-circle {
		right:10px;
	}
	.rey-mainMenu .menu-item-has-children .--submenu-indicator-circle{
		height:8px;
		width:8px;
	}
	.rey-mainMenu .sub-menu>.menu-item>a{
		font-size:15px;
	}
}
@media (max-width:991px){
	body .aacm_round_boxes .elementor-column svg{
		width:50px!important;
		height:50px;
	}
	body .aacm_round_boxes .elementor-column .elementor-element-513845c h2,.elementor-element-3def882 h2,.elementor-element-3300372 h2{
		font-size:22px!important;
	}
	.why-us-slot{
		margin-right:40px;
	}
	.faculty-box .elementor-image-box-content{
		min-height:300px;
	}
}

@media (max-width:767px){
	.faculty-box .elementor-image-box-content{
		min-height:auto;
	}
	.ekit-wid-con .elementskit-testimonial-slider .slick-next, .ekit-wid-con .elementskit-testimonial-slider .slick-prev{
		display:block !important;
	}
	.elementor-2855 .elementor-element.elementor-element-d3f7975 .elementskit-testimonial-slider .slick-next {
		font-size: 22px;
		right: -2%;
		width: 30px;
		height: 30px;
		color: #3A3AD5;
	}
	.elementor-2855 .elementor-element.elementor-element-d3f7975 .elementskit-testimonial-slider .slick-prev {
		font-size: 22px;
		left: -2%;
		width: 30px;
		height: 30px;
		color: #3A3AD5;
	}
	.slick-next, .slick-prev{
		top:38%;
	}
	
	.elementor-296 .elementor-element.elementor-element-b1026b7 > .elementor-widget-container,.elementor-296 .elementor-element.elementor-element-52ebb69 > .elementor-widget-container,.elementor-296 .elementor-element.elementor-element-da27c26 > .elementor-widget-container{
		padding:0px 15px 20px 15px;
	}
	.aacm_round_boxes .elementor-widget-wrap {
		min-height: 500px!important; 
	}
	
	.eligible-inner-section .elementor-element.elementor-element-83144f1,.eligible-inner-section .elementor-element.elementor-element-03afd23,.eligible-inner-section .elementor-element.elementor-element-beaa14d{
		width: 77%;
		padding: 0;
	}
	.eligible-inner-section .elementor-element.elementor-element-83144f1 .elementor-heading-title,.eligible-inner-section .elementor-element.elementor-element-03afd23 .elementor-heading-title,.eligible-inner-section .elementor-element.elementor-element-beaa14d .elementor-heading-title{

	}
	.eligible-inner-section .elementor-element.elementor-element-83144f1 h3,.eligible-inner-section .elementor-element.elementor-element-03afd23 h3,.eligible-inner-section .elementor-element.elementor-element-beaa14d h3{
		font-size:16px !important;
	}
	.elementor-element-0c8019c{
		display:none;
	}
	.text-hidden-mobile p {
		margin: 0 10% 0 0;
	}
	.elementor-42 .elementor-element.elementor-element-0640d24,.elementor-42 .elementor-element.elementor-element-ce5bf5a{
		display:none;
	}
	.elementor-42 .elementor-element.elementor-element-89e3264 .elementor-heading-title{
		font-size:16px;
	}
	.elementor-42 .elementor-element.elementor-element-a5418f3.elementor-column > .elementor-widget-wrap{
		margin:0 15px;
		width:calc(100% - 30px);
		padding:50px 10px 50px 10px;
	}
	.elementor-42 .elementor-element.elementor-element-0a0fcd7 .elementor-button{
		font-size:18pxp;
		padding:14px 30px 14px 30px;
		width:100%;
	}
		.elementor-42 .elementor-element.elementor-element-e6a89bf .elementor-heading-title, .elementor-42 .elementor-element.elementor-element-aa3875d .elementor-heading-title, .elementor-42 .elementor-element.elementor-element-f46283f .elementor-heading-title, .elementor-42 .elementor-element.elementor-element-b8fa622 .elementor-heading-title, .elementor-42 .elementor-element.elementor-element-3895a5b .elementor-heading-title, .elementor-42 .elementor-element.elementor-element-618e9b0 .elementor-heading-title{
		font-size:32px;
	}
	.elementor-42 .elementor-element.elementor-element-3895a5b{
		width:100%;
	}
	.elementor-42 .elementor-element.elementor-element-d966ac6 > .elementor-widget-container,.elementor-42 .elementor-element.elementor-element-e9652c9 > .elementor-widget-container{
		padding:38px 15px 0px 0px;
	}
	.listItem .elementor-icon-box-content{
		display: flex;
		align-items: center;
	}
	.website-testimonials .elementskit-single-testimonial-slider .row .elementkit-testimonial-col:nth-child(2){
		width: 100% !important;
		order: 1;
		margin: 0 0 40px 0;
	}
	.website-testimonials .elementskit-single-testimonial-slider .row .elementkit-testimonial-col:nth-child(1){
		width: calc(100% - 0px)!important;
		max-width: calc(100% - 0px)!important;
		order:2;
	}
	.website-testimonials .elementskit-single-testimonial-slider .row{
		flex-direction: column-reverse;
	}
	.elementor-296 .elementor-element.elementor-element-d3f7975 .elementskit-single-testimonial-slider .elementskit-commentor-content > p, .elementor-296 .elementor-element.elementor-element-d3f7975 .elementskit-testimonial_card .elementskit-commentor-coment{
		font-size:16px;
		line-height:30px;
		margin:0;
	}
	.ekit-wid-con .elementskit-single-testimonial-slider{
		padding:0;
	}
	.elementor-296 .elementor-element.elementor-element-d3f7975 .elementskit-testimonial-slider .slick-slide{
		margin:0 !important;
	}
	.ekit-wid-con .elementskit-commentor-content{
		margin-bottom:0 !important;
	}
	.elementor-296 .elementor-element.elementor-element-d3f7975 .elementskit-profile-info .elementskit-author-name{
		font-size:28px;
	}
	.elementor-296 .elementor-element.elementor-element-d3f7975 .elementskit-profile-info .elementskit-author-des{
		font-size:16px;
		line-height:20px;
	}
	/*
	body .aacm_round_boxes .elementor-column .elementor-element-a185b04{
		order:2;
	}
	body .aacm_round_boxes .elementor-column.elementor-element-0c0dfc3{
		order:3;
	} */
	body .aacm_round_boxes .elementor-column.elementor-element-0c0dfc3 svg{
		fill:#000 !important;
	}
	body .aacm_round_boxes .elementor-column.elementor-element-0c0dfc3 h2{
		color:#000 !important;
	}
	body .aacm_round_boxes .elementor-column.elementor-element-0c0dfc3 .elementor-column-wrap--0c0dfc3 h2,body .aacm_round_boxes .elementor-column.elementor-element-0c0dfc3 .elementor-column-wrap--0c0dfc3 p {
		color:#fff !important;
	}
	.elementor-296 .elementor-element.elementor-element-52ebb69 .elementor-heading-title{
		text-align:left;
	}
	.faculty-box .elementor-image-box-img img{
		height:auto !important;
	}
	.elementor-9 .elementor-element.elementor-element-11086ca{
		display:none;
	}
	.wpcf7 form.sent .wpcf7-response-output{
		line-height:normal;
		width:100%;
	}
	.page-id-926 .wpcf7 form.sent .wpcf7-response-output{
		width:100%;
	}
}

@media (max-width:640px){
	body .aacm_round_boxes .elementor-column{
		width: 100% !important;
	}
	body .aacm_round_boxes .elementor-widget-wrap {
		min-height: auto !important;
		padding:40px 30px !important;
	}
	body .aacm_round_boxes .elementor-column .elementor-widget-wrap{
		border-radius:0 !important;
	}
	.play-button-wrapper #circle-play-b svg,.play-button-wrapper #circle-play-b img{
		width:42px !important;
		height:42px  !important;
	}
	.elementor-2855 .elementor-element.elementor-element-d3f7975 .elementskit-profile-info .elementskit-author-name{
		font-size:32px;
	}
	.elementor-2855 .elementor-element.elementor-element-d3f7975 .elementskit-profile-info .elementskit-author-des{
		font-size:22px;
	}
	.elementor-2855 .elementor-element.elementor-element-d3f7975 .elementskit-single-testimonial-slider .elementskit-commentor-content > p, .elementor-2855 .elementor-element.elementor-element-d3f7975 .elementskit-testimonial_card .elementskit-commentor-coment{
		font-size:18px;
		margin:0;
	}
	.course-card-full.course-card .cc-header h3:after, .course-card-full.course-card .cc-header h3:before {
		width: calc(50% - 110px)!important;
	}
	.course-card-full .cc-footer h3:before, .course-card-full .cc-footer h3:after {
		width: calc(50% - 130px)!important;
	}

	.course-card-full.course-card .cc-header h3:before {
		right: 70%;
	}
	.course-card-full.course-card .cc-header h3:after {
		left: 70%;
	}
	.course-card-full.course-card .cc-footer h3:before {
		right: 75%;
	}
	.course-card-full.course-card .cc-footer h3:after {
		left: 75%;
	}
	.course-card .cc-header p, .cc-footer h3 p,.course-card ul li{
		font-size:16px;
	}
	.course-card ul li{
		padding-top:10px;
		padding-bottom:10px;
	}
	.course-card .cc-header h3, .cc-footer h3{
		font-size:26px;
	}
	.course-card .cc-header h3 img, .cc-footer h3 img {
		margin-right: 10px;
		width: 30px;
	}
	.faculty-box .elementor-image-box-img{
		max-width:250px !important;
	}
}

@media (max-width:575px){
	.inforBoxRadius:after {
		height: calc(100% - 20px);
		width: calc(100% - 45px);
		top: 20px;
		left: 30px;
		border-radius: 0 0 100px 0;
	}
	.elementor-element-0c8019c{
		display:block;
	}
	.text-hidden-mobile{
		display:none;
	}

			.eligible-inner-section .elementor-element.elementor-element-83144f1 .elementor-element, .eligible-inner-section .elementor-element.elementor-element-03afd23 .elementor-element, .eligible-inner-section .elementor-element.elementor-element-beaa14d .elementor-element{
		margin:0 0 10px 0 !important;
	}
	.eligible-inner-section .elementor-element.elementor-element-83144f1 .elementor-heading-title, .eligible-inner-section .elementor-element.elementor-element-03afd23 .elementor-heading-title, .eligible-inner-section .elementor-element.elementor-element-beaa14d .elementor-heading-title{
		font-size:20px;
	}
	.elementor-42 .elementor-element.elementor-element-5753ed7 > .elementor-widget-wrap,.elementor-42 .elementor-element.elementor-element-4d5608a > .elementor-widget-wrap,.elementor-42 .elementor-element.elementor-element-60d3d7f > .elementor-widget-wrap{
		min-height:75px;
	}
	.elementor-42 .elementor-element.elementor-element-e275567 .elementor-heading-title, .elementor-42 .elementor-element.elementor-element-785fc3c .elementor-heading-title, .elementor-42 .elementor-element.elementor-element-87c3013 .elementor-heading-title{
		font-size:32px;
	}
	.elementor-42 .elementor-element.elementor-element-21b462e{
		margin-top:20px;
	}
	
	.elementor-element-e22cd6f{
		margin-bottom:40px;
	}
	.elementor-42 .elementor-element.elementor-element-08f147b .elementor-heading-title,.elementor-42 .elementor-element.elementor-element-e448c6d .elementor-heading-title{
		font-size: 16px;
		line-height: 20px;
	}
	.elementor-42 .elementor-element.elementor-element-c4fee02 .elementor-icon-list-item > .elementor-icon-list-text, .elementor-42 .elementor-element.elementor-element-c4fee02 .elementor-icon-list-item > a,.elementor-42 .elementor-element.elementor-element-9e94392 .elementor-icon-list-item > .elementor-icon-list-text, .elementor-42 .elementor-element.elementor-element-9e94392 .elementor-icon-list-item > a {
		font-size: 16px;
		line-height: 26px;
	}
	.elementor-42 .elementor-element.elementor-element-d966ac6 .elementor-heading-title,.elementor-42 .elementor-element.elementor-element-e9652c9 .elementor-heading-title {
		font-size: 16px;
		line-height: 1.2em;
	}

	.elementor-42 .elementor-element.elementor-element-0ae00d9 > .elementor-widget-container,.elementor-42 .elementor-element.elementor-element-672dfdd > .elementor-widget-container{
		padding:30px 0px 20px 20px;
	}
	.elementor-42 .elementor-element.elementor-element-084c0d1 .elementor-heading-title{
		font-size:16px;
	}
	
	.elementor-42 .elementor-element.elementor-element-9936f9f .elementor-heading-title, .elementor-42 .elementor-element.elementor-element-3b6416a .elementor-heading-title{
		font-size:16px;
		line-height:25px;
	}
	.learn-press-form-login, .learn-press-form-register{
		padding:30px !important;
	}
	.course-card .cc-header h3:after, .course-card .cc-header h3:before{
		width:15% !important;
	}
	.course-card .cc-header p{
		padding:0 20px;
	}
	.course-card h4{
		font-size:22px;
	}
	.course-card h4 img{
		width:24px;
	}
	.course-card ul{
		padding:30px 20px 40px 20px;
	}
	
	.styled-img .elementor-swiper-button{
		bottom:-70px !important;
	}
	.styled-img .swiper-container:before {
		width: 65px;
		height: 65px;
		left: -10px;
		bottom: -10px;
	}
	.styled-img .swiper-container:after {
		width: 46px;
		height: 55px;
		right: -10px;
		top: -10px;
	}
	body .aacm_round_boxes .elementor-widget-wrap {
		width: 100% !important;
	}
	.course-card-full.course-card .cc-header h3:before {
		right: 75%;
	}
	.course-card-full.course-card .cc-header h3:after {
		left: 75%;
	}
	.course-card-full.course-card .cc-footer h3:before {
		right: 80%;
	}
	.course-card-full.course-card .cc-footer h3:after {
		left: 80%;
	}
	.cc-footer-btns a{
		font-size:14px;
		margin-right:10px;
		padding:10px 20px;
	}
	.advanceCourse .course-card-full.course-card .cc-header h3:before {
		right: 78%;
	}
	.advanceCourse .course-card-full.course-card .cc-header h3:after{
		left:78%;
	}
	.advanceCourse .course-card-full.course-card .cc-footer h3:before {
		right: 83%;
	}
	.advanceCourse .course-card-full.course-card .cc-footer h3:after {
		left: 83%;
	}
	.rey-mainMenu .menu-item-has-children .--submenu-indicator-circle {
		font-size: 10px!important;
	}
	.course-card ul{
		min-height:auto;
	}
	.vr-rect-image.m-0{
		margin-right:0 !important;
	}
}

/* ==========================================================================
   AACM Custom WooCommerce Checkout Styling
   ========================================================================== */

/* 1. Page-wide overrides on Checkout Page */
.woocommerce-checkout .rey-breadcrumbs,
.woocommerce-checkout .entry-header,
.woocommerce-checkout .rey-pageHeader,
.woocommerce-checkout .rey-checkoutBar-wrapper,
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .checkout_coupon {
    display: none !important;
}

.woocommerce-checkout .rey-siteContainer,
.woocommerce-checkout .rey-siteRow,
.woocommerce-checkout main,
.woocommerce-checkout #primary,
.woocommerce-checkout article,
.woocommerce-checkout .rey-pageContent,
.woocommerce-checkout .entry-content,
.woocommerce-checkout .woocommerce,
.woocommerce-checkout .wp-block-group {
    padding: 0 !important;
    margin: 0 !important;
    background: linear-gradient(135deg, #5ba4d8 0%, #1e55a8 100%) !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Outer layout wrapper */
.aacm-checkout-outer-wrapper {
    background: linear-gradient(135deg, #5ba4d8 0%, #1e55a8 100%) !important;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px !important; /* Shrunk padding to save vertical space */
    box-sizing: border-box;
    font-family: 'Outfit', 'Montserrat', sans-serif !important;
}

/* Global checkout typography override */
.aacm-checkout-outer-wrapper * {
    font-family: 'Outfit', 'Montserrat', sans-serif !important;
}

/* Custom checkout form grid - High specificity override */
body.woocommerce-checkout form.checkout.custom-aacm-checkout {
    display: grid !important;
    grid-template-columns: 0.85fr 1.15fr !important;
    column-gap: 40px !important;
    row-gap: 10px !important;
    max-width: 1100px !important;
    width: 100% !important;
    margin: 0 auto !important;
    align-items: start !important;
    float: none !important;
}

/* Reset all columns float/positioning properties from parent theme */
body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-column {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    top: auto !important;
    left: auto !important;
}

/* Express Checkout Header spanning both columns at the top */
body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-express-checkout-header {
    grid-column: 1 / span 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    margin-bottom: 0px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Force left and right columns to sit side-by-side in row 2 on desktop (Standard: card left, details right) */
body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-left {
    grid-column: 1 !important;
    grid-row: 2 !important;
}
body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-right {
    grid-column: 2 !important;
    grid-row: 2 !important;
}

/* Mobile sticky bar elements hidden on desktop */
.aacm-mobile-sticky-toggle {
    display: none !important;
}

@media (max-width: 1024px) {
    body.woocommerce-checkout form.checkout.custom-aacm-checkout {
        grid-template-columns: 1fr !important;
        column-gap: 0 !important;
        row-gap: 20px !important;
    }
    /* Hide top-level express checkout header on mobile to prevent top-of-page rendering */
    body.woocommerce-checkout form.checkout.custom-aacm-checkout > .aacm-express-checkout-header {
        display: none !important;
    }
    .aacm-mobile-express-checkout-placeholder {
        width: 100% !important;
        margin-bottom: 25px !important; /* Space between express checkout and credit card fields */
    }
    .aacm-mobile-express-checkout-placeholder .aacm-express-checkout-header {
        display: flex !important;
        width: 100% !important;
        margin-bottom: 0px !important;
    }
    body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-left {
        grid-column: 1 !important;
        grid-row: 1 !important; /* Move summary card (sticky bar) to the very top */
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        width: 100% !important;
        background: rgba(250, 250, 250, 0.85) !important; /* Premium semi-transparent white */
        backdrop-filter: blur(12px) !important; /* Frosted glass effect */
        -webkit-backdrop-filter: blur(12px) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important; /* Razor-thin border */
        border-radius: 0 !important; /* Flat edges for full-width sticky bar */
        padding: 0 !important;
        margin: 0 0 10px 0 !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03) !important; /* Premium subtle floating shadow */
    }
    body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-right {
        grid-column: 1 !important;
        grid-row: 2 !important; /* Stack billing details directly below sticky bar */
        padding: 0 15px !important;
    }
    .aacm-checkout-outer-wrapper {
        display: block !important;
        min-height: auto !important;
        padding: 0 0 30px 0 !important; /* Top padding is 0 because the sticky bar is flush with the top */
    }
    .woocommerce-checkout-review-order-table {
        padding: 15px 15px 12px 15px !important;
        margin-bottom: 0px !important;
    }
    .woocommerce-checkout-review-order-table tfoot tr.order-total th {
        font-size: 18px !important;
    }
    .woocommerce-checkout-review-order-table tfoot tr.order-total td strong {
        font-size: 22px !important;
    }
    /* Enforce 16px font-size to prevent automatic mobile page zooming on input focus */
    body.woocommerce-checkout select,
    body.woocommerce-checkout textarea,
    body.woocommerce-checkout input[type="text"],
    body.woocommerce-checkout input[type="email"],
    body.woocommerce-checkout input[type="tel"],
    body.woocommerce-checkout input[type="password"],
    body.woocommerce-checkout input[type="number"],
    body.woocommerce-checkout input[type="search"] {
        font-size: 16px !important;
    }

    /* Mobile sticky toggle styling */
    .aacm-mobile-sticky-toggle {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 8px 20px !important; /* Shrunk padding from 14px to 8px for thin bar */
        background: transparent !important; /* Inherit parent glassmorphic background */
        cursor: pointer !important;
        user-select: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
        transition: background-color 0.2s ease !important;
    }

    .aacm-toggle-label {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-size: 13.5px !important; /* Sleeker size */
        color: #1d1d1f !important; /* Graphite gray text */
        font-weight: 500 !important; /* Medium weight */
        letter-spacing: -0.01em !important; /* Clean premium tracking */
    }

    .aacm-cart-icon {
        color: #1d1d1f !important; /* Graphite gray icon color */
        display: inline-block !important;
        width: 16px !important;
        height: 16px !important;
    }

    .aacm-mobile-total-price {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #1d1d1f !important;
    }

    .aacm-mobile-right-actions {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .aacm-caret-button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        height: 24px !important;
        border-radius: 50% !important;
        background: #f1f3f5 !important; /* Sleek light gray button */
        border: 1px solid #e9ecef !important;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; /* Spring timing function */
        color: #1d1d1f !important;
    }

    /* Tactile scale-down feedback on tap */
    .aacm-mobile-sticky-toggle:active .aacm-caret-button {
        transform: scale(0.9) !important;
    }

    .aacm-caret {
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; /* Spring timing function */
        display: inline-block !important;
    }

    body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-left.aacm-expanded .aacm-caret-button {
        background: #0b61a4 !important; /* Theme blue when active */
        border-color: #0b61a4 !important;
        color: #ffffff !important;
    }

    body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-left.aacm-expanded .aacm-caret {
        transform: rotate(180deg) !important;
    }

    /* Hide the logo, title, and subtitle from the mobile summary block */
    body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-left .aacm-checkout-logo,
    body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-left .aacm-checkout-title,
    body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-left .aacm-checkout-subtitle {
        display: none !important;
    }

    /* Collapsed state (default on mobile) - Smooth CSS transitions */
    body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-left .aacm-card-inner {
        max-height: 0;
        overflow: hidden;
        background: #ffffff !important;
        padding: 0 20px !important; /* Shrunk padding when collapsed to prevent white bar height */
        box-sizing: border-box !important;
        transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), padding 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important; /* Premium ease-out cubic-bezier */
        border-bottom: 0 !important;
    }

    /* Expanded state styles - Smooth CSS transitions */
    body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-left.aacm-expanded .aacm-card-inner {
        max-height: 80vh; /* Smoothly open to 80vh max-height */
        overflow-y: auto;
        padding: 24px 20px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important; /* Thin border */
    }

    body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-left.aacm-expanded .aacm-mobile-sticky-toggle {
        border-bottom: 1px solid #edf2f7 !important;
    }

    /* Shift sticky bar down when admin bar is present on mobile */
    body.admin-bar form.checkout.custom-aacm-checkout .aacm-checkout-left {
        top: 32px !important;
    }
}

/* 2. Left Column (White Summary Card) - Desktop Only */
@media (min-width: 1025px) {
    body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-left {
        background: #ffffff !important;
        border-radius: 36px !important;
        padding: 30px 40px 30px 40px !important; /* Shrunk bottom padding from 50px to 30px */
        box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
        box-sizing: border-box !important;
    }
}

/* Logo Header */
.aacm-checkout-logo {
    margin-bottom: 15px !important;
    display: flex !important;
    justify-content: flex-start !important;
}
body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-logo-image {
    width: 280px !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
}

/* Left Column Headings & Text */
.aacm-checkout-title {
    font-size: 36px;
    font-weight: 700;
    color: #0b61a4;
    margin: 0 0 8px 0 !important;
    line-height: 1.2;
}
.aacm-checkout-subtitle {
    font-size: 16px;
    color: #777777;
    margin-bottom: 20px !important;
    line-height: 1.4;
}
.aacm-section-heading {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 20px 0 !important;
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Order Review Table Styling */
.woocommerce-checkout-review-order-table {
    border: 1px solid #eef3f7 !important;
    border-radius: 18px !important;
    background-color: #fcfdfe;
    padding: 20px 24px 15px 24px; /* Shrunk bottom padding to 15px */
    margin-bottom: 0px !important; /* Removed margin-bottom to clear space below total */
    display: block;
    box-sizing: border-box;
}
.woocommerce-checkout-review-order-table thead {
    display: none;
}
.woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout-review-order-table tfoot {
    display: block;
    width: 100%;
}
.woocommerce-checkout-review-order-table tr {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #e5ebf1;
    box-sizing: border-box;
    width: 100%;
}
.woocommerce-checkout-review-order-table tr:last-child {
    border-bottom: 0;
}
.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th {
    padding: 0 !important;
    border: 0 !important;
    font-size: 15px;
    color: #666666;
    background: transparent !important;
    background-color: transparent !important;
}
.woocommerce-checkout-review-order-table td.product-name {
    flex: 1 !important;
    text-align: left !important;
    font-weight: 500 !important;
    padding-right: 15px !important;
}
.woocommerce-checkout-review-order-table .rey-classic-reviewOrder-img {
    display: none !important;
}
.woocommerce-checkout-review-order-table td.product-total {
    flex-shrink: 0 !important;
    text-align: right !important;
    font-weight: 600 !important;
    color: #333333 !important;
}
.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td,
.woocommerce-checkout-review-order-table tfoot tr.tax-total td {
    font-size: 15px;
}
.woocommerce-checkout-review-order-table tfoot tr.order-total {
    border-top: 1px solid #eef3f7;
    padding-top: 18px;
    margin-top: 6px;
    background: transparent !important;
    background-color: transparent !important;
}
.woocommerce-checkout-review-order-table tfoot tr.order-total th {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    background: transparent !important;
    background-color: transparent !important;
}
.woocommerce-checkout-review-order-table tfoot tr.order-total td {
    text-align: right !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    background: transparent !important;
    background-color: transparent !important;
}
.woocommerce-checkout-review-order-table tfoot tr.order-total td strong {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    line-height: 1.1 !important;
}
.woocommerce-checkout-review-order-table tfoot tr.order-total td .includes_tax,
.woocommerce-checkout-review-order-table tfoot tr.order-total td small {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #718096 !important;
    display: block !important;
    margin-top: 4px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.4 !important;
}

/* Submit Button - Shiny Styling */
body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-complete-payment-btn {
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #3ea2ff 0%, #0d79d6 100%) !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 18px 24px !important;
    border-radius: 14px !important;
    text-align: center !important;
    border: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    line-height: 1.2 !important;
    display: block !important;
    box-shadow: 0 4px 15px rgba(13, 121, 214, 0.4) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-complete-payment-btn:hover {
    background: linear-gradient(135deg, #4faeff 0%, #1583e0 100%) !important;
    box-shadow: 0 6px 20px rgba(13, 121, 214, 0.6) !important;
    transform: translateY(-1px) !important;
    opacity: 1 !important;
}

/* Shiny Sweep Glisten effect */
body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-complete-payment-btn::after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -60% !important;
    width: 30% !important;
    height: 200% !important;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    ) !important;
    transform: rotate(25deg) !important;
    transition: all 0.8s ease !important;
    opacity: 0 !important;
}

body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-complete-payment-btn:hover::after {
    left: 130% !important;
    opacity: 1 !important;
    transition: all 0.8s ease !important;
}

/* 3. Right Column (Fields & Stripe Elements) */
.aacm-checkout-column.aacm-checkout-right {
    flex: 0.85;
    box-sizing: border-box;
    width: 100%;
}
.aacm-right-inner {
    width: 100%;
}

/* Form Headings and Labels */
.aacm-checkout-right h3 {
    display: none; /* Hide default Billing details section titles */
}
.aacm-checkout-right label {
    font-size: 10px !important; /* Shrunk font size slightly */
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 4px !important; /* Shrunk label margin */
    display: block;
}
.aacm-checkout-right label abbr.required {
    color: #ff6b6b !important;
    text-decoration: none !important;
    font-size: 12px !important;
    margin-left: 2px !important;
}

/* Inputs & Form Controls */
.aacm-checkout-right input[type="text"],
.aacm-checkout-right input[type="email"],
.aacm-checkout-right input[type="tel"],
.aacm-checkout-right select {
    width: 100%;
    background-color: #ffffff !important;
    border: 0 !important;
    border-radius: 6px !important; /* Apple-grade smaller border radius */
    padding: 6px 12px !important; /* Shrunk padding to make boxes shorter */
    font-size: 16px !important; /* Enforce 16px globally to prevent automatic mobile page zooming on focus */
    color: #1d1d1f !important;
    box-sizing: border-box;
    height: 36px !important; /* Explicit Apple-grade height */
    box-shadow: none !important;
    margin-bottom: 0 !important;
    outline: none !important;
    transition: all 0.2s ease-in-out !important;
}

.aacm-checkout-right input:focus,
.aacm-checkout-right select:focus {
    box-shadow: none !important;
    border: 0 !important;
    outline: none !important;
}

/* Input Placeholder text styling */
.aacm-checkout-right input::placeholder {
    color: #86868b !important;
    opacity: 1;
}

/* Row wrapper layouts */
/* Row wrapper layouts */
.woocommerce-billing-fields__field-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    row-gap: 8px !important; /* Shrunk gap between rows */
}
body.woocommerce-checkout form.checkout.custom-aacm-checkout .form-row {
    margin-bottom: 0 !important;
    padding: 0 !important;
}
.woocommerce-billing-fields__field-wrapper #billing_first_name_field {
    flex: 0 0 calc(50% - 10px) !important; /* Precise 20px gap */
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
.woocommerce-billing-fields__field-wrapper #billing_last_name_field {
    flex: 0 0 calc(50% - 10px) !important; /* Precise 20px gap */
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
.woocommerce-billing-fields__field-wrapper #billing_email_field,
.woocommerce-billing-fields__field-wrapper #billing_phone_field,
.woocommerce-billing-fields__field-wrapper #billing_country_field {
    width: 100%;
    flex-basis: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

/* Right divider */
.aacm-right-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15);
    margin: 10px 0 12px !important; /* Shrunk divider spacing */
}

/* Select2 Dropdown overrides */
.aacm-checkout-right .select2-container--default .select2-selection--single {
    background-color: #ffffff !important;
    border: 0 !important;
    border-radius: 6px !important; /* Apple-grade border radius */
    padding: 0 12px !important; /* Removed vertical padding, relying on line-height to center */
    font-size: 16px !important; /* Enforce 16px globally to prevent automatic mobile page zooming on focus */
    color: #1d1d1f !important;
    box-sizing: border-box;
    height: 36px !important; /* Matches explicit input height */
    box-shadow: none !important;
    transition: all 0.2s ease-in-out !important;
}
.aacm-checkout-right .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1d1d1f !important;
    padding: 0 !important;
    line-height: 36px !important; /* Centers text inside 36px height */
}

/* Select2 Search Field globally on checkout to prevent iOS focus zoom */
body.woocommerce-checkout .select2-container--default .select2-search--dropdown .select2-search__field,
body.woocommerce-checkout .select2-search__field,
body.woocommerce-checkout .select2-container .select2-search--inline .select2-search__field {
    font-size: 16px !important;
}
.aacm-checkout-right .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 12px !important;
    top: 0 !important;
}

/* Stripe Payment Element Overrides */
.woocommerce-checkout #payment {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}
.woocommerce-checkout #payment ul.payment_methods {
    padding: 0 !important;
    border: 0 !important;
    margin-bottom: 0 !important;
}
.woocommerce-checkout #payment div.payment_box {
    background-color: #f8f9fa !important; /* Premium light gray background to prevent blending */
    border: 1px solid #e2e8f0 !important; /* Subtle gray border */
    border-radius: 8px !important; /* Rounded corners */
    color: #1d1d1f !important;
    padding: 16px 20px !important; /* Clean padding */
    margin-top: 10px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02) !important;
}
.woocommerce-checkout #payment div.payment_box::before {
    display: none !important;
}

/* Hide original submit button and radio buttons */
.woocommerce-checkout #payment .form-row.place-order {
    display: none !important;
}
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > input[type=radio] {
    display: none !important;
}
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 10px !important;
    display: block;
}
.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods {
    display: none !important;
}

/* Inline card element formatting */
.wc-stripe-elements-field, 
.StripeElement {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

/* Defensive overrides to prevent theme positioning and float conflicts */
body.woocommerce-checkout form.checkout.custom-aacm-checkout #customer_details,
body.woocommerce-checkout form.checkout.custom-aacm-checkout #order_review,
body.woocommerce-checkout form.checkout.custom-aacm-checkout #payment,
body.woocommerce-checkout form.checkout.custom-aacm-checkout .woocommerce-billing-fields,
body.woocommerce-checkout form.checkout.custom-aacm-checkout .woocommerce-checkout-review-order,
body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-fields-wrapper,
body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-payment-gateways-wrapper {
    position: relative !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: block !important;
}

/* Force billing fields wrapper to remain flex (removed from display: block override above) */
body.woocommerce-checkout form.checkout.custom-aacm-checkout .woocommerce-billing-fields__field-wrapper {
    position: relative !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    row-gap: 8px !important;
}




/* Stripe payment request button, Express Checkout Element & separator overrides */
body.woocommerce-checkout form.checkout.custom-aacm-checkout #wc-stripe-express-checkout-element,
body.woocommerce-checkout form.checkout.custom-aacm-checkout #wc-stripe-payment-request-wrapper {
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

body.woocommerce-checkout form.checkout.custom-aacm-checkout #wc-stripe-payment-request-button {
    margin-bottom: 0 !important;
}

body.woocommerce-checkout form.checkout.custom-aacm-checkout #wc-stripe-express-checkout-button-separator,
body.woocommerce-checkout form.checkout.custom-aacm-checkout .wc-stripe-payment-request-button-separator {
    margin-top: 10px !important;
    margin-bottom: 0px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    text-align: center !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
}

body.woocommerce-checkout form.checkout.custom-aacm-checkout #wc-stripe-express-checkout-button-separator::before,
body.woocommerce-checkout form.checkout.custom-aacm-checkout #wc-stripe-express-checkout-button-separator::after,
body.woocommerce-checkout form.checkout.custom-aacm-checkout .wc-stripe-payment-request-button-separator::before,
body.woocommerce-checkout form.checkout.custom-aacm-checkout .wc-stripe-payment-request-button-separator::after {
    content: "" !important;
    flex: 1 !important;
    height: 1px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    max-width: 150px !important;
}

@media (max-width: 480px) {
    .woocommerce-billing-fields__field-wrapper #billing_first_name_field,
    .woocommerce-billing-fields__field-wrapper #billing_last_name_field {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ==========================================================================
   AACM Custom WooCommerce Order Received (Thank You) Styling
   ========================================================================== */

/* Page background alignment for confirmation */
.woocommerce-checkout .woocommerce-order {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: transparent !important;
}

.aacm-thankyou-outer-wrapper {
    background: linear-gradient(135deg, #5ba4d8 0%, #1e55a8 100%) !important;
    min-height: calc(100vh - 120px) !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 40px 20px !important;
    box-sizing: border-box !important;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.aacm-thankyou-card {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 45px 40px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
    max-width: 840px !important; /* Expanded width to fit 2-column layout */
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.aacm-thankyou-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer;
}
.aacm-thankyou-icon.success {
    background-color: #e3f9eb !important;
    color: #21c45d !important;
    animation: aacm-scale-in-bounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.aacm-thankyou-icon.failure {
    background-color: #ffebeb !important;
    color: #ff4b4b !important;
    animation: aacm-scale-in-bounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Micro-interaction Hover Effects */
.aacm-thankyou-icon.success:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 8px 20px rgba(33, 196, 93, 0.22) !important;
}
.aacm-thankyou-icon.success:active {
    transform: scale(0.95) !important;
}
.aacm-thankyou-icon.failure:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 8px 20px rgba(255, 75, 75, 0.22) !important;
}
.aacm-thankyou-icon.failure:active {
    transform: scale(0.95) !important;
}

/* Stroke animations for checkmark and cross drawing */
.aacm-checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: aacm-draw-stroke 0.5s cubic-bezier(0.65, 0, 0.45, 1) 0.3s forwards;
}
.aacm-cross-line1 {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: aacm-draw-stroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.2s forwards;
}
.aacm-cross-line2 {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: aacm-draw-stroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}

@keyframes aacm-scale-in-bounce {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes aacm-draw-stroke {
    to {
        stroke-dashoffset: 0;
    }
}

.aacm-thankyou-title {
    font-size: 28px !important; /* Premium tighter title sizing */
    font-weight: 600 !important; /* Elegant 600 weight */
    color: #1e55a8 !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important; /* Clean tracking override */
    font-family: 'Outfit', sans-serif !important;
}
.aacm-thankyou-title.error {
    color: #ff4b4b !important;
}
.aacm-thankyou-subtitle {
    font-size: 14px !important; /* Apple-grade 14px body */
    color: #4a5568 !important;
    margin-bottom: 30px !important;
    line-height: 1.6 !important; /* Readable, spacious line height */
    font-weight: 400 !important;
    max-width: 500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Metadata Grid */
.aacm-thankyou-meta-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
    background-color: #f7fafc !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 14px !important;
    padding: 16px 12px !important;
    margin: 0 0 35px 0 !important;
}
@media (max-width: 640px) {
    .aacm-thankyou-meta-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px 12px !important;
    }
}
.aacm-meta-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}
.aacm-meta-label {
    font-size: 9px !important;
    text-transform: uppercase !important;
    color: #718096 !important; /* Refined contrasting label color */
    letter-spacing: 0.08em !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
}
.aacm-meta-value {
    font-size: 14px !important; /* Clean value size */
    color: #1e55a8 !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
}

/* Details Section Styling - 2-Column Split Grid */
.aacm-thankyou-details-section {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important; /* Left column wider for table, right column for address */
    gap: 40px !important; /* Spacious column gap */
    text-align: left !important;
    border-top: 1px solid #edf2f7 !important;
    padding-top: 30px !important;
    width: 100% !important;
    align-items: start !important;
}
@media (max-width: 1024px) {
    .aacm-thankyou-details-section {
        grid-template-columns: 1fr !important; /* Stack columns vertically on tablet/mobile */
        gap: 25px !important;
    }
}
.aacm-thankyou-details-section h2 {
    font-size: 18px !important;
    font-weight: 600 !important; /* Premium 600 weight */
    color: #1d1d1f !important;
    margin: 0 0 16px 0 !important;
    text-transform: none !important;
    letter-spacing: -0.015em !important;
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
    font-family: 'Outfit', sans-serif !important;
}

/* Table formatting */
.woocommerce-table--order-details {
    border: 0 !important;
    width: 100% !important;
    margin-bottom: 30px !important;
    border-collapse: collapse !important;
}
.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
    border-bottom: 1px dashed #e2e8f0 !important;
    padding: 12px 0 !important;
    font-size: 13px !important; /* Crisp 13px table text */
    background: transparent !important;
    color: #4a5568 !important;
    line-height: 1.5 !important;
}
.woocommerce-table--order-details th {
    font-weight: 600 !important;
    color: #718096 !important;
    text-transform: uppercase !important;
    font-size: 10px !important;
    letter-spacing: 0.05em !important;
    border-top: 0 !important;
}
.woocommerce-table--order-details td.woocommerce-table__product-name a {
    color: #1e55a8 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
.woocommerce-table--order-details td.woocommerce-table__product-total,
.woocommerce-table--order-details th.woocommerce-table__product-total {
    text-align: right !important;
}
.woocommerce-table--order-details tfoot th {
    text-align: left !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 13px !important;
    color: #4a5568 !important;
}
.woocommerce-table--order-details tfoot td {
    text-align: right !important;
    font-weight: 600 !important;
    color: #2d3748 !important;
}
.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
    border-bottom: 0 !important;
    font-size: 15px !important; /* Crisp subtotal size */
    padding-top: 16px !important;
}
.woocommerce-table--order-details tfoot tr:last-child th {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1d1d1f !important;
}
.woocommerce-table--order-details tfoot tr:last-child td strong {
    font-weight: 700 !important;
    color: #1e55a8 !important;
    font-size: 18px !important; /* Prominent grand total */
    letter-spacing: -0.02em !important;
}

/* Customer details / address blocks */
.woocommerce-customer-details {
    background-color: #f7fafc !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 14px !important;
    padding: 20px 24px !important;
    margin-bottom: 0 !important; /* Reset margin for grid container alignment */
}
.woocommerce-customer-details address {
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-style: normal !important;
    font-size: 13px !important; /* Clean address copy */
    line-height: 1.6 !important;
    color: #4a5568 !important;
}
.woocommerce-customer-details .woocommerce-customer-details--phone,
.woocommerce-customer-details .woocommerce-customer-details--email {
    margin-top: 6px !important;
    padding-left: 0 !important;
    font-size: 13px !important;
    color: #4a5568 !important;
}

/* Button & Action controls styling */
.woocommerce-order .button,
.woocommerce-order a.button,
.aacm-thankyou-actions a.button {
    font-family: 'Outfit', 'Montserrat', sans-serif !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-size: 13px !important; /* Shrunk from 14px to crisp 13px */
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    text-align: center !important;
    display: inline-block !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}
.woocommerce-order p.woocommerce-notice + p {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-top: 20px !important;
}
/* Primary Button style */
.woocommerce-order .button.alt,
.woocommerce-order a.button:first-child,
.aacm-thankyou-actions a.button.alt {
    background: #1e55a8 !important;
    color: #ffffff !important;
    border: 1px solid #1e55a8 !important;
}
.woocommerce-order .button.alt:hover,
.woocommerce-order a.button:first-child:hover,
.aacm-thankyou-actions a.button.alt:hover {
    background: #15458c !important;
    border-color: #15458c !important;
    color: #ffffff !important;
}
/* Secondary Button style */
.woocommerce-order a.button:not(.alt):not(:first-child),
.aacm-thankyou-actions a.button:not(.alt) {
    background: #ffffff !important;
    color: #4a5568 !important;
    border: 1px solid #cbd5e0 !important;
}
.woocommerce-order a.button:not(.alt):not(:first-child):hover,
.aacm-thankyou-actions a.button:not(.alt):hover {
    background: #f7fafc !important;
    color: #2d3748 !important;
    border-color: #a0aec0 !important;
}


/* Custom Checkout Privacy Policy Footer Layout and Styling */
body.woocommerce-checkout form.checkout.custom-aacm-checkout #payment .woocommerce-privacy-policy-text {
    display: none !important;
}

body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-privacy-policy-footer {
    grid-column: 1 / span 2 !important;
    grid-row: 3 !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 40px !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-privacy-policy-footer .woocommerce-privacy-policy-text,
body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-privacy-policy-footer .woocommerce-privacy-policy-text p {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-privacy-policy-footer .woocommerce-privacy-policy-text a {
    color: #ffffff !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

@media (max-width: 1024px) {
    body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-checkout-privacy-policy-footer {
        grid-column: 1 !important;
        grid-row: 3 !important;
        margin-top: 25px !important;
    }
}

/* Hide visual header elements on checkout page but keep them loaded in DOM for tracking */
body.woocommerce-checkout .rey-siteHeader,
body.woocommerce-checkout .rey-siteHeader-spacer,
body.woocommerce-checkout .--hfx-spacer,
body.woocommerce-checkout .rey-siteHeader-stickySpacer,
body.woocommerce-checkout .rey-siteHeader-helper,
body.woocommerce-checkout #rey-siteHeader-helper,
body.woocommerce-checkout .__safe-spacer {
    display: none !important;
}

/* Eliminate top padding/margin on page wrapper elements to prevent white space on mobile devices */
body.woocommerce-checkout,
body.woocommerce-checkout #page,
body.woocommerce-checkout .rey-siteWrapper,
body.woocommerce-checkout #content,
body.woocommerce-checkout .rey-siteContent {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background: #1e55a8 !important; /* Fallback matching the theme gradient */
    background: linear-gradient(135deg, #5ba4d8 0%, #1e55a8 100%) !important;
}

/* Spacing for moved complete payment button inside card details box */
body.woocommerce-checkout form.checkout.custom-aacm-checkout .aacm-payment-button-wrapper {
    margin-top: 20px !important;
    margin-bottom: 5px !important;
    width: 100% !important;
}

/* Prevent top padding/margin from theme's header spacing on html element when on checkout page */
html:has(body.woocommerce-checkout) {
    padding-top: 0 !important;
}
html:has(body.woocommerce-checkout:not(.admin-bar)) {
    margin-top: 0 !important;
}

@media (max-width: 782px) {
    body.admin-bar form.checkout.custom-aacm-checkout .aacm-checkout-left {
        top: 46px !important;
    }
}

/* Custom WooCommerce Checkout Notices & Errors styling */
body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-NoticeGroup-checkout {
    grid-column: 1 / span 2 !important;
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto 25px auto !important;
    box-sizing: border-box !important;
}
body.woocommerce-checkout ul.woocommerce-error {
    background-color: #fff3f3 !important;
    border-left: 5px solid #d9534f !important;
    color: #b94a48 !important;
    padding: 15px 20px !important;
    margin: 0 !important;
    list-style: none !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}
body.woocommerce-checkout ul.woocommerce-error li {
    margin-bottom: 5px !important;
    padding-left: 20px !important;
    position: relative !important;
    text-align: left !important;
}
body.woocommerce-checkout ul.woocommerce-error li:last-child {
    margin-bottom: 0 !important;
}
body.woocommerce-checkout ul.woocommerce-error li::before {
    content: "⚠️";
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    font-size: 13px !important;
}

/* Terms Checkbox styles */
.aacm-terms-checkbox-container {
    margin-top: 18px !important;
    padding: 6px 0 !important;
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.aacm-terms-checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    cursor: pointer !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #4a5568 !important; /* Default dark gray for light backgrounds like payment_box */
    font-weight: 500 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    white-space: normal !important;
}

/* If the checkbox is placed outside of payment_box, make text readable on the blue background */
.aacm-checkout-right .aacm-terms-checkbox-label {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* If inside a payment_box, override text color to contrast on light gray */
.woocommerce-checkout #payment div.payment_box .aacm-terms-checkbox-label {
    color: #1d1d1f !important;
}

.aacm-terms-checkbox-label input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    cursor: pointer !important;
    height: 0 !important;
    width: 0 !important;
}

.aacm-checkbox-custom {
    height: 18px !important;
    width: 18px !important;
    background-color: #ffffff !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 4px !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
    position: relative !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
    margin-top: 1px !important;
    box-sizing: border-box !important;
}

.aacm-terms-checkbox-label:hover input ~ .aacm-checkbox-custom {
    border-color: #0b61a4 !important;
}

.aacm-terms-checkbox-label input:checked ~ .aacm-checkbox-custom {
    background-color: #0b61a4 !important;
    border-color: #0b61a4 !important;
}

.aacm-checkbox-custom::after {
    content: "" !important;
    position: absolute !important;
    display: none !important;
    left: 5px !important;
    top: 2px !important;
    width: 4px !important;
    height: 8px !important;
    border: solid white !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

.aacm-terms-checkbox-label input:checked ~ .aacm-checkbox-custom::after {
    display: block !important;
}

.aacm-terms-text {
    font-weight: 500 !important;
    text-align: left !important;
    flex: 1 !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

.aacm-terms-text a {
    color: #0b61a4 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
    display: inline-block !important;
}

/* If terms links are outside payment_box on blue bg, make link highly legible */
.aacm-checkout-right .aacm-terms-text a {
    color: #aae0ff !important;
}

/* Inside light gray payment_box, use premium brand blue */
.woocommerce-checkout #payment div.payment_box .aacm-terms-text a {
    color: #0b61a4 !important;
}

.aacm-terms-text a:hover {
    color: #0d79d6 !important;
    text-decoration: underline !important;
}

/* Validation Error Styles */
.aacm-terms-checkbox-container.aacm-validation-error .aacm-checkbox-custom {
    border-color: #df1b41 !important;
    box-shadow: 0 0 0 3px rgba(223, 27, 65, 0.25) !important;
    background-color: #fff5f5 !important;
}

.aacm-terms-checkbox-container.aacm-validation-error .aacm-terms-checkbox-label {
    color: #df1b41 !important;
}

/* If error is on the blue bg checkout column */
.aacm-checkout-right .aacm-terms-checkbox-container.aacm-validation-error .aacm-terms-checkbox-label {
    color: #ff8093 !important;
}

.aacm-error-message {
    color: #df1b41 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-top: 8px !important;
    padding-left: 28px !important;
    text-align: left !important;
    display: block !important;
    animation: aacmFadeIn 0.3s ease !important;
}

.aacm-checkout-right .aacm-error-message {
    color: #ff8093 !important;
}

@keyframes aacmFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Shaking animation for error feedback */
.aacm-shake {
    animation: aacmShake 0.4s ease-in-out !important;
}

@keyframes aacmShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
