/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {
    font-family: 'SVN-Gilroy';
    src: url(images/SVN-Gilroy-Bold.ttf);
}
.font-svn {
    font-family: 'SVN-Gilroy';
}
body {
	max-width: 100%;
	overflow: hidden;
    font-family: "Inter", sans-serif;
}
b, strong {
    font-weight: bold;
}
@media only screen and (min-width: 1024px) {
    .widget ul.menu > li {
        position: relative;
    }
    .widget ul > li.has-child:hover >.sub-menu{
        display:block !important;
    }
    .widget ul.menu ul.sub-menu {
        display: none !important;
        position: absolute;
        width: 100%; 
        left:99%;
        top: 0;
        z-index: 999;
        border: 1px solid #e1e1e1 !important;
        background: #fff;
        margin: 0;
        padding: 0;
    }
    .widget .toggle{
        transform: rotate(-90deg);
        margin-right: 10px;
    }
    .widget ul.menu>li li {
        padding: 2px 0;
        border-bottom: 1px solid #e1e1e1;
    }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .blog-archive .post-sidebar.col {
        padding: 0 15px !important;
    }
    .blog-tc4 .box-vertical .box-image{
        width: 30% !important;
        float: left;
    }
     .blog-tc4 .box-vertical .image-cover {
        padding-top: 100% !important;
    }
    .blog-tc4 .box-vertical .box-text {
        width: calc( 100% - 30% );
        float: left;
        padding-left: 15px;
        padding-bottom: 0;
    }
    .blog-tc4 .col.post-item .post-title {
        font-size: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 0 !important;
    }
    .blog-tc4 .col.post-item  .from_the_blog_excerpt  {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 22px;
        height: 44px;
        font-size: 14px;
    }
    .blog-tc4 .col.post-item .post-meta {
        font-size: 13px;
    }
    .blog-tc4 .col.post-item .col-inner {
        overflow: hidden;
        border-bottom: 1px dashed #ccc;
        padding: 7px 0;
    }
    .blog-tc4 .col.post-item:last-child .col-inner,
    .blog-tc4 .box-vertical {
        border: none;;
    }
}
/* */
body.nav-dropdown-has-border .nav-dropdown {
    border: none;
    padding: 0;
}
body.nav-dropdown-has-border .nav-dropdown a {
    padding: 10px !important;
    margin: 0 !important;
    border-radius: 0;
}
.post_comments  {
    display: none;
}

/* Sidebar */

/* */

/* */

