/*viền cột*/
.vien-cot {
  border: 1px solid #0077ff;
  padding: 20px;
  background: #fff;
}
/*hết viền cột

/*viền row
.vien-row {
border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px;

  
  min-height: 200px; 

  
  background: linear-gradient(135deg, #2FA4CF, #5EC4E6);

}
hết viền row*/

.fanaro-logo-box {
  background: rgba(255,255,255,0.28);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 18px 40px rgba(16, 78, 120, 0.12);
}

/*nền gradient cột
.column-gradient {
  background: linear-gradient(
    135deg,
    #7fe9ff 0%,
    rgb(40,171,226) 40%,
    #007cf0 100%
  );
  border-radius: 10px;
  color: #fff;
}*/

/*đếm số*/
.count-up::after {
  content: "+";
}

/*màu nền gradient*/
.bg-gradient-fanaro {
  background: linear-gradient(135deg, #0A4FA3, #28ABE2 50%, #7FFBFF);
}

/*màu chữ gradient*/
.text-gradient-highlight {
  background: linear-gradient(
    90deg,
    #003B8E 0%,   /* xanh đậm */
    #0F6FC2 35%,  /* xanh trung */
    #28ABE2 70%,  /* màu brand */
    #7FE3FF 100%  /* xanh sáng */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* làm chữ nổi hơn */
  text-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-weight: 100;
}

/*màu chữ gredient khác*/
.text-gradient-section1 {
  font-weight: 800; /* chữ dày hơn */
  font-size: 48px; /* chỉnh tùy bạn */

  background: linear-gradient(
    90deg,
    rgb(40,171,226) 0%,
    #6dd5fa 30%,
    #ffffff 55%,
    #6dd5fa 75%,
    rgb(40,171,226) 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  letter-spacing: 1px;
}



/*xuống dòng mobile*/
@media (max-width: 768px) {
  .row {
    display: flex;
    flex-direction: column;
  }

  .row > .col {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
  }
}

.text-gradient-fanaro {
  background: linear-gradient(
    90deg,
    #ffffff,
    #4fd1ff,
    #00bfff,
    #0077ff
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/*căn lề hai bên text mobile*/
.text-justify-mobile p,
.text-justify li {
  text-align: justify;
}

/* Nút NHẬN BÁO GIÁ */
/* ===== DESKTOP ===== */
#menu-item-20 > a {
  background: linear-gradient(135deg, #28abe2, #00d4ff);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 15px rgba(40,171,226,0.4);
  transition: all 0.3s ease;
  animation: glowPulse 2s infinite;
}

/* ===== HIỆU ỨNG ===== */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(40,171,226, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(40,171,226, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40,171,226, 0);
  }
}

/*css menu*/
/* ===== HEADER TỔNG ===== */
#header {
  box-shadow: none;
}

.header-main {
  background: #ffffff;
}

.header-inner {
  min-height: 84px;
}

/* ===== MENU CHÍNH ===== */
.header-nav-main > li > a {
  font-size: 16px;
  font-weight: 800;
  color: #3f4650;
  text-transform: uppercase;
  letter-spacing: 0;
  padding: 0 18px;
  line-height: 1;
}

.header-nav-main > li > a:hover,
.header-nav-main > li.active > a,
.header-nav-main > li.current-menu-item > a,
.header-nav-main > li.current-menu-parent > a {
  color: #1eb6ea;
}

/* căn menu gọn hơn */
.header-nav-main {
  gap: 2px;
}

/* ===== ICON MŨI TÊN DROPDOWN ===== */
.header-nav-main .icon-angle-down {
  font-size: 14px;
  opacity: 0.75;
}

/* Khôi phục dropdown Flatsome khi chạy trong Next.js (không còn runtime WordPress). */
.wordpress-header-shell .header-nav-main > li.has-dropdown:hover > .nav-dropdown,
.wordpress-header-shell .header-nav-main > li.has-dropdown:focus-within > .nav-dropdown,
.wordpress-header-shell .header-nav-main > li.current-dropdown > .nav-dropdown {
  left: -15px;
  right: auto;
  max-height: 420px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wordpress-header-shell .header-nav-main .nav-dropdown {
  top: 100%;
  min-width: 260px;
  padding: 18px 0;
  border: 1px solid rgba(15, 57, 79, 0.1);
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 57, 79, 0.18);
}

.wordpress-header-shell .header-nav-main .nav-dropdown > li > a {
  margin: 0;
  padding: 11px 22px;
  border-radius: 0;
  color: #4a4f55;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  text-transform: none;
}

.wordpress-header-shell .header-nav-main .nav-dropdown > li > a:hover,
.wordpress-header-shell .header-nav-main .nav-dropdown > li > a:focus-visible {
  color: #178fc5 !important;
  background: #eef9fd;
  outline: none;
}

/*tăng kích thước layout blog*/
/* Tăng chiều rộng trang danh mục */
.archive .row,
.blog .row,
.category .row {
  max-width: 1320px;
}

/*Ẩn 1 phần bài viết SP*/
/* Ẩn checkbox */
#readmore-toggle {
  display: none;
}

/* Nội dung bị giới hạn */
.readmore-content {
  max-height: 120px;
  overflow: hidden;
  position: relative;
}

/* Fade mờ cuối */
.readmore-content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

/* Khi bấm → mở full */
#readmore-toggle:checked ~ .readmore-content {
  max-height: none;
}

/* Ẩn fade */
#readmore-toggle:checked ~ .readmore-content::after {
  display: none;
}

