/*
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.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
@font-face{
    font-family:avertaBold;
    src:url("fonts/AvertaDemoPE-ExtraBold.otf")
}
@font-face{
    font-family:averta;
    src:url("fonts/AvertaDemoPECuttedDemo-Regular.otf")
}
body {
    color: #222;
    overflow-x: hidden;
    font-size: 16px;
    position: relative;
    font-family: 'averta', sans-serif;
    margin: 0 auto;
    color: #222;
}

.header-nav-main.nav > li > a {
    font-size: 16px;
    display: inline-block;
    background-color: transparent;
    text-transform: uppercase;
    font-family: avertaBold;
    color: #006838;
    text-shadow: none;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    -o-transition: all ease 0.5s;
    -ms-transition: all ease 0.5s;
    transition: all ease 0.5s;
}


header .hotline {
    font-size: 16px;
    line-height: 25px;
    text-align: center;
    font-weight: bold;
    color: #fff;
    background-image: url(images/btn-image.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 5px 15px;
    background-color: transparent;
    border-radius: 0;
    background-position: center center;
}
.hotlinefooter {
        background: #006838;
    background: -moz-linear-gradient(left, #2c2551 0%, #56499c 52%, #2c2551 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, #2c2551), color-stop(52%, #56499c), color-stop(100%, #2c2551));
    background: -webkit-linear-gradient(left, #2c2551 0%, #56499c 52%, #2c2551 100%);
    background: -o-linear-gradient(left, #2c2551 0%, #56499c 52%, #2c2551 100%);
    background: -ms-linear-gradient(left, #2c2551 0%, #56499c 52%, #2c2551 100%);
    background: linear-gradient(to right, #2c2551 0%, #56499c 52%, #2c2551 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2c2551', endColorstr='#2c2551', GradientType=1 );
    color: #fff;
    font-size: 25px;
    font-weight: bold;
}
h1, h2, h3, h4, h5, h6{
    font-family: averta;
}

footer h3{
    text-transform: uppercase;
    position: relative;
    color: #006838;
    font-size: 18px;
}
footer .ux-menu .ux-menu-link__link{
    padding: 0px;
    min-height: 0px;
    color: #555;
}
footer .ux-menu{
    padding: 15px 0px
}
footer .absolute-footer{
    border-top: 2px solid #006838;
    color: #333;
}
footer .button.icon{
    border: 0px
}
footer .icon-facebook{
    color: #3b5997;
}
footer .icon-youtube{
    color: #de332c;
}
footer .icon-twitter{
    color: #29c5f6;
}
footer .icon-linkedin{
    color: #006dc0;
}
.section-title.section-title-center b{
    opacity: 0
}
.section-title.section-title-center .section-title-main{
    color: #006838;
    text-transform: uppercase;
    font-size: 30px;
    font-family: avertaBold;
    background: -webkit-linear-gradient(#00833f, #006838);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title.section-title-center .section-title-main:after, .section-title.section-title-center .section-title-main:before {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
}
.section-title.section-title-center .section-title-main:before {
    top: 100%;
    left: 50%;
    background-color: #E21D24;
}
.section-title.section-title-center .section-title-main:after {
    bottom: -20px;
    right: calc(50% - 20px );
    background-color: #006838;
}
.section-title.section-title-center{
    margin-bottom: 45px
}
.flickity-prev-next-button{
    opacity: 1
}

.flickity-prev-next-button svg {
    border-radius: 0px !important;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    height: 45px;
    border: 0px !important;
    width: 25px;
    padding: 3px;
}
#top-bar ul li a{
    font-size: 14px;
    color: #fff;
}
#top-bar ul li a i {
    color: #E21D24;
    margin-right: .5rem!important;
}
#top-bar .flex-right {
    margin-left: 0px;
    width: 100% !important;
}
.dark.nav-dropdown.nav-dropdown-bold>li.nav-dropdown-col, .dark.nav-dropdown.nav-dropdown-simple>li.nav-dropdown-col, .nav-dropdown.dark .nav-column>li>a, .nav-dropdown.dark>li>a, .nav-dark .nav>li.header-divider, .nav-dark .header-divider:after, .nav-dark .nav-divided>li+li>a:after {
    border-color: rgba(255,255,255,1);
}
#top-bar ul li{
    padding: 0px 20px 0px 15px
}
#top-bar ul li a:hover{
        color: #E21D24;
}

.box3 .icon-box{
    background-color: #fff;
    box-shadow: 0 0 3px rgb(0 0 0 / 30%);
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
    padding: 10px;
        margin-bottom: 1.5rem!important;
}
input[type='email'], input[type='date'], input[type='search'], input[type='number'], input[type='text'], input[type='tel'], input[type='url'], input[type='password'], textarea, select, .select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection{
    display: block;
    width: 100%;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    box-shadow: none;
}
label, legend{
    font-weight: 400
}
.wpcf7-submit.button.alert{
    border-radius: 3px;
    background-color: #e21d24
}
.button, button, input[type='submit'], input[type='reset'], input[type='button']{
    font-weight: 400
}
.box-blog-post .is-divider{
    display: none;
}
.product-small.box {
    position: relative;
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #eee;
    transition: all ease 0.3s;
}
.product-small.box:hover {
    box-shadow: 0 0 15px rgb(0 0 0 / 20%);
}
.product-small.box .box-text-products{
    padding: 10px 15px;
    border-top: 1px solid #eee;
    background-color: #f7f7f7;
}
.product-small.box:hover .box-text-products{
    background-color: #E21D24;
}
.shop-page-title.featured-title .title-bg{
    display: none;
}
.woocommerce-loop-product__title{
    font-size: 14px;
    color: #222;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'avertaBold';
    min-height: 35px;
    padding-right: 30px;
    position: relative;
}
.product-small.box .woocommerce-loop-product__title:before {
    position: absolute;
    content: "\f105";
    font-family: FontAwesome;
    top: 0px;
    right: 10px;
    z-index: 4;
    font-size: 20px;
}
.product-small.box .category  {
    color: #333;
    font-size: 16px;
    opacity: 1;
    margin-bottom: 10px
}
.product-small.box:hover p,.product-small.box:hover a,.product-small.box:hover span{
    color: #fff
}
.product-section-title{
    text-align: center;
}
.price-wrapper span.amount{
    color: red
}
aside.widget span.widget-title{
    background-color: #006838;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    padding: 10px 15px;
    font-size: 16px;
    display: block;
}
aside.widget{
    border: 1px solid #006838;
}
aside.widget > div,aside.widget > ul{
    padding: 15px
}
.widget .is-divider{
    display: none;
}


.category .col.post-item .post-title {
    letter-spacing: 0.6px;
    font-size: 18px
}
.category .post-item{
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.category .post-item .cat-label{
    color: #dd3333;
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    line-height: 1.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 1
}
.category .post-item .post-meta {
    font-weight: 700;
    color: #ccc;
    color: #ababab;
    font-size: 12px;
    opacity: 1;
}
.post-item .box-text {
    background: #fff;
    border-radius: 0px 8px 8px 0px;
}
.bg-light {
    background-color: #f8f9fa!important;
}
.woocommerce-breadcrumb {
    background-color: transparent;
    padding: 10px 0;
    font-weight: 400
}
.breadcrumbs a{
    color: #222
}
.blog-archive{
    padding-top: 0px
}
.archive-page-header h1{
    color: #E21D24;
    text-transform: uppercase;
    font-size: 35px;
    font-family: avertaBold;
    background: -webkit-linear-gradient(#b5171d, #E21D24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-top: 20px;
    border-bottom: 1px solid #f8f9fa;
    padding-bottom: 20px;
    margin-bottom: 0px
}
#top-bar .search-field{
    box-shadow: none;
    border-radius: 3px 0px 0px 3px;
        border: 0px;
}
#top-bar .ux-search-submit{
    background: #fff;
    color: #f02609;
    border: 0px;
    border-radius: 0px 3px 3px 0px;
    box-shadow: none;
    margin-left: -5px;
}
.product-info .row .col {
    padding-bottom: 0px
}
#dathang{
    border-radius: 5px
}

.dvls_maps_sidebar,.dvls_maps_header{
    background: none !important
}

.dvls_maps_wrap input.dvls-submit {
    border: 0;
    background: #000000 !important;
    height: 35px;
    padding: 0 15px;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
}
.dvls_result_item {
    border:0px !important;
    background: none !important;
    padding: 2px 10px !important
}
.dvls_result_infor{
    overflow: hidden;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 13px;
    line-height: 15px;
}
.dvls_maps_row.dvls_maps_header{
    display: none
}
/* Container */
.cf7-custom {
  width: auto-flow; /* chỉnh theo cần */
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.1);
  font-family: "Helvetica Neue", Arial, sans-serif;
  color:#333;
  border: 1px solid #e6e6e6;
  padding: 0 16px 20px;
}

