/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* 1. Khai báo font */
@font-face {
    font-family: 'iCiel BCCubano';
    src: url('/wp-content/themes/flatsome-child/assets/fonts/iCielBCCubano-Normal.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.nav>li.active>a{
	color: #235DA7;
}
h1, h2, h3 {
    font-family: 'iCiel BCCubano', sans-serif;
}
.tag-label, .has-hover:hover .tag-label{
	background-color: transparent;
}
/* Header */
#header {
	height: 128px;
    background: linear-gradient(to right, #235DA7, #61A6FF);
}

.home #header {
    height: auto;
}
.header-wrapper {
    position: fixed;
    top: 16px;
    left: 48px;
	  right: 48px;
		width: auto;
}

.header-inner {
    background-color: #FEFEFE;
    border-radius: 100px; 
    padding: 0 30px; 
    margin: 0 auto; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
}
.header-bg-color.fill {
    background-color: transparent !important;
}
.tieu-de h2{
	color: #235DA7;
	font-size: 40px;
	text-transform: uppercase;
	margin-bottom: 24px;
	font-weight: 400;
}
.woocommerce-variation-price{
	display: none;
}
.tieu-de{
	width: 100%;
	text-align: center;
}
@media (max-width: 549px) {
    .tieu-de h2 {
        font-size: 28px;
    }
}
.product-small .category {
	display: none;
}
.gallery-home .box-image img{
	height: 64px;
	object-fit: contain;
}
.tab-home .nav-box>li.active>a,.tab-home .nav-pills>li.active>a{
	background-color: #F9A51E;
	color: #fff;
}
.tabbed-content .nav{
	background-color: #F5F6F8;
	width: fit-content;
	margin: 0 auto;
	border-radius: 96px;
	padding: 4px 6px;
}
.tab-home .nav > li > a{
	padding: 8px 24px;
	text-transform: none;
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
	color: #235DA7;
}
/* home */
.sec-category-banner{
	border-bottom: 10px solid #235DA7;
}
.category-banner-home{
	margin-bottom: -200px;
}
@media (max-width: 549px) {
    .sec-category-banner{
	border-bottom: 2px solid #235DA7;
}
.category-banner-home{
	margin-bottom: 0px;
}
}
/* Footer */
.contact-card {
    color: white;
}

.info-row {
    display: flex;
    margin-bottom: 16px;
    line-height: 22px;
    font-size: 16px; 
}

.info-row:last-child {
    margin-bottom: 0;
}

.label {
    font-weight: bold;
    min-width: 100px; 
}

.content {
    flex: 1;
}
.highlight {
    color: #F9A51E; 
    font-weight: bold;
}
#footer h2{
	font-size: 20px;
	margin-bottom: 16px;
}
.row-footer-divider{
	margin-top: -90px;
	border-bottom: 1px solid #FEFEFE25;
	margin-bottom: 16px;
}
.follow-icons .icon-facebook::before,
.follow-icons .icon-instagram::before,
.follow-icons .icon-tiktok::before,
.follow-icons .icon-youtube::before {
    content: "";
    display: inline-block;
    width: 30px; 
    height: 30px;
    background-color: currentColor;
}

.follow-icons .icon-facebook::before {
    -webkit-mask: url('/wp-content/uploads/2026/04/tai-xuong-6.svg') no-repeat center / contain;
    mask: url('/wp-content/uploads/2026/04/tai-xuong-6.svg') no-repeat center / contain;
}

.follow-icons .icon-instagram::before {
    -webkit-mask: url('/wp-content/uploads/2026/04/tai-xuong-4.svg') no-repeat center / contain;
    mask: url('/wp-content/uploads/2026/04/tai-xuong-4.svg') no-repeat center / contain;
}

.follow-icons .icon-tiktok::before {
    -webkit-mask: url('/wp-content/uploads/2026/04/tai-xuong-3.svg') no-repeat center / contain;
    mask: url('/wp-content/uploads/2026/04/tai-xuong-3.svg') no-repeat center / contain;
}

.follow-icons .icon-youtube::before {
    -webkit-mask: url('/wp-content/uploads/2026/04/tai-xuong-5-1.svg') no-repeat center / contain;
    mask: url('/wp-content/uploads/2026/04/tai-xuong-5-1.svg') no-repeat center / contain;
}
#footer .dark .social-icons .button.is-outline, #footer .button.icon:hover, #footer .social-icons .button.icon:not(.is-outline){
	border-color: transparent!important;
	padding: 0;
}
.social-icons .button.icon:hover {
    background-color: transparent !important; 
}

.social-icons .button.facebook:hover,
.social-icons .button.instagram:hover,
.social-icons .button.tiktok:hover,
.social-icons .button.youtube:hover {
    color: currentColor !important;
}

.social-icons .button.icon:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}
/* Slide Post*/
.post-slider .flickity-page-dots .dot {
    margin: 0;
    border-radius: 0;
    width: 177px;
    background-color: #FFEDD0;
    opacity: 1;
}

