@font-face {
	font-family: 'SF Pro Display';
	src: url('/wp-content/themes/flatsome-child/font/SF-Pro-Display-Regular.otf') format('opentype');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'SF Pro Display';
	src: url('/wp-content/themes/flatsome-child/font/SF-Pro-Display-Bold.otf') format('opentype');
	font-weight: 700;
	font-style: normal;
}

body,
.heading-font,
.nav > li > a,
.button,
h1, h2, h3, h4, h5, h6 {
	font-family: 'SF Pro Display', sans-serif !important;
	font-size: 16px;
}

h1 {
	font-size: clamp(28px, 5vw, 48px);
	font-family: 'SF Pro Display';
	color: #0e253e !important;
}

h2 {
	font-size: clamp(24px, 8vw, 40px) !important;
	font-family: 'SF Pro Display';
	color: #0e253e !important;
}

h3 {
	font-size: clamp(18px, 5vw, 20px) !important;
	font-family: 'SF Pro Display';
	color: #0e253e !important;
}

h4 {
	font-size: clamp(18px, 2.5vw, 26px);
	font-family: 'SF Pro Display';
	color: #0e253e !important;
}

h5 {
	font-size: clamp(16px, 2vw, 22px);
	font-family: 'SF Pro Display';
	color: #0e253e !important;
}

h6 {
	font-size: clamp(14px, 1.5vw, 18px);
	font-family: 'SF Pro Display';
	color: #0e253e !important;
}

.clinic-marquee-wrap {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	padding: 8px 0;
	position: relative;
}

.clinic-marquee {
	display: flex;
	width: max-content;
	animation: clinic-marquee-run 30s linear infinite;
}

.clinic-marquee__group {
	display: flex;
	flex-shrink: 0;
}

.clinic-marquee__group span {
	display: inline-block;
	white-space: nowrap;
	padding-right: 80px;
	color: #fff;
	font-size: 13px;
}

@keyframes clinic-marquee-run {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}


#top-bar {
	background-color: #1e40af
}

#top-bar .container {
	max-width: 1250px !important;
}


.nav > li > a {
	color: #000 !important;
	font-weight: 500 !important;
}


.nav .menu-item-44 a{
	background: var(--primary-color);
	color: #fff;
	padding: 12px 18px !important;
	border-radius: 10px;
	color: #fff !important;
}

.header-nav.header-nav-main {
	gap: 20px;
}

/* Fix mega menu nằm đúng dưới header */
.header-nav li.has-dropdown {
	position: relative;
}

.header-nav li.has-dropdown > .nav-dropdown {
	position: absolute !important;
	top: 100% !important;
	left: -50% !important;

	width: 1000px; /* chỉnh theo ý bạn */
	max-width: calc(100vw - 40px);

	background: #f8fbff;
	padding: 20px;
	border-radius: 20px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.gioi-thieu-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 24px 22px;
	max-width: 255px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.gioi-thieu-card__head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.gioi-thieu-card__icon {
	font-size: 24px;
	line-height: 1;
	margin-top: 6px;
	flex: 0 0 auto;
}

.gioi-thieu-card__title {
	margin: 0;
	color: #2563eb;
	font-size: 22px;
	line-height: 1.35;
	font-weight: 700;
	text-transform: uppercase;
}

.gioi-thieu-card__line {
	height: 1px;
	background: #dbe3ef;
	margin: 18px 0 22px;
}

.gioi-thieu-card__list {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.gioi-thieu-card__item {
	color: #5b6472;
	font-size: 16px;
	line-height: 1.6;
	text-decoration: none;
	transition: 0.2s ease;
}

.gioi-thieu-card__item:hover {
	color: #2563eb;
}




.gioi-thieu-menu .col .col-inner {
	height: 100%;
}
.bang-gia-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 24px;
	max-width: 260px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	height: 100%;
}

.bang-gia-card__head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bang-gia-card__icon {
	font-size: 22px;
}

.bang-gia-card__title {
	margin: 0;
	color: #2563eb;
	font-size: 20px;
	font-weight: 700;
}

.bang-gia-card__line {
	height: 1px;
	background: #dbe3ef;
	margin: 16px 0 20px;
}

.bang-gia-card__list {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.bang-gia-card__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.bang-gia-card__item .icon {
	font-size: 20px;
	margin-top: 4px;
}

.bang-gia-card__item p {
	margin: 0;
	color: #5b6472;
	font-size: 15px;
	line-height: 1.6;
}


.bang-gia-card__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	text-decoration: none;
	padding: 6px;
	border-radius: 8px;
	transition: all 0.25s ease;
}

.bang-gia-card__item:hover {
	background: #f1f5ff;
}

.bang-gia-card__item p {
	margin: 0;
	color: #5b6472;
}

.bang-gia-card__item:hover p {
	color: #2563eb;
}


.len-lich-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 24px;
	max-width: 260px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	height: 100%;
}

