/*
Theme Name: Findme
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.2.8
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
	--pma-xanh-m: #272660;
	--mf-overlay: linear-gradient(180deg, rgba(39, 38, 96, 0.00) 40%, #272660 100%);
}
:where(p:last-of-type) {
	margin-bottom: 0 !important;
}
.mf-svg-wrapper {
	margin: 0 !important;
}
.mf-svg-wrapper svg {
	display: block;
}
.section-block-heading > * {
    color: inherit !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    line-height: 60px !important;
    letter-spacing: -0.96px;
    margin-block: 0 !important;
}
.text-normal {
	color: var(--pma-xanh-m, #272660);
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 35px; 
}
.mx-0 {
	margin-inline: 0 !important;
}
.my-0 {
	margin-block: 0 !important;
}
.button span {
	line-height: inherit;
}

#logo img {
	max-height: 60px !important;
	width: auto;
}
.header-row-main {
	padding-top: 20px;
}
.header-main-container:after {
	display: none;
}
.header-main-right {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 100px;
}
.header-main-right .header-main-right-item {
	margin: 0;
}
.menu-main-menu-container .header-nav {
	gap: 40px;
}
.menu-main-menu-container .header-nav > li.active > a {
	color: var(--pma-xanh-m);
}
.menu-main-menu-container .menu-item {
	margin-inline: 0;
}
.menu-main-menu-container .nav-top-link {
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 30px;
	padding-block: 0;
	color: var(--pma-xanh-m);
	text-decoration: none;
}
.header-row-bottom {
	min-width: 100%;
    padding-right: 150px;
	padding-left: 0px;
}
.gtranslate_wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0;
}
.gtranslate_wrapper .glink {
	font-size: 20px;
	color: var(--pma-xanh-m);
	display: flex;
}
.gtranslate_wrapper .glink:after {
	content: "/";
	display: block;
}
.gtranslate_wrapper .glink:last-of-type:after {
	display: none;
}
.role-switcher {
	position: relative;
	padding-right: 160px;
}
.role-switcher-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	line-height: 30px;
	margin: 0;
	min-height: unset;
    border: none;
	padding-block: 9px;
	letter-spacing: 0;
    text-transform: initial;
	color: #fff;
	padding-inline: 0;
}
.switcher-btn-icon svg {
	display: block;
}
.role-switcher-bg {
	position: absolute;
    right: 0;
	width: 800px;
}
.arrow {
  width: 100%; /* Đặt chiều rộng ban đầu */
  height: 48px;  /* Đặt chiều cao */
  background: linear-gradient(to right, #1f1f5c, #2b39a2); /* Màu gradient */
  clip-path: polygon(
    0% 0%,       /* Thay đổi từ 20% thành 0% để chạm cạnh trên */
    calc(100% - 35px) 0%, /* Thay đổi từ 20% thành 0% */
    100% 50%,    /* Điểm giữa ở đỉnh mũi tên vẫn giữ nguyên */
    calc(100% - 35px) 100%, /* Thay đổi từ 80% thành 100% để chạm cạnh dưới */
    0% 100%      /* Thay đổi từ 80% thành 100% */
  );
}

.header-row-bottom .header-nav {
	gap: 40px;
}
.header-row-bottom .header-nav > li {
	margin: 0;
}
.header-row-bottom .header-nav > li > a {
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: 30px;
	color: var(--pma-xanh-m);
	padding-block: 9px;
}
.page-banner-video .overlay {
	background-color: transparent !important;
	background: var(--mf-overlay);
}
.video-button-wrapper .button {
	margin: 0;
	border: none;
	min-height: unset;
	min-width: unset;
	display: flex;
    align-items: center;
    justify-content: center;
}
.video-button-wrapper .button:hover {
	background-color: transparent;
}
.video-button-wrapper .button .mf-svg-wrapper {
	display: block;
}
.page-banner-video .text-box {
	padding-inline: 15px;
}
.page-banner-video .text-box .row > .col > .col-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	column-gap: 30px;
}
.page-banner-video h1 {
	text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
    font-size: 48px;
    font-weight: 700;
    line-height: 60px;
    letter-spacing: -0.96px;
    margin-block: 0;
}
.banner.mf-overlay .overlay {
	height: 35%;
	top: auto;
	background-color: transparent !important;
	background: var(--mf-overlay);
}
.button {
	letter-spacing: 0 !important;
}
.white.button,
.white.button.is-outline {
	padding-block: 10px;
	padding-inline: 25px;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: 30px; 
	color: #fff !important;
}
.white.button {
	color: var(--pma-xanh-m) !important;
}
.white.button:hover,
.white.button.is-outline:hover {
	color: var(--pma-xanh-m) !important;
}
.row:after {
	display: none;
}
.row.mf-row.mf-large-gap {
	gap: 50px;
}
.row.mf-row > .col {
	flex: 1 !important;
}
.col.mf-buttons-group > .col-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}
.col.mf-buttons-group > .col-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}
.col.mf-buttons-group > .col-inner .button {
	min-width: 286px;
}

/*CSS blog sản phẩm, xu hướng*/

.post-scroll {
    max-height: 580px;
    overflow-y: auto;
    padding-right: 10px !important;
}
.post-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(39, 38, 96, 1);
  border-radius: 5px;
  border: 2px solid #f5f5f5;
}

.post-scroll::-webkit-scrollbar-thumb:hover {
  background-color: rgba(30, 29, 75, 1); /* nếu muốn hover đậm hơn một chút */
}