.product-small.box ins *,
.product-small.box .price > .amount * {
    color: #F30E25;
}
.product-small.box del * {
    color: #333;
}
.product-small.box .product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 25px;
    height: 50px;
    font-size: 18px;
    color: #333;
}
/*.product-small.box .box-image img {
    height: 250px;
    object-fit: cover;
}
*//* */
@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1)
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1)
    }
    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1)
    }
}
.pulse {
    transition: all 150ms linear 0s;
    animation-name: pulse;
    -webkit-animation-name: pulse;
    animation-delay: 1s;
    -webkit-animation-delay: 1s;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

blockquote {

    font-size: 110%;
    color:#666;

    margin: 0 auto;
    border-left:0px;
    margin-left: 20px;
    padding-bottom: 50px;
}
blockquote h1 {
    font-size: 3rem;
}
blockquote p {
    font-style: italic;
    margin-bottom: 0;
}
blockquote p::before,
blockquote p::after {
    content: "“";
    font-family: Georgia;
    font-size: 6rem;
    margin: -3rem 0 0 -4rem;
    position: absolute;
    opacity: 0.5;
    color:var(--primary-color);
}
blockquote p::after {
    content: "”";
    margin: -2rem -3rem 0 0;
}
blockquote cite {
    font-size: 1.5rem;
}
.shop-page-title.category-page-title.page-title {
    display: none;
}
.resource-center-header .nav-uppercase>li {
    margin: 0 8px;
}
.resource-center-header .nav-uppercase>li>a {
    color: #000;
    padding: 8px 15px;
    font-size: 16px;
    background: #ccc;
    border-radius: 6px;
    display: block;
}
.resource-center-header .nav-uppercase>li.active>a {
    background: #003993;
    color: #fff;
}

.resource-center-header h1 {
    font-size: 3em;
    margin-bottom: 15px;
    color: #003993;
}
/* */
/*.blog-single > .row {
    background: #fff;
    padding: 30px 0;
}*/
.widget-area, 
.single .article-inner {
    background-color: #fff;
    padding: 20px;
    border-radius: 16px;
}

.custom-cat-banner-wrap {
    margin: 20px 0;
}

/* Swiper slider */
.custom-banner-sliders {
    position: relative;
    padding: 0 0px;
    overflow: hidden; /* chặn item lấp ló phía ngoài vùng hiển thị */
}

.custom-banner-slide a {
    display: block;
}

.custom-banner-slide img {
    width: 100%;
    display: block;
}

.custom-banner-prev,
.custom-banner-next {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    top: 50%;
    margin-top: -18px;
}

.custom-banner-prev::after,
.custom-banner-next::after {
    font-size: 14px;
    color: #003993;
    font-weight: bold;
}

.custom-banner-prev {
    left: 0;
}

.custom-banner-next {
    right: 0;
}

/* Brand tags */
.custom-brand-tags {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.custom-brand-tag {
    background: #003993;
    color: #fff;
    padding: 6px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s;
    flex-shrink: 0;
}

.custom-brand-tag:hover {
    background: #f5a623;
    color: #003993;
}
.p-poli_wrap h4 {
    padding: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #4b4b4b;
    border-bottom: 1px solid #ccc;
}
.p-poli-list li {
    padding: 10px 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
}
.p-poli-list li:not(:last-child) {
    border-bottom: 1px solid #ccc;
}
.p-poli-list li img {
    width: 40px;
    width: 100%;
    max-width: 30px;
    margin-right: 12px;
}
.spnb .psb-stars {
    display: none;
}
.spnb .taki-contact-loop {
    display: none;
}
.spnb del {
    display: none;
}
.spnb .product-small.box .product-title {
    margin-bottom: 15px;
}
.spnb .product-small.box .product-title a {
    font-size: 16px;
    line-height: 20px;
    height: 40px;
}
.spnb .product-small ins span.amount {
    font-size: 18px;
}
.spnb .product-small .add-to-cart-button {
    bottom: 5px;

}
.spnb .product-small .add-to-cart-button a {
    width: 32px;
    height: 32px;
    background-size: contain;
}
.taki-contact-loop {
    background: linear-gradient(180deg, rgba(243, 192, 101, 1) 0%, rgba(255, 244, 199, 1) 50%, rgba(243, 192, 101, 1) 100%);
    font-size: 16px;
    color: #003993;
    border-radius: 0 30px 30px 0;
    position: relative;
    left: -13px;
    padding: 3px 15px;
    display: inline-block;
    margin-top: 10px;
}
.taki-contact-loop a {
    color: #003993;
}
.taki-contact-loop a:hover {
    color: #003993;
}
.psb-stars {
    color: #493E31;
    margin: 4px 0 10px;
    display: block;
}
.product-small del {
    text-decoration: none;
}
.product-small del span.amount {
    font-size: 16px;
    text-decoration: line-through;
}
.product-small ins span.amount {
    font-size: 20px;
}

.product-small .add-to-cart-button {
    position: absolute;
    bottom: 50px;
    right: 8px;
}
.product-small .add-to-cart-button a {
    text-indent: -9999px;
    background-color: transparent !important;
    background-image: url(images/addtocart.png);
    display: inline-block;
    width: 40px;
    height: 40px;
    box-shadow: none;
    margin: 0;
}
.product-small .add-to-cart-button a:after {
    display: none;
}
.product-small.box:hover {
    background: #003993;
}
.product-small.box:hover .product-title a {
    color: #fff;
}
.product-small.box:hover .psb-stars {
    color: #FCB43E;
}
.product-small.box:hover del * {
    color: #fff;
}

.absolute-footer {
    display: none;
}
#footer li {
    margin-left: 16px;
}
.col.post-item:last-child .box-vertical {
    border-bottom: none;
}
.col.post-item .post-title {
    font-size: 18px;
    height: auto;
}
.col.post-item .post-meta {
    font-size: 14px;
}
.col.post-item .from_the_blog_excerpt {
    font-size: 16px;
    color: #333;
}
/* Khung ảnh: ẩn phần ảnh tràn ra khi zoom */
.col.post-item .box-image {
    overflow: hidden;
}

/* Ảnh: trạng thái thường + transition mượt */
.col.post-item .box-image img {
    display: block;
    width: 100%;
    transition: transform 0.5s ease;
}

/* Hover vào ảnh thì zoom in */
.col.post-item .box-image:hover img {
    transform: scale(1.1);
}
.header-main .nav > li > a {
    font-size: 16px;
    font-weight: normal;
}
.header-main .nav > li.active > a {
    font-weight: bold;
}

.woocommerce-tabs .nav.nav-line-grow>li>a {
    font-size: 22px;
}
.woocommerce-tabs .nav-line-grow>li>a:before {
    bottom: 0;
    top: auto;
}
.archive .col.post-item .col-inner {
    background-color: #fff;
    padding: 15px;
    border-bottom: 3px solid #003993;
    -webkit-box-shadow: rgba(0, 0, 0, .25) 0 .0625em .0625em, rgba(0, 0, 0, .25) 0 .125em .5em, rgba(255, 255, 255, .1) 0 0 0 1px inset;
    box-shadow: rgba(0, 0, 0, .25) 0 .0625em .0625em, rgba(0, 0, 0, .25) 0 .125em .5em, rgba(255, 255, 255, .1) 0 0 0 1px inset;
    background-color: #fff;
    border-radius: 5px 5px 0 0;
}

@media (max-width: 768px) {
    .custom-brand-tags {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
    }

    .custom-brand-tag {
        scroll-snap-align: start;
    }

    .custom-brand-tags::-webkit-scrollbar {
        height: 4px;
    }

    .custom-brand-tags::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

    .custom-brand-tags::-webkit-scrollbar-track {
        background: transparent;
    }
    body .taki-contact-loop {
        font-size: 11px;
    }
    .product-small .add-to-cart-button {
        bottom: 14px;
        right: 2px;
    }
    body .psb-qty{
        width: 100%;
        border: none;
    }
    body .psb-qty button {
        border: 1px solid #e1e1e1;
    }
    body .psb-qty input {
        border: none;
        border-top: 1px solid #e1e1e1 !important;
        border-bottom: 1px solid #e1e1e1 !important;
    }
}