/* Nút Xem thêm */
.readmore-btn {
  display: inline-block;
  margin-top: 10px;
  color: #1e73be;
  font-weight: 600;
  cursor: pointer;
}

/* 👉 QUAN TRỌNG: bấm xong thì ẩn luôn */
#readmore-toggle:checked ~ .readmore-btn {
  display: none;
}
/*hết ẩn*/

/*ẩn màu nền ảnh theo màu background đơn giản dùng cho logo khach hàng*/
.img-remove-bg {
  mix-blend-mode: multiply;
}







/* Footer có quạt xoay phía sau */
.fanaro-footer-fan-bg {
  position: relative;
  overflow: hidden;
}

/* QUẠT */
.fanaro-footer-fan-bg::after {
  content: "";
  position: absolute;

  right: 10px;
  bottom: -10px;

  width: 560px;
  height: 560px;

  background: url("/wp-content/uploads/2026/05/quat-quay-footer.png") no-repeat center;
  background-size: contain;

  opacity: 0.28;

  /* GIỮ NGUYÊN filter ở đây */
  filter: brightness(1.4) contrast(1.1) drop-shadow(0 0 30px rgba(255,255,255,0.3));

  /* QUAN TRỌNG */
  transform-origin: center center; /* tâm quay */
  transform: translateZ(0); /* fix giật + lệch */

  z-index: 0;
  pointer-events: none;

  animation: fanSpin 10s linear infinite;
}
@keyframes fanSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* hết Footer có quạt xoay phía sau */




/* FORM POPUP FANARO */
/* Áp dụng cho TẤT CẢ instance của form 1288 (o1, o2, o3...) */
[id^="wpcf7-f89-"] {
  background: linear-gradient(135deg, rgb(40,171,226), #6dd5fa);
  padding: 22px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  max-width: 550px;
}
/* khung popup Flatsome */
#nhan-bao-gia.lightbox-content {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 20px;
}
/* tiêu đề form */
[id^="wpcf7-f89-"] h3,
[id^="wpcf7-f89-"] .fanaro-form-title {
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/* mô tả */
[id^="wpcf7-f89-"] p {
  color: #fff;
  margin-bottom: 8px;
  font-size: 14px;
}
/* label */
[id^="wpcf7-f89-"] label {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 2px;
}
/* input/select/textarea */
[id^="wpcf7-f89-"] input,
[id^="wpcf7-f89-"] select,
[id^="wpcf7-f89-"] textarea {
  width: 100%;
  min-height: 36px;
  border-radius: 10px;
  border: none;
  background: #fff;
  padding: 8px 12px;
  font-size: 14px;
  box-shadow: none;
  margin-top: 4px;
}
/* textarea */
[id^="wpcf7-f89-"] textarea {
  min-height: 90px;
  resize: vertical;
}
/* focus */
[id^="wpcf7-f89-"] input:focus,
[id^="wpcf7-f89-"] select:focus,
[id^="wpcf7-f89-"] textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.35);
}
/* nút submit */
[id^="wpcf7-f89-"] input[type="submit"] {
  background: #06233d;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 999px;
  min-height: 44px;
  font-size: 15px;
  margin-top: 6px;
  cursor: pointer;
  animation: fanaroFormPulse 1.1s infinite;
}
[id^="wpcf7-f89-"] input[type="submit"]:hover {
  background: #02172a;
  transform: translateY(-1px);
}
/* response message */
[id^="wpcf7-f89-"] .wpcf7-response-output {
  color: #fff;
  border-color: #fff;
  margin: 10px 0 0;
  font-size: 12px;
}
/* loading spinner */
[id^="wpcf7-f89-"] .wpcf7-spinner {
  display: block;
  margin: 6px auto 0;
}
/* animation */
@keyframes fanaroFormPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.55); }
  70% { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
/* mobile */
@media only screen and (max-width: 549px) {
  [id^="wpcf7-f89-"] {
    padding: 18px;
    max-width: 92vw;
  }
  [id^="wpcf7-f89-"] h3,
  [id^="wpcf7-f89-"] .fanaro-form-title {
    font-size: 20px;
  }
  [id^="wpcf7-f89-"] input,
  [id^="wpcf7-f89-"] select,
  [id^="wpcf7-f89-"] textarea {
    font-size: 13px;
  }
}
/*hết form 7*/



/* BLOG Fix ảnh không bị crop nhưng vẫn giữ khung trên trang chủ*/
.box-blog-post .image-cover img {
  object-fit: contain !important;
  width: 100% !important;
  height: 100% !important;
}

/* Giảm khoảng cách giữa các bài trong widget blog_posts */
.widget .blog-post-inner,
.widget .box-blog-post,
.widget .col.post-item {
  margin-bottom: 10px !important;
  padding-bottom: 0 !important;
}

/* Xóa khoảng trắng mặc định của col trong Flatsome */
.widget .row .col.post-item {
  padding-bottom: 10px !important;
}

/* Ảnh nhỏ gọn, không crop */
.widget .box-blog-post .box-image {
  height: auto !important;
  max-height: 160px !important;
  margin-bottom: 5px !important;
  overflow: hidden !important;
}

.widget .box-blog-post .box-image img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 4px;
}