.post-slider .flickity-page-dots .dot:first-child {
    border-radius: 60px 0 0 60px;
}


.post-slider .flickity-page-dots .dot:last-child {
    border-radius: 0 60px 60px 0;
}

.post-slider .flickity-page-dots .dot.is-selected {
    background-color: #235DA7;
}

.slider-nav-light .flickity-page-dots .dot {
    background-color: #fff;
}

.slider-nav-light .flickity-page-dots .dot.is-selected {
    background-color: #F9A51E;
    border-color: #F9A51E;
}
.row-danh-muc{
	border-bottom: 2px solid #F9A51E;
}
.custom-product-archive{
	padding: 0 48px;
}
.tgs-sp-summary__price span.amount.woocommerce-Price-amount{
	color: #F9A51E;
	font-size: 32px;
	font-weight: 700;
	line-height: 40px;
}
.tgs-sp-summary__price .woocommerce-Price-amount {
    display: inline-block;
    vertical-align: baseline;
}
.tgs-sp-summary__price del .amount{
	text-decoration: line-through;
}
.variations tr{
	display: flex;
	align-items: center;
}
.variations label{
	font-weight: 400;
}
.woo-selected-variation-item-name{
	display: none!important;
}
.tgs-sp-summary__intro ul li{
	margin-left: 40px;
}
.tgs-single-product__top button{
	margin: 0!important;
}
.tab-tu-van{
	border-radius: 24px;
	background: #FFF1DB;
	padding: 36px 21px;
}
.tab-tu-van .nav-line-bottom span{
	font-family: 'iCiel BCCubano', sans-serif;
	font-size: 24px;
	font-weight: 400;
}
.tab-tu-van .nav-line-bottom{
	justify-content: space-between;
	margin: 0;
	width: 100%;
	flex-wrap: nowrap;
}
.tab-tu-van .nav{
	background-color: transparent;
}
.tab-tu-van .nav-line-bottom .tab{
	width: 100%;
	text-align: center;
}
.nav-line-bottom>li>a:before{
	background-color: #F9A51E;
	height: 6px;
}
.tab-tu-van .nav-line-bottom:before{
	content: "";
	width: 100%;
	position: absolute;
	bottom: 4px;;
	background-color: #FFDCA4;
	height: 2px;
}
/* Xóa border-top của item đầu tiên */
.cau-hoi-thuong-gap .accordion-item:first-child .accordion-title {
    border-top: none;
}
.cau-hoi-thuong-gap .toggle{
	right: 0;
	left: auto;
	top: 24px;
}
.accordion-title.active{
	background-color: transparent;	
	padding-bottom: 0;
	border-color: #DEDEDE;
}
.accordion-title{
	padding: 24px 0px;
	border-top: 1.5px solid #DEDEDE;
}
.accordion-inner{
	padding: 0;
	padding-top: 16px;
}
.checkout-page-title, .wc-empty-cart-message{
	display: none;
}
.tgs-sp-faq-content .accordion-title span{
	font-weight: 700;
	color: #000;
}
.tgs-sp-faq-content .accordion-title.active span{
	color: #235DA7;
}
.tgs-sp-faq-content p{
	color: #000;
}
@media (max-width: 567px){
	.tgs-sp-summary__price span.amount.woocommerce-Price-amount{
		font-size: 20px;
	}
}
/* ========================================
   CSS dành cho Contact Form 7
   Copy toàn bộ phần này vào CSS tùy chỉnh
   của WordPress (Appearance > Customize > Additional CSS)
   hoặc file style.css của theme
   ======================================== */
 
/* --- Wrapper ngoài của form --- */
.wpcf7-form{
    margin: 0;
}
.wpcf7-form-wrapper,
.tim-sua-form-wrapper {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  margin: 0 auto;
  border: 1px solid #F9A51E;
}
 
/* --- Tiêu đề form --- */
.tim-sua-form-wrapper .form-title {
  font-family: 'iCiel BCCubano', sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #F9A51E;
  text-transform: uppercase;
  margin: 0 0 16px 0;
}
 
/* --- Label nhỏ trên dropdown --- */
.tim-sua-form-wrapper .wpcf7-form-control-wrap label,
.tim-sua-form-wrapper .field-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}
 
/* --- Dropdown (select) --- */
.tim-sua-form-wrapper .wpcf7-select,
.tim-sua-form-wrapper select {
  width: 100%;
  height: 48px;
  border: 2px solid #e6e6e6;
  border-radius: 8px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 16px;
  color: #8C8D9F;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
 
.tim-sua-form-wrapper .wpcf7-select:focus,
.tim-sua-form-wrapper select:focus {
  outline: none;
  border-color: #f5a623;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
  color: #333;
}
 
/* --- Label "Nhu cầu:" --- */
.tim-sua-form-wrapper .nhu-cau-label {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin: 0px 0 16px 0;
  display: block;
}
 
/* --- Nhóm checkbox --- */
.tim-sua-form-wrapper .wpcf7-checkbox,
.tim-sua-form-wrapper .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
 
/* --- Mỗi item checkbox --- */
.tim-sua-form-wrapper .wpcf7-list-item,
.tim-sua-form-wrapper .checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 0;
}
 
