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

body {
    font-size: 1rem;
    line-height: 1.5;
}

h1 {
    font-size: 2.5em;
    line-height: 1.3;
    margin: 0 0 15px;
}
h2 {
    font-size: 2em;
    line-height: 1.3;
    margin: 0 0 15px;
}
h3 {
    font-size: 1.7em;
    line-height: 1.3;
    margin: 0 0 15px;
}
h4 {
    font-size: 1.4em;
    line-height: 1.3;
    margin: 0 0 20px;
}
h5 {
    font-size: 1.2em;
    line-height: 1.3;
    margin: 0 0 15px;
}
h6 {
    font-size: 1em;
    line-height: 1.3;
    margin: 0 0 15px;
    opacity: 1;
}
b, strong {
    font-weight: 700;
}
p:last-of-type {
    margin-bottom: 0;
}
.banner h1, .banner h2, .banner h3 {
    font-weight: 700;
}
.uppercase, h6, span.widget-title, th {
    letter-spacing: 0;
    line-height: 1.3;
}
h6, span.widget-title, th {
    text-transform: inherit;
}
blockquote, dl, figure, ol, p, pre, ul {
    margin: 0 0 15px;
}
form {
    margin: 0;
}
.justify p {
    text-align: justify;
}
.icon-box.icon-box-left,
.icon-box.icon-box-right {
    display: flex;
}
/*.icon-box.icon-box-left {*/
/*padding-left: 10px;*/
/*}*/
/*.icon-box.icon-box-right {*/
/*padding-right: 10px;*/
/*}*/
.icon-box.align-center {
    align-items: center;
}
.icon-box .icon-box-img img,
.icon-box .icon-box-img svg {
    padding: 0;
}
.button {
    margin: 0;
    font-weight: 400;
}
p:last-of-type {
    margin: 0;
}
.box-overlay.dark .box-text, .box-shade.dark .box-text {
    text-shadow: none;
}
.align-right {
    text-align: right;
}
.img.align-right {
    margin-left: auto;
}
.img.align-center {
    margin-left: auto;
    margin-right: auto;
}
.rd-20 img {
    border-radius: 20px;
}

/* Header */
#header {
    position: absolute;
    left: auto;
    right: auto;
}
#header .header-wrapper {
    box-shadow: none;
}
#header .header-wrapper.stuck {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .15);
}
#header .header-bg-color {
    background-color: transparent;
}
#header .stuck .header-bg-color {
    background-color: #ffffff;
}
.header-nav-main.nav-left {
    justify-content: center;
    padding-right: 30px;
}
.nav-column>li>a, .nav-dropdown>li>a, .nav-vertical-fly-out>li>a, .nav>li>a {
    color: #1e1e1e !important;
}
.nav-column li.active>a, .nav-column li>a:hover,
.nav-dropdown li.active>a, .nav-dropdown>li>a:hover,
.nav-vertical-fly-out>li.active>a, .nav-vertical-fly-out>li>a:hover,
.nav>li.active>a, .nav>li.current>a,
.nav>li>a.active, .nav>li>a.current, .nav>li>a:hover {
    color: var(--primary-color) !important;
}
.nav-dropdown-default {
    padding: 10px;
}

/* Footer */
.footer-wrapper {
    background: #ffffff;
}
.footer-wrapper .box {
    display: flex;
}
.footer-wrapper .box .box-image {
    max-width: 120px;
}
.footer-wrapper .box .box-text {
    flex: 1;
}
.footer-wrapper .absolute-footer {
    display: none;
}
button.back-to-top {
    border-radius: 0 !important;
    border: none !important;
    box-shadow: 0 0 15px #f2f2f2 !important;
    width: 45px;
    height: 45px;
    background-color: #ffffff !important;
    background-image: url("https://hirun.com.vn/wp-content/uploads/2025/09/to-top.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 20px !important;
    margin: 0;
}
button.back-to-top i {
    display: none;
}

/* Tin tức */
.single #main {
    background: #f2f2f2;
}
.single .blog-single {
    padding: 0 0 60px;
}
.single .blog-wrapper .container-inner {
    padding: 30px 60px;
    background: #ffffff;
    position: relative;
    z-index: 5;
    margin-top: -59px;
}
.single .rank-math-breadcrumb {
    margin: 0 0 60px;
}
.single .entry-header {
    border-bottom: 1px solid #e4e4e4;
}
.single .entry-header .entry-meta a {
    pointer-events: none;
}
.hirun-breadcrumb,
.hirun-categories-list {
    background: #ffffff;
    overflow: hidden;
}
.hirun-categories-list ul {
    padding: 0;
    margin: 0;
    text-align: center;
    overflow-y: hidden;
    white-space: nowrap;
}
.hirun-categories-list li {
    display: inline-block;
    list-style: none;
    margin: 0 10px;
}
.hirun-categories-list li a {
    position: relative;
    display: block;
    padding: 15px 0;
}
.hirun-categories-list li a:hover:after,
.hirun-categories-list li.active a:after {
    content: "";
    position: absolute;
    left: 50%;
    margin-left: -20px;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #333333;
    color: #333;
    transition: all 0.4s;
}
.hirun-breadcrumb .rank-math-breadcrumb {
    padding-top: 15px;
    padding-bottom: 15px;
}
.post-item .col-inner {
    padding: 20px;
    background: #ffffff;
}
.bg-item-gray .post-item .col-inner {
    background: #f5f5f7;
}
.post-item .col-inner .box-text {
    padding: 20px 0 0;
    font-size: 1em;
    text-align: center;
}
.post-item .col-inner .blog-post-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.post-item .col-inner .box-text .is-divider {
    display: none;
}
.post-item .col-inner .box-text .is-divider {
    display: none;
}
.post-item .col-inner .box-text .post-title {
    margin: 0;
}
.post-item .col-inner .box-text .post-title a {
    display: block;
    font-size: 20px;
    font-weight: bold;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}