.len-lich-card__head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.len-lich-card__icon {
	font-size: 24px;
	line-height: 1;
}

.len-lich-card__title {
	margin: 0;
	color: #2563eb;
	font-size: 20px;
	font-weight: 700;
}

.len-lich-card__line {
	height: 1px;
	background: #dbe3ef;
	margin: 16px 0 24px;
}

.len-lich-card__actions {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.len-lich-card__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 48px;
	padding: 0 18px;
	background: #2563eb;
	color: #fff;
	text-decoration: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(37,99,235,0.25);
	transition: all 0.25s ease;
}

.len-lich-card__btn:hover {
	background: #1d4ed8;
	color: #fff;
	transform: translateY(-1px);
}

.len-lich-card__btn-icon {
	font-size: 18px;
	line-height: 1;
}

.fa-bolt:before {
	color: orange
}



.chuyen-muc-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 18px 12px;
	max-width: 295px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.chuyen-muc-card__title {
	margin: 0;
	color: #2563eb;
	font-size: 16px;
	font-weight: 700;
}

.chuyen-muc-card__line {
	height: 1px;
	background: #dbe3ef;
	margin: 12px 0 14px;
}

.chuyen-muc-card__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.chuyen-muc-card__item {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.chuyen-muc-card__icon {
	width: 22px;
	text-align: center;
	font-size: 20px;
	line-height: 1;
	flex: 0 0 22px;
}

.chuyen-muc-card__text {
	color: #2563eb;
	font-size: 14px;
	line-height: 1.4;
}

.chuyen-muc-card__actions {
	margin-top: 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.chuyen-muc-card__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 600;
}

.chuyen-muc-card__btn--blue {
	background: #eef4ff;
	color: #2563eb;
}

.chuyen-muc-card__btn--red {
	background: #fff1f1;
	color: #ef4444;
}

.thong-tin-suc-khoe-card {
	padding: 16px 12px;
	max-width: 580px;
}

.thong-tin-suc-khoe-card__title {
	margin: 0;
	color: #2563eb;
	font-size: 16px;
	font-weight: 700;
}

.thong-tin-suc-khoe-card__line {
	height: 1px;
	background: #dbe3ef;
	margin: 12px 0 16px;
}

.thong-tin-suc-khoe-card__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.thong-tin-suc-khoe-card__item {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 8px;
	text-decoration: none;
}

.thong-tin-suc-khoe-card__item img {
	display: block;
	width: 100%;
	height: 190px;
	object-fit: cover;
}

.thong-tin-suc-khoe-card__label {
	position: absolute;
	left: 14px;
	bottom: 14px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	z-index: 2;
}

.thong-tin-suc-khoe-card__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0.08));
}

.thong-tin-suc-khoe-card__item:nth-child(3) {
	grid-column: 1 / 2;
}

.kien-thuc-menu .col .col-inner{
	height: 100%
}

.btn-dat-lich-hong {
	display: inline-block;
	background: var(--primary-color);
	color: #fff;
	padding: 12px 22px;
	border-radius: 10px;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	transition: all 0.25s ease;
}
.btn-dat-lich-hong:hover {
	color: #fff;
	transform: translateY(-1px);
}

.btn-dat-lich-hong:active {
	transform: scale(0.97);
}

.video-box {
	width: 100%;
	max-width: 800px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.video-box iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
}

.flickity-prev-next-button .arrow, .flickity-prev-next-button svg {
	color: var(--primary-color) !important;
	opacity: 1
}

.tai-sao-homepage h2 {
	margin-bottom: 0
}

.tai-sao-homepage .icon-box {
	background: #fff;
	padding: 30px;
	border-radius: 5px;
	height: 100%;
	box-shadow: 
		0 4px 10px rgba(0, 0, 0, 0.05),
		0 8px 24px rgba(0, 0, 0, 0.06);
	transition: all .3s ease-in;
}

.tai-sao-homepage .icon-box:hover {
	transform: translateY(-6px) scale(1.02);

	box-shadow:
		0 16px 40px rgba(0, 0, 0, 0.12);
}