/* Firefox */
.post-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(39, 38, 96, 1) #f5f5f5;
}
/* === WRAPPER === */
.video-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* === SLIDER === */
.video-slider {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

/* mỗi “slide” chiếm 100% */
.video-slide-item {
  flex: 0 0 100%;
  display: flex;
  gap: 20px;
  box-sizing: border-box;
  padding: 0 10px;
}

/* === SUB-ITEM === */
.video-slide-subitem {
  flex: 1;
  background: transparent;
  display: flex;
  flex-direction: column;
  color: #fff;
  margin: 0 0 -200px 0;
}

/* === TOP === */
.video-slide-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #fff;
}
.video-slide-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.video-slide-number {
  font-size: 5rem;
  font-weight: bold;
  color: #fff;
}
.video-slide-btn {
  display: inline-block;
  padding: 6px 12px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.video-slide-btn:hover {
  background: #fff;
  color: rgba(39,38,96,1);
}
.video-slide-right {
  flex: 1;
  padding-left: 10px;
	min-height: 200px;
}
.video-slide-title {
  font-size: 2rem;
  margin: 0 0 6px;
  line-height: 1.2;
  color: #fff;
}
.video-slide-excerpt {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 6px;
}
.video-slide-date {
  font-size: 0.9rem;
  font-weight: 600;
}

/* === BOTTOM === */
.video-slide-img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* === NAVIGATION === */
.video-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  box-sizing: border-box;
}
.video-slider-nav button {
  background: transparent;
  border: none;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  padding: 0 8px;
  margin: 0 -30px 6px -30px;
}
.video-slider-nav button:hover {
  color: rgba(39,38,96,1);
}
.video-slider-counter {
  display: flex;
  align-items: center;
  position: relative;
}
.video-slider-counter::before,
.video-slider-counter::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: #fff;
}
.video-slider-counter::before {
  margin-right: 20px;
}
.video-slider-counter::after {
  margin-left: 20px;
}
.video-slider-counter .current-slide {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}
.video-slider-counter .total-slides {
  font-size: 1.2rem;
  opacity: 0.7;
  margin-left: 4px;
  color: #fff;
}

/* === RESPONSIVE === */
/* Tablet (dưới 1024px) */
@media (max-width: 1024px) {
  .video-slide-item {
    gap: 12px;
    padding: 0 8px;
  }
  .video-slide-number {
    font-size: 3rem;
  }
  .video-slider-counter .current-slide {
    font-size: 2rem;
  }
}

/* Mobile (dưới 768px) */
@media (max-width: 767px) {
	#form-warranty{
		width: 400px !important;
	}
  .video-slide-item {
    flex-direction: column;
  }
  .video-slide-subitem {
    flex: 0;
    margin: 0 0 20px;
    padding: 0 10px;
  }
  .video-slide-subitem:last-child {
    margin-bottom: 0;
  }
  .video-slide-number {
    font-size: 2.5rem;
  }
  .video-slide-title {
    font-size: 1.1rem;
  }
  .video-slide-excerpt {
    font-size: 0.9rem;
  }
  .video-slide-date {
    font-size: 0.8rem;
  }
  .video-slider-nav {
    bottom: 4px;
    gap: 16px;
  }
  .video-slider-nav button {
    font-size: 2rem;
    margin: 0 -16px 4px -16px;
  }
  .video-slider-counter::before,
  .video-slider-counter::after {
    width: 40px;
  }
}


.product-cat_home .image-cover {
  position: relative;
  overflow: hidden;
}

.product-cat_home .image-cover .shade {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background: linear-gradient(
    180deg,
    rgba(39, 38, 96, 0) 0%,
    #272660 100%
  );
  pointer-events: none;
  border-radius: inherit; /* nếu .image-cover bo góc */
}

.col-doitac{
	padding: 0;
}

/* 1. Form container */
.cfb-wrapper .wpcf7-form {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(39, 38, 96, 0.5);
  padding: 30px;
  max-width: 500px;
  margin: 0 auto;
}

/* 2. Intro text (nếu có) */
.cfb-wrapper p {
  font-size: 16px;
  color: #2b2b5d;
  margin-bottom: 20px !important;
}

/* 3. Label */
.cfb-wrapper label {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 5px;
  font-weight: 400;
}

/* 4. Input fields */
.cfb-wrapper input[type="text"],
.cfb-wrapper input[type="tel"],
.cfb-wrapper textarea {
  width: 100%;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  padding: 12px;
  margin: 5px 0 20px;
  box-sizing: border-box;
}

/* 5. Button submit */
.cfb-wrapper input[type="submit"] {
  background: rgba(242, 66, 54, 1);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  padding: 15px;
  font-size: 18px;
  width: 100%;
  cursor: pointer;
  transition: background 0.3s;
}

/* 6. Hover state */
.cfb-wrapper input[type="submit"]:hover {
  background: rgba(230, 50, 40, 1);
}

.header-row.header-row-bottom.container.flex-row::after {
  content: none !important;
  display: none !important;
  background: none !important; /* nếu có background */
}
.header-row-main.container.flex-row::after {
  content: none !important;
  display: none !important;
}

@media (min-width: 850px) {
	.pb-0-lg {
		padding-bottom: 0 !important;
	}
}
@media (min-width: 550px) {
	.pb-0-md {
		padding-bottom: 0 !important;
	}
}