.post-item .col-inner .box-text .from_the_blog_excerpt  {
    display: block;
    min-height: 65px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}
.post-item .col-inner .box-text a.button  {
    display: block;
    text-align: center;
    padding: 0;
    margin: 0;
    background: none !important;
    font-size: 1.2em;
    color: #1e1e1e;
    min-height: auto;
    border: none;
    line-height: 1.3;
    text-transform: none;
}
.post-item .col-inner .box-text a.button:after {
    content: "";
    font-family: fl-icons !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-weight: 400 !important;
    position: relative;
    top: 2px;
    padding-left: 2px;
}
.post-item .col-inner .box-text a.button:hover  {
    color: var(--fs-color-primary);
}
ul.links {
    margin: 0 0 30px;
}
.nav-pagination>li>a, .nav-pagination>li>span {
    border-radius: 0;
}

/* Trang liên hệ */
.wpcf7-form .col {
    padding-bottom: 0;
}
.wpcf7-form label {
    font-weight: 400;
    margin: 0 0 12px;
}
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: none;
    padding: 25px 15px;
    border: 1px solid #fff;
    background-color: #fff;
    outline: none;
    box-shadow: none;
    margin-bottom: 25px;
}
.wpcf7-form textarea {
    padding: 10px 15px;
}
.wpcf7-form .btn-submit {
    text-align: center;
    position: relative;
}
.wpcf7-form input.wpcf7-submit {
    width: auto;
    min-width: 90px;
    border-radius: 5px;
    font-weight: 400;
    padding: 1px 15px;
    margin: 0 auto;
}
.wpcf7-form .wpcf7-spinner {
    position: absolute;
    top: calc(50% - 12px);
    left: calc(50% - 12px);
    margin: 0;
}

/* Trường hợp */
.slick-slider .slick-prev, .slick-slider .slick-next {
    width: 36px !important;
    height: 36px !important;
    min-width: auto;
    border-radius: 5px;
    overflow: hidden;
    background-color: #ffffff !important;
    background-image: url("assets/images/icon-arrow-left.svg") !important;
    background-size: 12px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: 0.5s;
    z-index: 9;
}
.slick-slider .slick-next {
    background-image: url("assets/images/icon-arrow-right.svg") !important;
}
.slick-slider .slick-next {
    right: 25px !important;
}
.slick-slider .slick-prev {
    left: 25px !important;
}
.slider-for.slick-slider .slick-prev, .slider-for.slick-slider .slick-next,
.slick-slider .slick-prev:before, .slick-slider .slick-next:before {
    display: none !important;
}
.slider-nav {
    margin: 20px -10px 0;
}
.slider-nav .item-slick {
    padding: 0 10px;
}
.slider-nav .item-slick-inner {
    position: relative;
    padding-top: 72%;
    border: 2px transparent solid;
}
.slider-nav .slick-current .item-slick-inner {
    border-color: #000000;
}
.slider-nav .item-slick-inner img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}
.page-wrapper {
    padding-top: 60px;
}

/* Sản phẩm */
.single-product .product-container {
    padding-bottom: 60px;
}
.single-product .product-container-inner {
    padding: 30px 60px;
    background: #ffffff;
    position: relative;
    z-index: 5;
    margin-top: -59px;
}
.single-product .product-main {
    padding: 0 0 60px;
}
.single-product .woocommerce-breadcrumb,
.single-product .is-divider,
.single-product .single_add_to_cart_button,
.single-product .woocommerce-tabs .product-tabs {
    display: none;
}
.single-product .product-title,
.single-product .product-page-price,
.single-product .product-short-description {
    margin: 0 0 20px;
}
span.amount {
    color: var(--fs-color-primary);
}
.single-product .tab-panels {
    padding: 0;
}
.category-page-row {
    padding-top: 60px;
}
.container .row-small:not(.row-collapse), .row .row-small:not(.row-collapse) {
    margin-bottom: 0;
    margin-left: -15px;
    margin-right: -15px;
}
.row-small>.col, .row-small>.flickity-viewport>.flickity-slider>.col {
    margin-bottom: 0;
    padding: 0 15px 30px;
}
.shop-page-title {
    display: none;
}
.product-small.box {
    padding: 20px;
    background: #ffffff;
}
.bg-item-gray .product-small.box {
    background: #f5f5f7;
}
.product-small.box .image-zoom {
    position: relative;
    padding-top: 72%;
}
.product-small.box .image-zoom img {
    bottom: 0;
    height: 100%;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}
.product-small.box .box-text {
    padding: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    font-size: 1em;
}
.product-small.box .box-text .product-title a {
    display: block;
    font-size: 20px;
    font-weight: bold;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}
.product-small span.amount {
    font-size: 1.2em;
}
.product-small .add-to-cart-button {
    display: none;
}
.product-small a.view-more-btn {
    display: block;
    text-align: center;
    padding: 0;
    margin: 15px 0 0;
    background: none !important;
    font-size: 1.2em;
    /*color: #1e1e1e;*/
    min-height: auto;
    border: none;
    line-height: 1.3;
    text-transform: none;
}
.product-small a.view-more-btn:after {
    content: "";
    font-family: fl-icons !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-weight: 400 !important;
    position: relative;
    top: 2px;
    padding-left: 2px;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .product-container-inner,
    .single .blog-wrapper .container-inner {
        padding: 30px 20px;
    }

}