/* Header */
.cf7-custom .form-header{
  background: #e21d24; /* màu chính */
  color: #fff;
  font-weight: 600;
  padding: 14px 16px;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  font-size: 18px;
  margin: -1px -16px 12px; /* che viền */
}

/* Labels */
.cf7-custom .label{
  display:block;
  font-size: 14px;
  margin-bottom: 10px;
}

/* required star */
.cf7-custom .req{ color:#d9534f; margin-left:6px; font-weight:600;}

/* Inputs & textarea */
.cf7-custom .cf-input,
.cf7-custom .cf-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  font-size: 13px;
  margin-top:6px;
  outline: none;
  transition: border-color .12s, box-shadow .12s;
}

.cf7-custom .cf-input:focus,
.cf7-custom .cf-textarea:focus{
  border-color: #00683833;
  box-shadow: 0 0 0 2px rgba(0,104,56,0.06);
}

/* Textarea height */
.cf7-custom .cf-textarea {
  min-height: 90px;
  resize: vertical;
}

/* Checkbox group: 2 columns like hình */
.cf7-custom .cf-checkbox {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 8px;
}

.cf7-custom .cf-checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  color: #333;
}

/* Checkbox input styling (native) */
.cf7-custom .cf-checkbox input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #006838; /* modern browsers */
}