/* Tiêu đề sát ảnh hơn */
.widget .box-blog-post .post-title,
.widget .box-blog-post .post-title a,
.widget .box-blog-post h5 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  text-align: left !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

/* Giảm khoảng trắng trong box-text */
.widget .box-blog-post .box-text {
  padding-top: 5px !important;
  padding-bottom: 0 !important;
}

/* Ẩn đường kẻ / divider nếu có */
.widget .is-divider,
.widget .box-blog-post .is-divider {
  display: none !important;
}


/* Ẩn ảnh đại diện trong sidebar trên mobile */
@media only screen and (max-width: 549px) {

  #secondary .box-blog-post .box-image {
    display: none !important;
  }

}
/*HẾT BLOG*/

/* =====================================================
   FANARO CONTACT WIDGET – CSS
   Dán vào: Appearance → Customize → Additional CSS
   (hoặc WPCode → CSS Snippet)
====================================================== */

800&display=swap');

@keyframes fc-blink{0%,100%{opacity:1}48%{opacity:1}50%{opacity:.3}52%{opacity:1}}
@keyframes fc-glow{0%,100%{filter:brightness(1)}50%{filter:brightness(1.75) saturate(1.5)}}
@keyframes fc-shake{0%,100%{transform:rotate(0)}15%{transform:rotate(-20deg)}30%{transform:rotate(18deg)}45%{transform:rotate(-13deg)}60%{transform:rotate(10deg)}75%{transform:rotate(-6deg)}90%{transform:rotate(3deg)}}
@keyframes fc-bounce{0%,100%{transform:translateY(0)}35%{transform:translateY(-6px)}55%{transform:translateY(-3px)}}
@keyframes fc-pulse{0%{box-shadow:0 0 0 0 currentColor;opacity:.7}70%{box-shadow:0 0 0 9px transparent;opacity:0}100%{box-shadow:0 0 0 0 transparent;opacity:0}}

#fanaro-contact {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  font-family: 'Nunito', sans-serif;
}

.fc-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  position: relative;
}

