/*
Theme Name: Flatsome Child
Theme URI: univn.vn
Description: This is a child theme for Flatsome Theme
Author: Van NA
Template: flatsome
Version: 3.0
Text Domain: shtheme
*/
/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
    --color-white: #ffffff;
    --color-gray: #141623;
    --color-body: #747474;
}
.uppercase,
h6,
th,
span.widget-title {
    letter-spacing: 0;
}
b,
strong {
    font-weight: 600;
}
td {
    color: inherit;
}
.text-box .text {
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
}
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.button,
input[type="submit"],
input[type="submit"].button,
input[type="reset"].button,
input[type="button"].button {
    font-weight: 500;
    letter-spacing: 0;
}
.button.is-outline,
input[type="submit"].is-outline,
input[type="reset"].is-outline,
input[type="button"].is-outline {
    border-width: 1px;
}
.button.is-outline {
    color: inherit;
    line-height: calc(2.5em - 2px);
}
select,
.select-resize-ghost,
.select2-container .select2-choice,
.select2-container .select2-selection {
    padding-right: 1.6em;
}
.box-text {
    font-size: 1em;
}
.breadcrumbs {
    font-size: 0.875rem;
    text-transform: none;
}
.breadcrumbs a {
    color: inherit;
}
figure.aligncenter {
    margin: 15px auto;
}
.wp-caption .wp-caption-text {
    background: transparent;
    font-style: normal;
}
img.size-full.alignnone {
    margin-bottom: 0;
}
.dark i.flat {
    background-color: #ffffff;
}
/*--------------------------------------------------------------
## Header 
--------------------------------------------------------------*/
.nav-dark .is-outline,
.dark .nav > li > a,
.dark .nav > li.html,
.dark .nav-vertical li li.menu-item-has-children > a,
.dark .nav-vertical > li > ul li a,
.nav-dropdown.dark > li > a,
.nav-dropdown.dark .nav-column > li > a,
.nav-dark .nav > li > a,
.nav-dark .nav > li > button {
    color: #fff;
}
.nav > li > a,
.nav-dropdown > li > a,
.nav-column > li > a {
    color: inherit;
}
/* Header Template Element */
.nav-click {
    position: relative;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: block;
    z-index: 999;
}
.nav-click span,
.nav-click::after,
.nav-click::before {
    content: "";
    background-color: #000;
    position: absolute;
    height: 2px;
    transition: all 0.3s ease-in-out;
    pointer-events: none;
}
.nav-dark .nav-click span,
.nav-dark .nav-click::after,
.nav-dark .nav-click::before {
    background-color: #fff;
}
.nav-click::after,
.nav-click::before {
    top: 6px;
    right: 0;
    width: 18px;
    transform-origin: 50% 50%;
}
.nav-click::after {
    top: 23px;
    width: 30px;
}
.nav-click span {
    top: 15px;
    right: 0;
    width: 24px;
}
@media only screen and (min-width: 850px) {
    .nav-click {
        width: 38px;
        height: 38px;
    }
    .nav-click span,
    .nav-click::after,
    .nav-click::before {
        height: 3px;
    }
    .nav-click::after,
    .nav-click::before {
        top: 9px;
        width: 25px;
    }
    .nav-click::after {
        top: 27px;
        width: 35px;
    }
    .nav-click span {
        top: 18px;
        width: 31px;
    }
}
.has-off-canvas .current-lightbox-clicked .nav-click span {
    opacity: 0;
}
.has-off-canvas .current-lightbox-clicked .nav-click::before {
    width: 70%;
    left: 17%;
    transform: rotate3d(0, 0, 1, 45deg);
    top: 43%;
}
.has-off-canvas .current-lightbox-clicked .nav-click::after {
    width: 70%;
    left: 15%;
    transform: rotate3d(0, 0, 1, -45deg);
    top: 41%;
}
/*--------------------------------------------------------------
## Widget 
--------------------------------------------------------------*/
/* Widget Recent Posts */
.post-sidebar .widget_recent_entries ul li {
    padding: 5px 10px;
    border-bottom: 1px solid #cccccc;
}
.post-sidebar .widget_recent_entries ul li:last-child {
    border-bottom: none;
}
.post-sidebar .widget_recent_entries ul li .post-date {
    display: block;
}
/* Widget Recent Posts */
.widget_list_posts .post-item {
    padding-bottom: 0;
}
.widget_list_posts .post-item:not(:last-child) .col-inner {
    margin-bottom: 20px;
}
.widget_list_posts .blog-col-inner .post-title {
    font-size: 0.875rem;
    line-height: 1.4;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2.8em;
    width: auto;
    margin: 0 0 5px 0;
}
.widget_list_posts .from_the_blog_excerpt {
    font-size: 0.875rem;
}
@media screen and (min-width: 550px) {
    .widget_list_posts .box-vertical {
        display: flex;
    }
    .widget_list_posts .box-vertical .box-image {
        flex: 0 0 30%;
    }
    .widget_list_posts .box-vertical .box-text {
        padding: 0 0 0 20px;
    }
    .widget_list_posts__alignright .box-vertical .box-text {
        order: -1;
        padding: 0 20px 0 0;
    }
}
/* Widget Information */
.widget_information ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.widget_information ul li {
    padding: 0.5em 0 0.5em 1.375em;
    position: relative;
    font-size: clamp(14px, 1.27659574vw, 18px);
    font-weight: 500;
}
.widget_information ul li + li {
    border-top: none;
}
.widget_information ul li.hidden_icon {
    padding-left: 0;
}
.widget_information ul li.hidden_icon i {
    display: none;
}
.widget_information li i {
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 1em;
    height: 1em;
    text-align: center;
}
/* Widget Social */
.widget_social .list-social {
    column-gap: 10px;
}
.widget_social .list-social li {
    border: 0;
}
.widget_social .list-social a {
    width: 40px;
    height: 40px;
    box-shadow: var(--shadow-1);
    border-radius: 99px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-white);
}
.widget_social .list-social a i {
    width: 1.25rem;
    height: 1.25rem;
}
/*--------------------------------------------------------------
## Shortcode 
--------------------------------------------------------------*/
/* Shortcode Blog */
.sh-blog-shortcode.layout-1 .box-image {
    float: left;
    width: 25%;
    margin-right: 15px;
}
.sh-blog-shortcode.layout-5 .box-image {
    float: left;
    width: 30%;
    margin-right: 15px;
}
.sh-blog-shortcode.layout-6 .first-element-layout .post-title {
    margin: 15px 0 10px 0;
}
.sh-blog-shortcode.layout-6 .second-element-layout .element:not(:last-child) {
    margin-bottom: 15px;
}
.sh-blog-shortcode.layout-6 .second-element-layout .element:last-child {
    margin-bottom: 0;
}
.sh-blog-shortcode.layout-6 .second-element-layout .col-inner {
    overflow: hidden;
}
.sh-blog-shortcode.layout-6 .second-element-layout .box-image {
    float: left;
    width: 30%;
    margin-right: 1em;
}
.sh-blog-shortcode.layout-6 .second-element-layout .box-image .image-zoom {
    padding-top: 62%;
}
.sh-blog-shortcode.layout-6 .second-element-layout .post-title {
    margin-top: 0;
    font-size: 0.875rem;
}
.sh-blog-shortcode.layout-7 .first-element-layout .element .box-image {
    float: left;
    width: 30%;
    margin-right: 20px;
}
.sh-blog-shortcode.layout-7 .first-element-layout .element .post-title {
    margin: 0 0 5px 0;
}
.sh-blog-shortcode.layout-7 .second-element-layout {
    margin-bottom: 20px;
}
.sh-blog-shortcode.layout-7 .second-element-layout .element {
    margin-bottom: 5px;
}
.sh-blog-shortcode.layout-7 .second-element-layout .element .post-title {
    margin: 0;
}
.sh-blog-shortcode.layout-7
    .second-element-layout
    .element
    .post-title
    a:before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #337ab7;
    border-radius: 50%;
    position: relative;
    top: -2px;
    margin-right: 5px;
}
.sh-blog-shortcode.layout-8 .element .col-inner {
    position: relative;
}
.sh-blog-shortcode.layout-8 .element .entry-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 10px;
}
.sh-blog-shortcode.layout-8 .element .post-title {
    font-size: 0.875rem;
    line-height: 20px;
    margin: 0;
}
.sh-blog-shortcode.layout-8 .element .post-title a {
    display: block;
}
/* Shortcode Title Product */
.uni-titlepro ul li {
    margin-left: 0;
    display: block;
}
.uni-titlepro .open-subcat {
    white-space: nowrap;
    cursor: pointer;
}
@media only screen and (min-width: 850px) {
    .uni-titlepro {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }
    .uni-titlepro .open-subcat {
        display: none;
    }
    .uni-titlepro ul li {
        display: inline-block;
    }
    .uni-titlepro li + li {
        margin-left: 30px;
    }
}
@media only screen and (max-width: 849.99px) {
    .uni-titlepro__main {
        display: flex;
        justify-content: space-between;
    }
    .uni-titlepro ul {
        display: none;
        overflow: hidden;
        margin-left: -5px;
        margin-right: -5px;
    }
    .uni-titlepro ul li {
        float: left;
        width: 50%;
        padding-left: 5px;
        padding-right: 5px;
    }
    .uni-titlepro ul li:last-child {
        width: 100%;
    }
}
/* Shortcode Custom Menu */
.uni_custom_menu ul.menu li {
    border: none;
}
/* UX Shortcode */
.ux-menu-link__link {
    min-height: unset;
}
.ux-menu-title {
    font-size: 100%;
}
/* Category */
.box-blog-post {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background-color: #fff;
}
.box-blog-post:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -4px rgba(0, 0, 0, 0.1) !important;
}
.box-blog-post .box-text {
    padding: 1rem;
}
.box-blog-post .post-title {
    font-size: 1.125rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.75rem;
}
.box-blog-post .post-title a {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 3.5rem;
    margin: 0;
    line-height: inherit;
}
.box-blog-post .post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-flow: row wrap;
    margin-top: 9px;
}
.box-blog-post .post-date {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    font-size: 14px;
    color: #6b7280;
    line-height: 1;
}
.box-blog-post .tooltop-share .btn-share {
    margin: 0;
    background-color: transparent;
    border-color: #4c2314;
    color: #4c2314;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    line-height: 1;
    height: 40px;
}
.box-blog-post .is-divider {
    display: none;
}
.box-blog-post .from_the_blog_excerpt {
    font-size: 0.875rem;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-height: 1.75rem;
    margin: 0.5rem 0 0 0;
}
.single-post.single article.post {
    margin-bottom: 40px;
}
.wrap-related .flickity-button {
    margin: 0;
    background-color: transparent;
    border: 1px solid #4c2314;
    color: #4c2314;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    line-height: 1;
    height: 40px !important;
    width: 40px !important;
}
.wrap-related .flickity-button svg {
    padding: 11px !important;
}
.slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
    margin: 0;
}
.font-semibold {
    font-weight: 600 !important;
}
.text-xl {
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
}
.mb-4 {
    margin-bottom: 1rem !important;
}
.border {
    border-width: 1px !important;
}
.rounded-none {
    border-radius: 0 !important;
}
.overflow-hidden {
    overflow: hidden !important;
}
@media only screen and (min-width: 850px) {
    .box-blog-post {
        border-radius: 0.75rem !important;
    }
    .row .row.row-custom-gap {
        margin-left: -17px;
        margin-right: -17px;
        max-width: calc(100% + 34px);
    }
    .row .row.row-custom-gap > .col {
        padding-left: 17px;
        padding-right: 17px;
    }
}
ul.links {
    margin: 0;
}
ul.links li {
    margin: 0 0.4em !important;
}
.nav-pagination > li > span,
.nav-pagination > li > a {
    border: none;
    border-radius: 2px;
    min-width: 25px;
    width: 25px;
    height: 25px;
    line-height: 25px;
    font-weight: bold;
}
.nav-pagination > li > .current {
    background-color: var(--primary-color);
}
.nav-pagination > li > a:hover,
.nav-pagination > li > span:hover {
    color: #409eff;
    background-color: transparent !important;
}
.page-wrapper.blog-archive {
    padding-top: 24px;
}
.sub_header_search .search-form {
    margin-bottom: clamp(30px, 3vw, 64px);
}
.sub_header_search .search-form .search-wrapper {
    display: flex;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -4px rgba(0, 0, 0, 0.1) !important;
    background-color: #fff;
    border-radius: 12px;
}
.sub_header_search .search-form .search-wrapper button,
.sub_header_search .search-form .search-wrapper input {
    margin: 0;
    height: 60px;
}
.sub_header_search .search-form .search-wrapper input {
    background-color: transparent;
    box-shadow: unset;
    outline: none;
    border: 0;
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding: 0;
}
.sub_header_search .search-form .search-wrapper button {
    background-color: var(--primary-color);
    border-radius: 12px;
    color: #fff;
    padding: 0 12px;
}
.sub_header_search .search-form .search-wrapper button .flat {
    width: 30px;
    height: 30px;
}
.sub_header_search
    .search-form
    input[type="search"]::-webkit-input-placeholder {
    color: #999;
}
@media only screen and (max-width: 849px) {
    .sub_header_search .search-form .search-wrapper {
        padding: 8px 8px 8px 20px;
    }
}
@media only screen and (min-width: 850px) {
    .sub_header_search .search-form .search-wrapper {
        padding: 4px 8px 4px 16px;
    }
    .sub_header_search .search-form .search-wrapper input {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
}
/* Single Post */
.entry-header h1.entry-title {
    font-size: 1.5rem;
}
.entry-header h1.entry-title + .is-divider {
    display: none;
}
.entry-header-text-top {
    padding-bottom: 0;
}
.single.single-post .page-wrapper.blog-single {
    padding-top: 28px;
    padding-bottom: 50px;
}
.single.single-post .article-inner {
    padding: 24px;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    background-color: #ffffff;
    border-radius: 16px;
    max-width: 896px;
    margin: 0 auto;
}
.single.single-post .article-inner .entry-content {
    padding-top: 0;
    padding-bottom: 0;
}
/* .single.single-post .article-inner .entry-content,
.single.single-post .article-inner .entry-header {
    max-width: 896px;
    margin: 0 auto;
} */
.single.single-post
    .article-inner
    .entry-content
    :where(blockquote, dd, dl, fieldset, figure, h3, h4, h5, h6, hr, p, pre) {
    margin: 1rem 0;
}
.single.single-post .article-inner .entry-content h2 {
    font-size: 1.5em;
    margin: 0.83em 0px;
}
.blog-posts-related.row {
    margin-left: -6px !important;
    margin-right: -6px !important;
    max-width: calc(100% + 12px) !important;
}
.blog-posts-related.row .flickity-slider > .col {
    padding-left: 6px !important;
    padding-right: 6px !important;
    padding-bottom: 15px;
}
/* Wpcf7 */
.wpcf7-form {
    margin-bottom: 0;
}
.wpcf7-form p {
    margin-bottom: 0;
}
.wpcf7 .button {
    min-width: 100px;
    margin-bottom: 0;
}
.wpcf7 .wpcf7-response-output {
    border-radius: 0;
}
.wpcf7-not-valid-tip,
.wpcf7 form .wpcf7-response-output {
    font-size: 0.9em;
}
.wpcf7 form .wpcf7-response-output {
    margin: 1em 0 1em;
}
.wpcf7 .wpcf7-spinner {
    display: none !important;
}
/* Template - Header */
.header-cart-title {
    line-height: 1.2;
}
.header li.cart-item > a {
    display: inline-flex;
    flex-direction: row-reverse;
}
.header li.cart-item span + .image-icon {
    margin-left: 0;
    margin-right: 10px;
}
/* Footer */
.footer-wrapper .widget {
    margin-bottom: 0;
}
.footer-wrapper .box-text-footer a {
    font-weight: normal;
}
.footer-wrapper .section-title-container {
    margin-bottom: 0;
}
.footer-wrapper .section-title {
    border-bottom: 1px solid #ffffff;
    padding-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.75rem;
    font-size: 1.125rem;
    margin-bottom: 16px;
}
.footer-wrapper .section-title span {
    border: 0;
    margin: 0;
    padding: 0;
}
.footer-wrapper .ux-menu .ux-menu-link__link {
    padding: 8px 0;
}
.absolute-footer {
    padding: 10px 0 10px;
    display: none;
}
.p-last-0 > p:last-of-type {
    margin-bottom: 0;
}
@media only screen and (min-width: 850px) {
    .footer-secondary {
        padding: 0;
    }
}
/* Top Link */
#top-link {
    background-color: var(--primary-color);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 0;
}
#top-link i {
    font-size: 22px;
    color: #ffffff;
}
.block-contact {
    position: fixed;
    right: 20px;
    bottom: 10%;
    z-index: 999;
}
.block-contact .list-contact a {
    display: block;
    margin: 0 0 24px auto;
}
.block-contact .list-contact a img {
    width: 46px;
    aspect-ratio: 1/1;
}
.progress-wrap {
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.progress-wrap::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFFFFF" class="w-6 h-6"><path fill-rule="evenodd" d="M12 20.25a.75.75 0 01-.75-.75V6.31l-5.47 5.47a.75.75 0 01-1.06-1.06l6.75-6.75a.75.75 0 011.06 0l6.75 6.75a.75.75 0 11-1.06 1.06l-5.47-5.47V19.5a.75.75 0 01-.75.75z" clip-rule="evenodd" /></svg>');
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    z-index: 9;
}
.progress-wrap::after {
    content: "";
    position: absolute;
    text-align: center;
    font-size: 16px;
    left: 0;
    right: 0;
    margin: auto;
    background-color: var(--primary-color);
    border-radius: 99px;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 40px;
    line-height: 37px;
    cursor: pointer;
    display: block;
    z-index: 1;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap:hover::after {
    background-color: #105ca8;
}
.progress-wrap:hover::before {
    opacity: 1;
}
.progress-wrap svg path {
    fill: none;
}
.progress-wrap svg.progress-circle path {
    stroke: var(--primary-color);
    stroke-width: 4;
    box-sizing: border-box;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
@-webkit-keyframes ispinner-fade {
    0% {
        opacity: 0.85;
    }
    50% {
        opacity: 0.25;
    }
    100% {
        opacity: 0.25;
    }
}
@keyframes ispinner-fade {
    0% {
        opacity: 0.85;
    }
    50% {
        opacity: 0.25;
    }
    100% {
        opacity: 0.25;
    }
}
/*--------------------------------------------------------------
## Custom Css 
--------------------------------------------------------------*/
#dark-breadcrumbs .rank-math-breadcrumb p {
    margin-bottom: 10px;
}
#dark-breadcrumbs h1 {
    margin-bottom: 0;
    font-size: 24px;
}
#dark-breadcrumbs span,
#dark-breadcrumbs a {
    background: #f2aa1d;
    color: #fff;
    float: left;
    line-height: 16px;
    margin-right: 10px;
    padding: 7px 10px 7px 20px;
    position: relative;
    -webkit-text-decoration: none;
    text-decoration: none;
}
#dark-breadcrumbs a:first-child {
    margin-left: 0 !important;
    padding-left: 18px;
}
#dark-breadcrumbs span:after,
#dark-breadcrumbs span:before,
#dark-breadcrumbs a:after,
#dark-breadcrumbs a:before {
    border-bottom: 15px solid transparent;
    border-top: 15px solid transparent;
    bottom: 0;
    content: " ";
    display: block;
    height: 0;
    margin-top: -35px;
    position: absolute;
    width: 0;
}
#dark-breadcrumbs span:before,
#dark-breadcrumbs a:before {
    border-left: 10px solid #f5f5f5;
    left: 0;
}
#dark-breadcrumbs a:after {
    border-left: 10px solid #f2aa1d;
    left: 100%;
}
#dark-breadcrumbs .separator {
    display: none;
}
#dark-breadcrumbs span {
    background: #4c2314;
}
#dark-breadcrumbs span:after {
    border-left: 10px solid #4c2314;
    left: 100%;
}
.sub-header .list-none {
    display: flex;
    gap: clamp(8px, 3vw, 32px);
    list-style-type: none;
    margin-bottom: 20px;
}
.sub-header .list-none li {
    margin-bottom: 0;
}
.sub-header .list-none li a {
    -webkit-appearance: none;
    background-color: #fff;
    border-radius: 4px;
    box-sizing: border-box;
    border: 1px solid #4c2314;
    color: #4c2314;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    margin: 0;
    outline: 0;
    padding: 12px 20px;
    text-align: center;
    transition: 0.1s;
    white-space: nowrap;
}
.sub-header .list-none li a:hover {
    background-color: #ecf5ff;
}
.sub-header .list-none li a.active {
    border: 1px solid #4c2314;
    background-color: #4c2314;
    color: #ffffff;
}
/* button */
.radius-5 {
    border-radius: 5px;
    overflow: hidden;
}
.m-0 {
    margin: 0 !important;
}
.p-0 {
    padding: 0 !important;
}
.w-full {
    width: 100% !important;
}
.h-full {
    height: 100% !important;
}
.pb-col-0 .flickity-slider > .col,
.pb-col-0 > .col {
    padding-bottom: 0 !important;
}
.mb-img-radius-30 img {
    border-radius: 0 0 30px 30px;
}
/*--------------------------------------------------------------
## Responsive 
--------------------------------------------------------------*/
@media only screen and (max-width: 849.99px) {
    .sidebar-menu .nav li a {
        font-size: 14px;
    }
    .sidebar-menu .nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 15px;
    }
    .nav:not(.nav-slide) .active > .children {
        padding-bottom: 10px;
    }
    .mobile-sidebar .logo {
        text-align: center;
        padding: 30px 15px 0;
    }
    .mobile-sidebar .logo img {
        display: inline-block;
        max-height: 80px;
        max-width: 60%;
    }
    .dark .mobile-sidebar .logo img {
        filter: brightness(0) invert(1);
    }
    .off-canvas .nav-vertical > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}