/* Submit button */
.cf7-custom .submit-wrap {
  text-align: center;
  margin-top: 14px;
}

.cf7-custom .cf-submit {
  background: #006838;
  color: #fff;
  border: none;
  padding: 10px 30px;
  font-size: 15px;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(0,0,0,0.05);
}

.cf7-custom .cf-submit:hover,
.cf7-custom .cf-submit:focus{
  opacity: 0.95;
  transform: translateY(-1px);
}

/* Placeholder color */
.cf7-custom ::placeholder {
  color: #bfbfbf;
  opacity: 1;
}

/* Mobile: responsive */
@media (max-width:420px){
  .cf7-custom{ width: calc(100% - 24px); padding: 0 12px 18px; }
}

.product-detail-with-form{ display:flex; gap:30px; align-items:flex-start; }
.product-detail-with-form .product-tabs-wrap{ flex:1; }
.product-detail-with-form .product-form-wrap{ width:360px; position:sticky; top:20px; }
@media(max-width:991px){
  .product-detail-with-form{ flex-direction:column; }
  .product-detail-with-form .product-form-wrap{ width:100%; position:static; margin-top:20px; }
}

/* Link cho tiêu đề & ảnh */
.tt-title-link{display:inline-block;color:inherit;text-decoration:none}
.tt-title-link:hover .hd-main{color:var(--tt-blue-dark)}
.tt-img-link{display:block}
.tt-img-link img{transition:transform .2s ease, box-shadow .2s ease}
.tt-img-link:hover img{transform:translateY(-2px);box-shadow:0 12px 28px rgba(10,74,166,.12)}
.tt-title-link:hover .hd-main { color:#db2928; } /* đỏ nhấn mạnh khi hover */
.tt-img-link img { transition:transform .25s ease, box-shadow .25s ease; }
.tt-img-link:hover img { transform:scale(1.02); box-shadow:0 10px 25px rgba(0,0,0,.15); }

/* Cặp nút CTA */
.tt-cta{display:flex;gap:10px;flex-wrap:wrap}
.tt-btn-secondary{
  background:transparent;color:var(--tt-blue);
  border:2px solid var(--tt-blue);border-radius:999px;
  padding:10px 16px;font-weight:700;line-height:1
}
.tt-btn-secondary:hover{background:var(--tt-blue);color:#fff}