.doctor-homapage .col-inner {
	height: 100%
}

.doctor-homapage .col-inner .icon-inner {
	padding: 10px;
	background: #eff6ff;
	border-radius: 50px;
}
.doctor-homapage .col-inner .icon-inner img {
	padding-top: 0
}

.chuyen-khoa-homepage .box {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08),
		0 4px 10px rgba(0, 0, 0, 0.05);
}

.chuyen-khoa-homepage .box:hover {
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.chuyen-khoa-homepage .box .box-image {
	border-radius: 10px 10px 0 0;

}

.btn-view-all {
	display: inline-flex;
	align-items: center;
	gap: 10px;

	padding: 12px 22px;
	border: 2px solid var(--primary-color);
	border-radius: 10px;

	color: var(--primary-color);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;

	background: transparent;
	transition: all 0.3s ease;
}

/* icon */
.btn-view-all i {
	font-size: 16px;
	transition: transform 0.3s ease;
}

/* hover */
.btn-view-all:hover {
	background: var(--primary-color);
	color: #fff;
}

.btn-view-all:hover i {
	transform: translateX(6px);
}

.ky-thuat-homepage .icon-box {
	background: #4448e2;
	padding: 30px;
	border-radius: 20px;
}
.ky-thuat-homepage .icon-box h3 {
	color: #fef08a !important;
}
.ky-thuat-homepage .icon-box p {
	color: #fff !important
}

.dich-vu-homepage .box .box-image {
	padding: 20px 20px 0 20px;
}

.dich-vu-homepage .post-item .box,
.dich-vu-homepage .post-item .col-inner,
.dich-vu-homepage .post-item .col-inner .box-image .image-cover{
	border-radius: 10px;
}


.dich-vu-homepage .post-item .col-inner .is-divider {
	background: #f7f9fa 
}

.dich-vu-homepage .post-item .col-inner .from_the_blog_excerpt {
	font-size: 1rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;   /* số dòng */
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.dich-vu-homepage .post-item .col-inner .box{
	background: #f7f9fa !important
}

.dich-vu-homepage .post-item .col-inner  .post-title a{
	font-size: 1.2rem;
}
.dich-vu-homepage .box-text-inner a {
	text-transform: capitalize;
	font-size: 1rem;
}

.dat-lich-homepage .box {
	display: flex;
}

.dat-lich-homepage .box-text {
	order: 1;
}
.dat-lich-homepage .box .box-image {
	order: 2;
}


.btn-book {
	display: inline-block;

	padding: 14px 28px;
	border-radius: 12px;

	background: #f2f2f2;
	color: #2f5fe3;

	font-size: 16px;
	font-weight: 600;
	text-decoration: none;

	transition: all 0.3s ease;
}


.dat-lich-homepage h3,
.dat-lich-homepage .box-text-inner p {
	margin-bottom: 15px !important;
}


.dat-lich-homepage  .btn-book  br{
	display: none;
}

.dat-lich-homepage .box-text-inner p {
	text-align: left
}

.dat-lich-homepage .box .box-text {
	flex: 0 0 60%;
}
.dat-lich-homepage .box {
	background: var(--primary-color);
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.dat-lich-homepage .box  .box-image {
	border-radius: 0 10px 10px 0 ;
}

.dat-lich-homepage .box-text-inner h3 , 
.dat-lich-homepage .box-text-inner p {
	color: #fff !important
}

.dat-lich-homepage .box-text-inner>p {
	margin-bottom: 0 !important
}
.kham-homepage {
	background: #f3f4f6 !important
}

.dat-lich-homepage .kham-homepage .box-text-inner h3, .dat-lich-homepage .kham-homepage .box-text-inner p {
	color: #000 !important;
}

.kham-homepage .btn-book {
	background: var(--primary-color);
	color: #fff
}


.ck-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ck-list li {
	display: flex;
	align-items: center; /* 👈 key nằm ở đây */

	gap: 12px;
	margin-bottom: 18px;

	font-size: 16px;
	line-height: 1.7;
	color: #0d2b6b;
}

/* icon */
.ck-list li i {
	color: #22c55e; /* xanh lá */
	font-size: 18px;
	margin-top: 4px;
	flex-shrink: 0;
}

.ck-box {
	max-width: 500px;
}

/* tiêu đề */
.ck-title {
	margin: 0 0 12px;
	font-size: 24px;
	font-weight: 700;
	color: #0d2b6b;
}

/* mô tả */
.ck-desc {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.7;
	color: #6b7280;
}

/* link */
.ck-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;

	font-size: 15px;
	font-weight: 600;
	color: var(--primary-color);
	text-decoration: none;

	transition: all 0.3s ease;
}

.ck-link br {
	display: none
}
/* icon */
.ck-link i {
	font-size: 12px;
	transition: transform 0.3s ease;
}

/* hover */
.ck-link:hover {
	color: #1d4ed8;
}

.ck-link:hover i {
	transform: translateX(4px);
}

.ky-thuat-homepage h3 {
	font-size: clamp(18px, 5vw, 20px) !important; 
}


.blog-post-inner .custom-meta-readmore-row{
	display:flex;
	justify-content:space-between;
	align-items:center;
	gap:12px;
	margin-top:10px;
	flex-wrap:wrap;
}

.blog-post-inner .custom-meta-readmore-row .post-meta{
	margin:0;
	line-height:1;
}

.blog-post-inner .custom-meta-readmore-row .button{
	margin:0 !important;
}

.news-homepage .is-divider {
	background: #fff
}

.news-homepage .custom-meta-readmore-row a {
	text-transform: capitalize !important;
	font-size: .9rem;
}

.news-homepage .custom-meta-readmore-row .post-meta {
	font-size: .9rem;
	color: red;
}

.news-homepage .post-item .box-text-inner .post-title a {
	display: -webkit-box;
	-webkit-line-clamp: 2; 
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 1.2rem;
}

.news-homepage .post-item .col-inner,
.news-homepage .post-item .col-inner .box {
	border-radius: 10px;
}

.news-homepage .post-item .col-inner .box .box-image {
	border-radius: 10px 10px 0 0;
}

.news-homepage .post-item .col-inner .box .from_the_blog_excerpt {
	font-size: 1rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;   /* số dòng */
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tv-contact-box {
    max-width: 400px;
    line-height: 1.7;
}

.tv-contact-title-main {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.tv-contact-item {
    margin-bottom: 18px;
}

.tv-contact-title {
    display: flex;
    align-items: center;
    color: #2563ff;
    font-weight: 700;
    margin-bottom: 6px;
}

.tv-contact-title i {
    margin-right: 10px;
    font-size: 18px;
}

.tv-contact-text {
    padding-left: 28px;
    font-size: 16px;
}

.tv-contact-note {
    margin-top: 15px;
}

.lich-kham-homepage .col-inner {
	background: #fff;
	border-radius: 20px;
	height: 100%;
	padding: 30px;
}

#footer p{
	color: #fff !important
}

#footer .check {
	border-bottom: 1px solid #fff
}
#footer h3 {
	color: #00ffff !important
}
.ck-list li {
	margin-left: 0 !important;
}
.ck-list li br {
	display: none
}

.dat-lich-homepage .box-text-inner h3 {
	font-size: clamp(20px, 6vw, 25px) !important;
}

@media (max-width: 849px){
	.clinic-marquee__group span {
		font-size: 12px;
	}
	.dat-lich-homepage .box .box-text {
		flex: 0 0 100%;
		padding: 20px;
	}
}




.tv-booking-form {
    width: 100%;
}

.tv-booking-form__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #0f172a;
}