@media only screen and (max-width: 699.99px) {
}
@media only screen and (max-width: 549.99px) {
}
@media only screen and (min-width: 550px) {
}
@media only screen and (min-width: 700px) {
}
@media only screen and (min-width: 850px) {
    .header .nav > li {
        margin: 0 12px;
    }
    .header .nav > li > a {
        font-size: 16px;
        font-weight: normal;
        text-transform: none;
    }
    .header .nav .sub-menu li a {
        font-size: 14px;
        transition: all 0.35s ease-in-out;
    }
    /* .header .nav .sub-menu li a:hover {
        background: var(--primary-color);
        color: var(--color-white);
        border-radius: 5px;
    } */
    .header-top .nav-uppercase > li > a {
        text-transform: none;
    }
    .nav-uppercase > li > a {
        letter-spacing: 0;
    }
    .nav-dropdown-has-arrow li.has-dropdown:before {
        display: none;
    }
    .nav-dropdown-has-arrow li.has-dropdown:after {
        border-width: 10px;
        margin-left: -9px;
    }
    .header .header-nav-main .nav-dropdown {
        border-width: 0px;
        padding: 10px 0;
        min-width: 240px;
        color: inherit;
    }
    .header .header-nav-main > li .nav-dropdown {
        left: 0 !important;
        top: 130%;
        transition: all 0.35s ease-in-out;
    }
    .header .header-nav-main > li:hover .nav-dropdown {
        top: 100%;
    }
    header#header .nav-dropdown {
        display: block;
    }
    header#header .nav-dropdown ul.sub-menu {
        position: absolute;
        left: 100%;
        top: 0;
        background: #fff;
        width: 250px;
        padding: 10px 0;
        display: none !important;
        border-radius: 5px;
        -webkit-box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
        box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
    }
    header#header .nav-dropdown ul.sub-menu a {
        white-space: normal;
        margin: 0 10px;
        padding: 10px 15px;
        border: 0;
        font-weight: 400;
    }
    header#header .nav-dropdown li:hover > ul.sub-menu {
        display: block !important;
    }
    header#header .nav-dropdown li {
        border-right: 0;
        white-space: normal;
        width: 100%;
        display: block;
        position: relative;
    }
    header#header .nav-dropdown li.menu-item-has-children > a {
        font-weight: 400;
        text-transform: none;
        color: rgba(102, 102, 102, 0.85);
    }
    header#header .nav-dropdown li.active > a {
        color: var(--primary-color);
    }
}
@media only screen and (min-width: 992px) {
    .lg-img-radius-70 img {
        border-radius: 0 0 70px 70px;
    }
}
@media only screen and (min-width: 1200px) {
}
#list-coupons {
    margin-left: -8px !important;
    margin-right: -8px !important;
    max-width: calc(100% + 16px) !important;
}
#list-coupons > .col {
    padding-left: 8px !important;
    padding-right: 8px !important;
    padding-bottom: 16px;
}
.text-xs {
    font-size: 0.75rem !important;
    line-height: 1rem !important;
}
.mb-1 {
    margin-bottom: 0.25rem !important;
}
.font-semibold {
    font-weight: 600 !important;
}
.font-normal {
    font-weight: 400 !important;
}
.box-coupon {
    padding: 12px;
    /* background-color: #ffffff; */
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    background: transparent;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.09));
    -webkit-filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.09));
    height: 100%;
    overflow: hidden;
    transform: translateZ(0);
}
.ticket:after,
.ticket:before {
    border-radius: 50%;
    box-shadow: 0 0 0 300px #fff;
    content: "";
    height: 40px;
    position: absolute;
    top: calc(50% - 1.25em);
    width: 40px;
    z-index: -1;
}
@media only screen and (max-width: 639px) and (max-width: 849px) {
    .ticket:after,
    .ticket:before {
        border-radius: 50%;
        box-shadow: 0 0 0 200px #fff;
    }
}
.ticket:before {
    left: -25px;
}
.ticket:after {
    right: -25px;
}
/* .box-coupon::before {
    background-color: #f5f5f5;
    content: "";
    height: 40px;
    position: absolute;
    top: calc(50% - 1.25em);
    width: 40px;
    border-radius: 50%;
    left: -25px;
    box-shadow: 0 0 0 300px #fff;
}
.box-coupon::after {
    background-color: #f5f5f5;
    content: "";
    height: 40px;
    position: absolute;
    top: calc(50% - 1.25em);
    width: 40px;
    border-radius: 50%;
    right: -25px;
    box-shadow: 0 1px 10px 0 #f5f5f5;
} */
.box-coupon .box-avatar .logo-supplier img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: center;
}
.box-coupon .box-text-top {
    display: flex;
    align-items: stretch;
    /* position: relative; */
}
.box-coupon .box-text-top .left-box {
    text-align: center;
}
.box-coupon .box-text-top .left-box .box-avatar {
    text-align: center;
    border-right: 2px dashed #e5e7eb;
    padding-right: 0.5rem;
    min-width: 95px;
    display: flex;
    margin-left: 1.5rem;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}
