/*
Theme Name: Sửa chửa điện máy
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
  --custom-box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  --cus-hover-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px,
    rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
.header-block {
  width: auto !important;
  margin-right: 110px !important;
}
.header-block svg {
  margin-right: 10px;
  color: var(--primary-color);
}
.header-block h3 {
  margin-bottom: 0 !important;
}
.header-block p {
  font-size: 14px;
}
.header-block-block-2 a {
  display: flex;
}
.header-block-block-2 span {
  font-size: 16px;
  font-weight: 700;
}
.header-main .sub-menu{
	border-radius: 15px;
	padding: 10px !important;
}
.header-main .sub-menu li > a{
	    font-weight: 500;
}
.header-main .sub-menu li:hover > a, .header-main .sub-menu li.active > a{
	color: var(--primary-color);
}
.flex-right .header-block {
  margin-right: 0 !important;
}

.bg-a {
  background: linear-gradient(
    135deg,
    rgb(0 155 190 / 10%) 0%,
    rgb(253 121 51 / 10%) 100%
  );
}
/* Home page */
.wm-box-count .col-inner {
background-color: color-mix(in oklab, #009bbe 80%, transparent);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  padding: 30px;
  border-radius: 15px;
  border: 2px solid #e1e5e7;
  overflow: hidden;
  transition: 0.5s;
}
.wm-box-count .col-inner .number p {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 0;
  color: #ffffffc2;
  transition: 0.5s;
}

.wm-box-count .col-inner .icon-hero p{
	background-color: color-mix(in oklab, #fff 20%, transparent);
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 99px;
    color: #fff;
    position: absolute;
    top: 40px;
    right: 25px;
	transition: 0.3s;
}
.wm-box-count .col-inner:hover .icon-hero p{
	transform: scale(1.2);
}
.wm-box-count .col-inner:hover {
  box-shadow: var(--custom-box-shadow);
  border: 2px solid var(--primary-color);
}
.wm-box-count .col-inner:hover .icon-hero p{
	background-color: color-mix(in oklab, #fff 30%, transparent);
}
.wm-box-count .col-inner:hover .number p {
  color: #fff;
}
.wm-bage {
  width: 275px;
  background: rgb(25 156 216 / 10%);
  border-radius: 99px;
  padding: 5px 9px;
}
.wm-bage p {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0;
}
.wm-commitment .col-inner {
  box-shadow: var(--custom-box-shadow);
  border-radius: 15px;
  transition: 0.5s;
	overflow: hidden;
}
.wm-commitment .col-inner:hover {
  box-shadow: var(--cus-hover-shadow);
}
.wm-commitment .col-inner .txt{
	background-color: 
 color-mix(in oklab, #009bbe 80%, transparent);
	padding: 20px;
}
.wm-commitment .cm .txt, .wm-box-count .cm .col-inner{
	background-color: color-mix(in oklab, #fd7933 85%, transparent) !important;
}
.wm-commitment .col-inner .txt h3{
	margin-bottom: 0;
    margin-top: 10px;
}
.wm-commitment .col-inner .text p{
	padding: 20px;
}
.wm-commitment .icon {
  color:#fff;
      background-color: 
 color-mix(in oklab, #fff 20%, transparent);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  transition: 0.5s;
	    margin-left: 0;
}
.wm-commitment .col-inner:hover .icon {
  transform: scale(1.2);
}
.wm-commitment .icon p {
  margin-bottom: 0;
}
.wm-commitment .icon svg {
  width: calc(0.25rem * 12);
  height: calc(0.25rem * 12);
  margin-top: 7px;
}
.wm-cta .cm p {
  margin-bottom: 0;
  font-weight: 600;
}
.wm-cta .cm .col-inner {
  background-color: color-mix(in oklab, #fcfcfc 15%, transparent);
  padding: 25px 30px;
  border-color: color-mix(in oklab, #fcfcfc 20%, transparent);
  border-radius: 15px;
  border-radius: 15px;
  border-width: 1px;
  border-style: solid;
  outline-color: #009bbe;
  transition: 0.3s;
}
.wm-cta .cm .col-inner:hover {
  background-color: color-mix(in oklab, #fcfcfc 25%, transparent);
}

.wm-cta .txt-ic {
  margin-bottom: 10px;
}
.wm-cta .txt-ic svg {
  margin-right: 10px;
}
.wm-technician .col-inner {
  box-shadow: var(--custom-box-shadow);
  border-radius: 15px;
  transition: 0.5s;
}
.wm-technician .col-inner:hover {
  box-shadow: var(--cus-hover-shadow);
}
.wm-technician .col-inner .box-image {
  background: linear-gradient(
    135deg,
    rgb(0 155 190 / 10%) 0%,
    rgb(253 121 51 / 10%) 100%
  );
  padding: 15px;
  border-radius: 99px;
  transition: 0.5s;
	width: 75% !important;
}
.wm-technician .col-inner:hover .box-image {
  transform: scale(1.1);
}
.wm-technician .col-inner .box-image img{
	    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 99px;
}
.wm-technician .star-ex,
.wm-reviews .star-r {
  color: #fd7933;
}
.wm-technician .star-ex svg,
.wm-reviews .star-r svg {
  fill: currentcolor;
  margin-right: 3px;
}
.wm-reviews .col-inner {
  box-shadow: var(--custom-box-shadow);
  border-radius: 15px;
  transition: 0.5s;
}
.wm-reviews .col-inner:hover {
  box-shadow: var(--cus-hover-shadow);
}
.wm-reviews .col-inner .box-image {
  width: 0 !important;
}
.wm-reviews .col-inner .box-image div {
  width: 68px;
  height: 68px;
}
.wm-reviews .col-inner .box-image img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 99px;
}

.wm-blog-service .is-divider,
.blog-archive is-divider {
  display: none;
}
.wm-blog-service .col-inner,
.blog-archive .col-inner {
  overflow: hidden;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: var(--custom-box-shadow);
  transition: 0.5s;
}
.wm-blog-service .col-inner:hover,
.blog-archive .col-inner:hover {
  box-shadow: var(--cus-hover-shadow);
}
.wm-blog-service .col-inner .box-text,
.blog-archive .col-inner .box-text {
  padding: 10px 20px;
}
.wm-blog-service .col-inner .box-text h5,
.blog-archive .col-inner .box-text h5 {
  transition: 0.5s;
}
.wm-blog-service .col-inner:hover .box-text h5,
.blog-archive .col-inner:hover .box-text h5 {
  color: var(--primary-color);
}
.wm-blog-service .col-inner:hover .box-text .acf-phone-button .button {
  color: #fff;
  background-color: var(--primary-color);
  transform: translateY(-2px);
}
.white-button {
  border-radius: 8px;
  background-color: #00000000 !important;
  color: #000 !important;
  box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px !important;
}
.white-button:hover {
  transform: translateY(-2px);
}
/* Info Table Styles */
.wm-blog-service .acf-info-table {
  margin-top: 15px;
  padding: 0;
}

.wm-blog-service .acf-info-table .info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.wm-blog-service .acf-info-table .info-item:last-child {
  margin-bottom: 0;
}

.wm-blog-service .checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #e3f2fd;
  color: #1976d2;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 10px;
  font-size: 12px;
  font-weight: bold;
  margin-top: 2px;
}

.wm-blog-service .info-text {
  color: #555;
  flex: 1;
}

/* Phone Button Styles */
.wm-blog-service .acf-phone-button {
  margin-top: 20px;
}

.wm-blog-service .acf-phone-button .button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgb(231 231 231);
  box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
  color: #000;
  text-transform: capitalize;
}

.wm-blog-service .acf-phone-button .button svg {
  width: 18px;
  height: 18px;
}

.wm-blog-service .acf-phone-button .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* Slider */
.flatsome-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.flatsome-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.flatsome-carousel-slide {
  flex-shrink: 0;
  width: 100%;
  padding: 0 15px;
}

@media (min-width: 768px) {
  .flatsome-carousel-slide {
    width: 50%;
  }
}

@media (min-width: 1024px) {
  .flatsome-carousel-slide {
    width: 33.333%;
  }
}

.flatsome-carousel-wrapper .post-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.flatsome-carousel-wrapper .post-item:hover {
  transform: translateY(-5px);
}

.flatsome-carousel-wrapper .image-cover img {
  transition: transform 0.3s ease;
}

.flatsome-carousel-wrapper .post-item:hover .image-cover img {
  transform: scale(1.05);
}

.carousel-nav-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 10;
  color: #333;
}

.carousel-nav-btn:hover {
  background: #ff6b6b;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev {
  left: -40px;
}

.carousel-nav-btn.next {
  right: -55px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: #ff6b6b;
  width: 30px;
  border-radius: 6px;
}
.post-sidebar .widget-area {
  position: sticky;
  top: 110px;
  transition: 0.5s;
}
.p-l-sidebar {
  padding: 10px 20px 10px 20px;
  border-radius: 10px;
  border: 1px solid rgb(222, 222, 222);
}
/* Form */
.select-resize-ghost,
.select2-container .select2-choice,
.select2-container .select2-selection,
input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea,
input[type="submmit"] {
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px !important;
  font-size: 14px;
  font-weight: 600;
}
input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px #fff, 0 0 0 4px rgba(0, 155, 190, 0.5);
}
.service-form {
  width: 60%;
  margin: 0 auto;
  padding: 20px 30px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: var(--custom-box-shadow);
}
.service-form .form-group {
  display: flex;
  gap: 15px;
}
.service-form .form-group p {
  width: 100%;
}
.wpcf7-spinner,
.absolute-footer {
  display: none;
}
.service-form .wpcf7-submit {
  width: 100%;
  border-radius: 10px;
  text-transform: math-auto;
}

/* Footer */
.wm-footer h3 {
  color: #fff;
  margin-bottom: 0;
  margin-left: 10px;
}
.wm-footer .ux-menu-link__link {
  color: #bababa !important;
  border-bottom: unset !important;
  padding: 0 !important;
  min-height: 30px !important;
}
.wm-footer .ux-menu-link__link:hover {
  color: #fff !important;
}
.wm-footer .contact-ic svg {
  margin-right: 10px;
}
.wm-footer .contact-ic li {
  margin-left: 0 !important;
  align-items: center;
}
.post-share-wrapper {
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid #eee;
}

.share-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
}

.share-button:hover {
  background: #f5f5f5;
  border-color: #bbb;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-button i {
  font-size: 16px;
}

.facebook-share:hover {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
}

.twitter-share:hover {
  background: #1da1f2;
  color: #fff;
  border-color: #1da1f2;
}

.email-share:hover {
  background: #ea4335;
  color: #fff;
  border-color: #ea4335;
}

.copy-link:hover {
  background: #34a853;
  color: #fff;
  border-color: #34a853;
}
.wm-album .box-image{
	border-radius: 15px;
}
.wm-br img{
	    background-color: #fff;
    border-radius: 15px;
}
@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
	.flex-right{
		flex: unset !important;
	}
  .wm-blog-service .acf-info-table .info-item {
    font-size: 13px;
  }

  .wm-blog-service .acf-phone-button .button {
    font-size: 14px;
    padding: 10px 16px;
  }
  .carousel-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .carousel-nav-btn.prev {
    left: 10px;
  }

  .carousel-nav-btn.next {
    right: 10px;
  }
  .share-buttons {
    flex-direction: column;
  }

  .share-button {
    width: 100%;
    justify-content: center;
  }
	.is-full-height{
		height: unset !important;
	}
	.wm-technician .col-inner .box-image {
		width: 52% !important;
	}
	.wm-reviews .col-inner .box-image, .service-form{
		width: 100% !important;
	}
}