.tim-sua-form-wrapper .wpcf7-list-item label,
.tim-sua-form-wrapper .checkbox-item label {
  font-size: 14px;
  color: #333;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
 
/* --- Ô checkbox tùy chỉnh --- */
.tim-sua-form-wrapper .wpcf7-list-item input[type="checkbox"],
.tim-sua-form-wrapper input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 1.5px solid #d0c4b0;
  border-radius: 5px;
  background: #fff;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
  margin: 0;
}
 
.tim-sua-form-wrapper .wpcf7-list-item input[type="checkbox"]:checked,
.tim-sua-form-wrapper input[type="checkbox"]:checked {
  background: #f5a623;
  border-color: #f5a623;
}
 
.tim-sua-form-wrapper .wpcf7-list-item input[type="checkbox"]:checked::after,
.tim-sua-form-wrapper input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
 
/* --- Nút submit "XEM KẾT QUẢ" --- */
.tim-sua-form-wrapper .wpcf7-submit,
.tim-sua-form-wrapper input[type="submit"],
.tim-sua-form-wrapper button[type="submit"] {
  width: 100%;
  padding: 16px;
  margin: 0px;
  background: #f5a623;
  color: #1a3a6b;
  line-height: 1;
  border: none;
  border-radius: 8px;
  font-family: 'iCiel BCCubano', sans-serif;
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.35);
}
 
.tim-sua-form-wrapper .wpcf7-submit:hover,
.tim-sua-form-wrapper input[type="submit"]:hover,
.tim-sua-form-wrapper button[type="submit"]:hover {
  background: #e8960f;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.45);
}
 
.tim-sua-form-wrapper .wpcf7-submit:active,
.tim-sua-form-wrapper input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.3);
}
 
/* --- Ẩn spinner loading của CF7 --- */
.wpcf7 .wpcf7-spinner {
  display: none !important;
}
 
/* --- Thông báo response của CF7 --- */
.wpcf7-response-output {
  border-radius: 10px !important;
  font-size: 13px !important;
  margin-top: 16px !important;
  padding: 10px 14px !important;
  font-family: 'Be Vietnam Pro', sans-serif !important;
}
 
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
  #header {
    height: auto;
  }

  .header-wrapper {
    top: 10px;
    left: 12px;
    right: 12px;
  }

  .header-inner {
    padding: 0 16px;
    border-radius: 28px;
  }

  #main,
  #wrapper,
  #content {
    overflow-x: clip;
  }

  .tabbed-content .nav {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding: 4px;
    border-radius: 24px;
  }

  .tab-home .nav > li {
    flex: 0 0 auto;
  }

  .tab-home .nav > li > a {
    padding: 8px 16px;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
  }

  .custom-product-archive {
    padding: 0 16px;
  }

  .tgs-sp-summary__intro ul li {
    margin-left: 20px;
  }

  .tgs-sp-summary__price span.amount.woocommerce-Price-amount {
    font-size: 24px;
    line-height: 1.25;
  }

  .tgs-single-product__top button {
    min-height: 40px;
  }

  .variations tr {
    align-items: flex-start;
    gap: 8px;
  }

  .variations td,
  .variations th {
    display: block;
    width: 100%;
  }

  .tab-tu-van {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .tab-tu-van .nav-line-bottom {
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .tab-tu-van .nav-line-bottom::-webkit-scrollbar,
    .tabbed-content .nav::-webkit-scrollbar {
    display: none;
  }

  .tab-tu-van .nav-line-bottom .tab {
    min-width: max-content;
    width: auto;
    flex: 0 0 auto;
  }

  .tab-tu-van .nav-line-bottom span {
    font-size: 18px;
    white-space: nowrap;
  }

  .nav-line-bottom>li>a:before {
    height: 4px;
  }

  .accordion-title {
    padding: 18px 0;
  }

  .wpcf7-form-wrapper,
  .tim-sua-form-wrapper {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .tim-sua-form-wrapper .form-title {
    font-size: 20px;
    line-height: 1.2;
  }

  .tim-sua-form-wrapper .wpcf7-select,
  .tim-sua-form-wrapper select {
    height: 44px;
    font-size: 15px;
  }

  .tim-sua-form-wrapper .wpcf7-submit,
  .tim-sua-form-wrapper input[type="submit"],
  .tim-sua-form-wrapper button[type="submit"] {
    padding: 14px 16px;
    font-size: 16px;
  }

  .info-row {
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    line-height: 20px;
  }

  .label {
    min-width: 0;
  }

  #footer h2 {
    font-size: 18px;
    line-height: 1.3;
  }

  .row-footer-divider {
    margin-top: 0;
  }

  .post-slider .flickity-page-dots .dot {
    width: 64px;
  }

  .gallery-home .box-image img {
    height: 56px;
  }


}