.box-coupon .box-text-top .left-box .cat-label {
    font-size: 12px;
    font-weight: 600;
    margin-top: 0.25rem;
}
.box-coupon .box-text-top .right-box .right-box__inner {
    padding-left: 0.75rem;
    padding-right: 1.25rem;
}
.box-coupon .box-text-top .right-box .line-text {
    column-gap: 0.25rem;
}
.box-coupon .box-text-top .right-box .line-text .discount {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: rgb(0, 138, 7);
    font-weight: 700;
}
.box-coupon .box-text-bottom {
    display: flex;
    align-items: center;
    /* position: relative; */
}
.expried-date {
    margin-right: 0.5rem;
    padding-left: 0.5rem;
}
.expried-date .flex {
    gap: 5px;
}
.flex-right-bottom {
    flex: 1;
}
.flex-right-bottom .button {
    background-color: #f2aa1d;
    height: 28px;
    width: 105px;
    border-radius: 8px;
    font-size: 12px;
    min-height: unset;
    line-height: unset;
    padding: 0.25rem;
    margin: 0;
    margin-left: 0.75rem;
    text-transform: none;
}
.mb-1 {
    margin-bottom: 0.25rem !important;
}
.banner-save {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    border: 2px solid rgba(22, 163, 74, 1);
    border-radius: 0.25rem;
    color: #4c2314;
}
.use_list {
    padding-left: 0.5rem;
    color: #4c2314;
    text-decoration: underline;
    font-style: italic;
}
.font-sans {
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
        Ubuntu, Cantarell, Noto Sans, sans-serif, Apple Color Emoji,
        Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji !important;
}
.justify-between {
    justify-content: space-between !important;
}
.line-note {
    color: #008a08;
    font-weight: 600;
}
.line-note .text-black {
    color: #000;
}
.box-has-click {
    display: none;
    position: absolute;
    top: 0%;
    left: 0;
    right: 0;
    background-color: white;
    border-top: none;
    padding: 15px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-height: auto;
}
.col-ticket.active .box-has-click {
    display: block;
}
/* Coupon Box Styles */
.col-ticket {
    cursor: pointer;
    transition: all 0.3s ease;
}
.col-ticket .col-inner {
    position: relative;
}
.col-ticket.active .box-has-click {
    display: block;
}
/* Button copy styles */
.button-copy {
    position: relative;
    transition: all 0.3s ease;
}
.button-copy:hover {
    transform: scale(1.05);
}
.button-copy:active {
    transform: scale(0.95);
}
.button-copy.copied {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
}
.button-copy.copied i.flat-right {
    margin-right: 5px;
}
/* Load More Button Styles */
#see-more.loading {
    opacity: 0.7;
    pointer-events: none;
}
#see-more.loading svg {
    display: none; /* Ẩn arrow khi loading */
}
/* Loading circles animation */
.loading-circles {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    height: 20px;
}
.loading-circles span {
    width: 12px;
    height: 12px;
    background: #4caf50;
    border-radius: 50%;
    animation: rotateY 1.2s ease-in-out infinite;
    transform-style: preserve-3d;
}
.loading-circles span:nth-child(1) {
    animation-delay: 0s;
}
.loading-circles span:nth-child(2) {
    animation-delay: 0.3s;
}
.loading-circles span:nth-child(3) {
    animation-delay: 0.6s;
}
.loading-circles span:nth-child(4) {
    animation-delay: 0.9s;
}
@keyframes rotateY {
    0% {
        transform: rotateY(0deg) scale(1);
        background: #4caf50;
    }
    50% {
        transform: rotateY(180deg) scale(0.8);
        background: #81c784;
    }
    100% {
        transform: rotateY(360deg) scale(1);
        background: #4caf50;
    }
}
/* Category Menu Styles */
.headline {
    margin-bottom: 0;
}
.headline .section-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.headline .section-title a {
    font-size: 14px;
    font-weight: normal;
    display: inline-flex;
    align-items: center;
}
.headline.lowercase .section-title span {
    text-transform: none;
    border: 0;
}
.headline .section-title a i {
    margin-left: 5px;
}
.headline.no-border .section-title {
    border: 0;
    padding: 0;
}
.headline.no-border .section-title b {
    opacity: 0;
}
.headline.no-border .section-title span {
    border: 0;
    padding: 0;
    margin: 0;
}
.section-title-normal {
    border-color: var(--fs-color-secondary);
}
.section-title-normal span {
    border-color: var(--primary-color);
}
.h1 {
    font-weight: 600;
    font-size: 2.25rem;
    line-height: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.25rem;
}
.post-sidebar .category-menu {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.post-sidebar .category-menu .menu-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.post-sidebar .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 10rem;
    overflow-y: auto;
}
.post-sidebar .category-list::-webkit-scrollbar {
    width: 6px;
}
.post-sidebar .category-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}
.post-sidebar .category-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}
.post-sidebar .category-list::-webkit-scrollbar-thumb:hover {
    background: #948b8b;
}
.post-sidebar .category-item {
    margin-bottom: 8px;
}
.post-sidebar .category-link {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    color: #333;
}
.category-link:hover {
    background-color: #f8f9fa;
    color: #333;
}
.category-item.current-cat .category-link {
    background-color: #e3f2fd;
    color: #1976d2;
}
.category-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    overflow: hidden;
}
.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-icon.default {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 14px;
}
/* Different colors for different categories */
.category-item:nth-child(1) .category-icon.default {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
}
.category-item:nth-child(2) .category-icon.default {
    background: linear-gradient(135deg, #ea4335 0%, #fbbc05 100%);
}
.category-item:nth-child(3) .category-icon.default {
    background: linear-gradient(135deg, #00bcd4 0%, #009688 100%);
}
.category-item:nth-child(4) .category-icon.default {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
}
.category-item:nth-child(5) .category-icon.default {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}
.category-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}
.category-count {
    background: #e0e0e0;
    color: #666;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}
.category-item.current-cat .category-count {
    background: #1976d2;
    color: white;
}
.box-has-click .line-1 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: rgb(0, 138, 7);
    gap: 5px;
}
.box-has-click .flex-right-bottom {
    gap: 5px 12px;
    justify-content: center;
}
.box-has-click .flex-right-bottom .button {
    margin: 0;
}
.flex-right-bottom .button.button-copy {
    color: #017407;
    background-color: #edffee;
}
.mb-3 {
    margin-bottom: 0.75rem !important;
}
.mb-2 {
    margin-bottom: 0.5rem !important;
}
.pt-3 {
    padding-top: 0.75rem !important;
}
@keyframes arrow {
    0% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    80% {
        opacity: 0;
    }
    to {
        opacity: 0;
    }
}
.arrows {
    height: 72px;
    transform: scale(0.5);
    width: 60px;
}
.arrows path {
    stroke: #000;
    fill: transparent;
    stroke-width: 4px;
    animation: arrow 2s infinite;
    -webkit-animation: arrow 2s infinite;
}
.arrows path.a1 {
    animation-delay: -1s;
    -webkit-animation-delay: -1s;
}
.arrows path.a2 {
    animation-delay: -0.5s;
    -webkit-animation-delay: -0.5s;
}
.arrows path.a3 {
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
}
.flex.flex-col {
    flex-direction: column !important;
}
.coupon-block-footer a {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5rem;
}
@media (min-width: 640px) {
    /* .banner-save {
        font-size: 0.875rem !important;
        line-height: 1.25rem !important;
    } */
    .expried-date {
        min-width: 106px;
    }
}
@media (min-width: 768px) {
    .box-coupon .box-text-top .right-box .line-text .discount {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    .float-custom-width {
        max-width: 48rem;
        margin: 0 auto;
    }
    .box-has-click .line-1 {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
    .box-has-click {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
@media (min-width: 1024px) {
    .coupon-block-footer a {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}
@media only screen and (max-width: 639px) {
    #coupons-grid > .col,
    #list-coupons > .col {
        max-width: 100% !important;
        flex-basis: 100% !important;
    }
    .ticket:after,
    .ticket:before {
        box-shadow: 0 0 0 300px #fff;
    }
}
@media only screen and (max-width: 1023px) {
    .content-wrapper .container > .row > .col {
        max-width: 100%;
        flex-basis: 100%;
    }
}
.list-coupon-cat {
    width: -moz-max-content;
    width: max-content;
    display: flex;
    position: relative;
    visibility: visible;
    gap: 18px;
}
.list-coupon-cat .col-item .item-box--inner {
    display: block;
    text-align: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-bottom: 0.75rem;
    padding-top: 0.75rem;
    border-radius: 1rem;
    justify-content: center;
    flex-direction: column;
    height: 9rem;
    display: flex;
    margin-bottom: 0.75rem;
    border-radius: 16px;
}
.list-coupon-cat .col-item .item-box--inner .coupon-cat-title {
    color: #ffffff;
    font-size: 12px;
}
.w-10 {
    width: 2.5rem !important;
}
.h-10 {
    height: 2.5rem !important;
}
@media (min-width: 640px) {
    .sm\:w-12 {
        width: 3rem !important;
    }
    .sm\:h-12 {
        height: 3rem !important;
    }
}

.w-\[120px\] {
    width: 120px;
}
.overflow-auto {
    overflow: auto;
    scrollbar-width: none;
}
.pb-3 {
    padding-bottom: 0.75rem;
}
@media (min-width: 768px) {
    .md\:w-\[126px\] {
        width: 126px;
    }
    .list-coupon-cat .col-item .item-box--inner {
        margin-bottom: 1.5rem;
        height: 12rem;
    }
}
@media (min-width: 1024px) {
    .lg\:w-\[144px\] {
        width: 144px;
    }
}
@media (min-width: 1028px) {
    .xl\:w-\[173px\] {
        width: 173px;
    }
    .xl\:mb-3 {
        margin-bottom: 0.75rem !important;
    }
    .list-coupon-cat .col-item .item-box--inner {
        height: 14rem;
    }
    .list-coupon-cat .col-item .item-box--inner .coupon-cat-title {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
}