.fc-label {
  background: #fff;
  color: #0b96d4;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .02em;
  padding: 0 14px;
  height: 46px;
  line-height: 46px;
  border-radius: 23px 0 0 23px;
  white-space: nowrap;
  box-shadow: -3px 0 12px rgba(0,150,212,.12);
  opacity: 0;
  transform: translateX(18px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
  border: 1.5px solid #cde8f8;
  border-right: none;
}

.fc-icon {
  width: 50px;
  height: 50px;
  border-radius: 50% 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  overflow: visible;
  transition: border-radius .35s ease, box-shadow .25s ease;
  animation: fc-blink 2.8s ease-in-out infinite, fc-glow 2.8s ease-in-out infinite;
}

.fc-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.fc-strip {
  width: 7px;
  height: 50px;
  border-radius: 6px 0 0 6px;
  flex-shrink: 0;
  transition: width .35s cubic-bezier(.4,0,.2,1), opacity .3s ease;
  animation: fc-blink 2.8s ease-in-out infinite, fc-glow 2.8s ease-in-out infinite;
}

/* Màu từng nút */
.fc-hotline   .fc-icon, .fc-hotline   .fc-strip { background: #00AEEF; animation-delay: 0s,    0s;    }
.fc-zalo      .fc-icon, .fc-zalo      .fc-strip { background: #0068FF; animation-delay: .65s,  .65s;  }
.fc-messenger .fc-icon, .fc-messenger .fc-strip { background: #0084FF; animation-delay: 1.3s,  1.3s;  }
.fc-email     .fc-icon, .fc-email     .fc-strip { background: #00C6A9; animation-delay: 1.95s, 1.95s; }

/* Vòng pulse bên ngoài icon */
.fc-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50% 0 0 50%;
  animation: fc-pulse 2.4s ease-out infinite;
}
.fc-hotline   .fc-icon::before { color: rgba(0,174,239,.55); animation-delay: 0s;    }
.fc-zalo      .fc-icon::before { color: rgba(0,104,255,.55); animation-delay: .65s;  }
.fc-messenger .fc-icon::before { color: rgba(0,132,255,.55); animation-delay: 1.3s;  }
.fc-email     .fc-icon::before { color: rgba(0,198,169,.55); animation-delay: 1.95s; }

/* Micro-animation icon */
.fc-hotline   .fc-icon svg { animation: fc-shake  2.6s ease-in-out infinite; animation-delay: .3s;   }
.fc-zalo      .fc-icon svg { animation: fc-bounce 2.4s ease-in-out infinite; animation-delay: .95s;  }
.fc-messenger .fc-icon svg { animation: fc-bounce 2.4s ease-in-out infinite; animation-delay: 1.6s;  }

/* =========================
   LABEL ẨN HOÀN TOÀN
========================= */
.fc-label{
  background:#fff;
  color:#0b96d4;
  font-weight:700;
  font-size:.8rem;
  letter-spacing:.02em;

  height:46px;
  line-height:46px;

  border-radius:23px 0 0 23px;
  white-space:nowrap;

  box-shadow:-3px 0 12px rgba(0,150,212,.12);

  border:1.5px solid #cde8f8;
  border-right:none;

  /* QUAN TRỌNG */
  width:0;
  max-width:0;
  padding:0;
  overflow:hidden;

  opacity:0;
  transform:translateX(18px);

  pointer-events:none;

  transition:
    opacity .3s ease,
    transform .3s ease,
    max-width .3s ease,
    padding .3s ease;
}

/* =========================
   HOVER TỪNG NÚT
========================= */
.fc-item:hover .fc-strip{
  width:0;
  opacity:0;
  animation:none;
}

.fc-item:hover .fc-icon{
  border-radius:0;
  animation:none;
  filter:brightness(1.06);
}

.fc-item:hover .fc-icon::before{
  animation:none;
  box-shadow:none;
}

.fc-item:hover .fc-icon svg{
  animation:none;
  transform:none;
}

.fc-item:hover .fc-label{
  opacity:1;
  transform:translateX(0);

  width:auto;
  max-width:220px;
  padding:0 14px;
}

/* Delay */
.fc-item:nth-child(1):hover .fc-label{ transition-delay:.04s; }
.fc-item:nth-child(2):hover .fc-label{ transition-delay:.09s; }
.fc-item:nth-child(3):hover .fc-label{ transition-delay:.14s; }
.fc-item:nth-child(4):hover .fc-label{ transition-delay:.19s; }

/* Hover từng item */
.fc-item:hover .fc-icon     { filter: brightness(1.18) saturate(1.3) !important; box-shadow: -5px 0 22px rgba(0,80,180,.3); }
.fc-item:hover .fc-icon svg { transform: scale(1.2) rotate(-6deg) !important; }

/* Tooltip */
.fc-tooltip {
  position: absolute;
  right: 58px;
  top: 50%;
  transform: translateY(-50%);
  background: #162534;
  color: #fff;
  font-size: .71rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s, transform .2s;
}
.fc-tooltip::after {
  content: '';
  position: absolute;
  left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #162534;
}
.fc-item:hover .fc-tooltip         { opacity: 1; transform: translateY(-50%) translateX(-6px); }
#fanaro-contact:hover .fc-tooltip  { display: none; }

/* Brand tag */
.fc-brand {
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #b0c8db;
  text-transform: uppercase;
  text-align: right;
  opacity: 0;
  transition: opacity .3s .2s;
}
#fanaro-contact:hover .fc-brand { opacity: 1; }

/*HẾT NÚT LIÊN HỆ*/

/* Quạt quay sản phẩm quạt trần*/
.hfan-img{
    position:relative;
    z-index:2;
    width:420px;
    height:420px;
    object-fit:contain;
    filter:drop-shadow(0 20px 60px rgba(11,61,110,.15));
    animation: fanSpin 12s linear infinite;
    transform-origin:center center;
}

/* Animation quay */
@keyframes fanSpin{
    from{
        transform:rotate(0deg);
    }
    to{
        transform:rotate(360deg);
    }
}

/* Quạt quay tròn trang chủ*/
.hero__orb img,
.hero__orb img[data-img="heroProduct"]{
    animation: fanRotate 12s linear infinite;
    transform-origin: center center;
    will-change: transform;
}

/* Keyframes quay */
@keyframes fanRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* hết quạt quay*/