.tv-booking-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 22px;
}

.tv-booking-form__group {
    width: 100%;
}

.tv-booking-form__group--full {
    grid-column: 1 / -1;
}

.tv-booking-form__group label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.tv-booking-form input[type="text"],
.tv-booking-form input[type="tel"],
.tv-booking-form input[type="date"],
.tv-booking-form select,
.tv-booking-form textarea {
    width: 100%;
    height: 46px;
    border: 1px solid #d6dce5;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    padding: 0 14px;
    font-size: 15px;
    color: #334155;
    margin: 0;
}

.tv-booking-form textarea {
    height: 140px;
    padding: 12px 14px;
    resize: vertical;
}

.tv-booking-form input::placeholder,
.tv-booking-form textarea::placeholder {
    color: #94a3b8;
}

/* Chỉnh input date để icon không dính sát mép */
.tv-booking-form input[type="date"] {
    position: relative;
}

/* Tăng khoảng cách icon lịch mặc định của Chrome/Safari */
.tv-booking-form input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 1;
    cursor: pointer;
    margin-right: 4px;
}

/* Bỏ icon clear nếu trình duyệt có */
.tv-booking-form input[type="date"]::-webkit-clear-button {
    display: none;
}

.tv-booking-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.tv-booking-form__submit {
    margin-top: 4px;
}

.tv-booking-form__submit .wpcf7-submit {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 8px;
    background: #0d4aa8;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 0 20px;
    margin: 0;
    box-shadow: none;
}

.tv-booking-form__submit .wpcf7-submit:hover {
    background: #0b3f8f;
}

@media (max-width: 849px) {
    .tv-booking-form__grid {
        grid-template-columns: 1fr;
    }

    .tv-booking-form__group--full {
        grid-column: auto;
    }
}

.cf7-booking-card {
  max-width: 390px;
  width: 100%;
  background: #f3f4f6;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
}

.cf7-booking-head {
  background: #2f66df;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cf7-booking-head-icon {
  font-size: 16px;
  line-height: 1;
}

.cf7-booking-body {
  padding: 22px 22px 24px;
}

.cf7-field {
  margin-bottom: 22px;
}

.cf7-field > label {
  display: block;
  margin: 0 0 10px;
  color: #1f2937;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.cf7-control,
.cf7-booking-card input[type="text"],
.cf7-booking-card input[type="tel"],
.cf7-booking-card input[type="date"],
.cf7-booking-card select,
.cf7-booking-card textarea {
  width: 100%;
  height: 40px;
  background: #fff;
  border: 1px solid #d5dbe5;
  border-radius: 6px;
  box-shadow: none;
  color: #1f2937;
  font-size: 14px;
  font-weight: 400;
  padding: 0 14px;
  margin: 0;
  outline: none;
  transition: all .2s ease;
}

.cf7-booking-card textarea {
  min-height: 100px;
  height: 100px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.6;
}

.cf7-booking-card input::placeholder,
.cf7-booking-card textarea::placeholder {
  color: #7a8699;
  opacity: 1;
}

.cf7-booking-card select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%238894A3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
}

.cf7-booking-card input[type="date"] {
  padding-right: 12px;
}

.cf7-booking-card input:focus,
.cf7-booking-card select:focus,
.cf7-booking-card textarea:focus {
  border-color: #2f66df;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(47, 102, 223, 0.08);
}

.cf7-checkbox-wrap {
  margin-top: -2px;
  margin-bottom: 24px;
}

.cf7-checkbox-wrap .wpcf7-form-control-wrap {
  display: block;
}

.cf7-checkbox-wrap .wpcf7-checkbox {
  display: block;
}

.cf7-checkbox-wrap .wpcf7-list-item {
  margin: 0;
  display: block;
}

.cf7-checkbox-wrap .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 0;
  color: #1f2937;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.cf7-checkbox-wrap input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid #2f66df;
  border-radius: 4px;
  background: #fff;
  position: relative;
  cursor: pointer;
}

.cf7-checkbox-wrap input[type="checkbox"]:checked {
  background: #2f66df;
}

.cf7-checkbox-wrap input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cf7-row-2 {
  display: flex;
  gap: 16px;
}

.cf7-row-2 .cf7-field {
  flex: 1 1 0;
}

.cf7-submit-wrap {
  margin-top: 6px;
}

.cf7-submit,
.cf7-booking-card input[type="submit"] {
  width: 100%;
  height: 40px;
  background: #0f4fb6;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  padding: 0 18px;
  cursor: pointer;
  box-shadow: none;
  margin: 0;
}

.cf7-submit:hover,
.cf7-booking-card input[type="submit"]:hover {
  background: #0c46a3;
}

.cf7-submit:focus,
.cf7-booking-card input[type="submit"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(15, 79, 182, 0.12);
}

.cf7-booking-card .wpcf7-spinner {
  margin: 10px 0 0;
}

.cf7-booking-card .wpcf7-not-valid-tip {
  font-size: 12px;
  margin-top: 6px;
}

.cf7-booking-card .wpcf7-response-output {
  margin: 16px 0 0 !important;
  padding: 10px 12px !important;
  border-radius: 6px;
  font-size: 13px;
}

@media (max-width: 480px) {
  .cf7-booking-card {
    max-width: 100%;
  }

  .cf7-booking-body {
    padding: 18px 16px 20px;
  }

  .cf7-booking-head {
    padding: 16px;
    font-size: 17px;
  }

  .cf7-row-2 {
    gap: 12px;
  }

  .cf7-field {
    margin-bottom: 20px;
  }
}