/*
Theme Name: Megaline
Author: ninhductuyen12@gmail.com
Version: 1.1.2
Theme URI: 
Description: Theme được thiết kế riêng cho megaline sau
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.4
*/
/* Style body , container and permalink
-------------------------------------------------------------- */
body{
    background: var(--fc_body_background_color);
    font-family: Inter, Roboto, "SF Pro Display", system-ui, sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: var(--fc_body_color);
}
strong{
    font-weight: 600;
}
a{
    text-decoration: none;
    color: var(--fc_color_permalink);
}
a:hover{
    color: var(--fc_color_permalink_hover);
}
.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6{
    color: var(--fc_color_heading);
}
.container{
    max-width:1320px;
}
/* Style swal2
-------------------------------------------------------------- */
.swal2-confirm{
    min-width:100px;
    background:var(--fc_color_primary);
    outline: none !important;
    border:0px !important;
    box-shadow: none !important;
}
.swal2-html-container{
    font-size:15px;
    color:#666;
}
/* Header top
-------------------------------------------------------------- */
.header-top-content{
    background:  var(--fc_background_header_top);
    color: var(--fc_color_header_top);
    padding:7px 15px 7px 15px;
}

.header-hotline {

    margin-top:5px;
}
.header-hotline img{
    margin-right: 2px;
    margin-top:3px;
}
.header-top-link {
    color: rgb(129, 215, 66);
}
.header-top-link:hover {
    color: #fff;
}
/* Header Main
-------------------------------------------------------------- */
.header-menu-main{
    background:  var(--fc_header_background);
    transition: all 0.5s;
    z-index:99;
}
.right-header-menu{
    padding-right:200px;
}
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
 /* Clean Header Design - 3 Rows
-------------------------------------------------------------- */
:root {
    --fc-blue-dark: rgb(30, 58, 138); 
    --fc-yellow-accent: rgb(253, 224, 71); 
    --fc-white: #ffffff;
    
}

.brightness-white { filter: brightness(0) invert(1); }
.transition-200 { transition: all 0.2s ease; }

/* Row 1: Top Bar */
.header-top-bar {
    color: var(--fc-white);
}
.top-bar-inner {
    height: 36px;
}
.top-bar-left, .top-bar-right {
    gap: 20px;
}
.top-info-item {
    color: var(--fc-white);
    text-decoration: none;
    gap: 6px;
    transition: color 0.2s;
}
.top-info-item:hover {
    color: var(--fc-yellow-accent);
}

.language-switcher {
    gap: 4px;
}
.lang-btn {
    background: transparent;
    border: none;
    color: var(--fc-white);
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}
.lang-btn:hover {
    color: var(--fc-yellow-accent);
}
.lang-btn.active {
    background-color: var(--fc-yellow-accent);
    color: var(--fc-blue-dark);
}
.lang-divider {
    opacity: 0.4;
}

/* Row 2: Middle Header */
.header-middle {
    background: var(--fc-white);
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
}
.header-middle-inner {
    gap: 20px;
}
.header-logo .logo-img {
    height: 56px;
    width: auto;
    object-contain: contain;
}

.header-search-wrap {
    flex: 1;
    max-width: 700px;
}
.search-input-group {
    position: relative;
    width: 100%;
}
.search-input {
    width: 100%;
    border: 2px solid var(--fc-blue-dark);
    border-radius: 8px;
    padding: 10px 16px;
    padding-right: 56px;
    transition: border-color 0.2s;
}
.search-input:focus {
    outline: none;
    border-color: var(--fc-yellow-accent);
}
.btn-search {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background-color: var(--fc-blue-dark);
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background-color 0.2s;
}
.btn-search:hover {
    background-color: rgb(29, 78, 216);
}

.header-actions {
    gap: 16px;
}
.action-item {
    gap: 4px;
    text-decoration: none;
    color: #374151;
    transition: color 0.2s;
    padding: 6px 12px;
    border-radius: 8px;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.action-item:hover {
    color: var(--fc-blue-dark);
    background-color: #f3f4f6;
}
.cart-icon-box {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: #dc2626;
    color: #fff;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    padding: 0 3px;
    font-weight: 700;
    line-height: 1;
    border: 2px solid #fff;
}
.action-text {
    color: #374151;
    line-height: 1;
    display: block;
}
/* Mobile menu toggle button */
.btn-menu-mobile {
    background: transparent;
    border: 1px solid #d1d5db;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.btn-menu-mobile:hover {
    background-color: #f3f4f6;
    border-color: var(--fc-blue-dark);
}

/* Row 3: Navigation Bar */
.header-navigation {
    background-color: var(--fc-blue-dark);
}
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list li a {
    color: var(--fc-white);
    text-decoration: none;
    padding: 12px 16px;
    gap: 4px;
    transition: all 0.2s;
}
.nav-list li a:hover {
    background-color: var(--fc-white);
    color: var(--fc-blue-dark);
}
.nav-list li.current-menu-item a {
    background-color: var(--fc-yellow-accent);
    color: var(--fc-blue-dark);
}

/* Fixed Header */
.header-main-area.enable-header-fixed.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    animation: fadeInDown 0.4s ease;
}
.header-main-area.fixed .header-top-bar { display: none; }
.header-main-area.fixed .header-middle { padding: 6px 0; }
.header-main-area.fixed .header-logo .logo-img { height: 44px; }

/* Mobile */
@media (max-width: 991px) {
    .header-logo .logo-img { height: 40px; }
    .header-search-wrap { display: none; }
    .header-navigation { display: none !important; }
}
/* Desktop: hide hamburger button */
@media (min-width: 992px) {
    .btn-menu-mobile {
        display: none !important;
    }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Legacy Support & Reset */
.header-menu-main { display: none; }

/* Styling for the search product modal
--------------------------------------------------------------*/
.modal-search-product {
    z-index: 9999;
    display: none;
}
/* Active state for search product modal
--------------------------------------------------------------*/
.modal-search-product.active {
    display: block;
}
/* Modal content styling
--------------------------------------------------------------*/
.modal-content-search {
    max-width: 700px;
    max-height: 100%;
    margin-top: 20vh;
}
/* Styling for the modal form
--------------------------------------------------------------*/
.modal-content-search form {
    width: 100%;
    border-radius: 5px 5px 0px 0px;
}
/* Input field styling inside the modal
--------------------------------------------------------------*/
.modal-content-search form .input-search {
    width: 100%;
    border-radius: 0px;
    border: 0px;
    padding: 25px 15px;
}
/* Submit button styling in the search form
--------------------------------------------------------------*/
.modal-content-search form .btn-search-submit {
    border-radius: 0px;
    background: #FFF;
}
/* Styling for the search products results container
--------------------------------------------------------------*/
#search-products-results {
    max-height: 60vh;
    border-radius: 0px 0px 5px 5px;
    border-top: 1px solid #EEE;
}
/* Styling for product thumbnail links within the search results
--------------------------------------------------------------*/
#search-products-results .thumbnail-result-product a {
    width: 50px;
    height: 50px;
    border: 1px solid #EEE;
    border-radius: 5px;
}
/* style width sidebar and content
--------------------------------------------------------------*/
.sidebar-template{
    width:27%;
}
.layout-sidebar{
    width:73%;
}
/* Style Logo menu sidebar mobile
-------------------------------------------------------------- */
.logo-menu-sidebar-mobile {
    height: auto;
    background: transparent;
}
.logo-menu-sidebar-mobile:after {
    display: none !important;
}
.logo-menu-sidebar-mobile img {
    max-height: 40px;
    width: auto;
    border-radius: 0 !important;
    max-width: 100%;
}
/* Background for the mobile sidebar menu
--------------------------------------------------------------*/
.background-sidebar-menu-mobile {
    background: rgba(0, 0, 0, 0.5);
}
/* Styling for the mobile sidebar menu
--------------------------------------------------------------*/
.sidebar-menu-mobile {
    z-index: 9999;
}
/* Styling for the content area of the mobile sidebar menu
--------------------------------------------------------------*/
.content-sidebar-menu-mobile {
    max-width: 300px;
    background: #ffffff !important;
    display: flex;
    flex-direction: column;
}
/* Wrapper for the mobile menu
--------------------------------------------------------------*/
.mobile-menu-wrapper {
    flex: 1;
    overflow-y: auto;
    height: auto !important;
}

/* Styling for images inside the mobile menu wrapper
--------------------------------------------------------------*/
.mobile-menu-wrapper img {
    max-width: 20px;
    max-height: 20px;
    margin-right: 5px;
}

/* Footer menu styling in the mobile sidebar
--------------------------------------------------------------*/
.footer-menu-sidebar-mobile {
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9;
    height: 50px;
}

/* Styling for social media links in the mobile sidebar footer
--------------------------------------------------------------*/
.footer-menu-sidebar-mobile .item-social a {
    width: 30px;
    height: 30px;
    padding: 5px;
}
/* Styling for the sidebar menu list and list items
--------------------------------------------------------------*/
.content-sidebar-menu-mobile ul,
.content-sidebar-menu-mobile ul li {
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: block;
    position: relative;
}

/* Styling for nested submenus
--------------------------------------------------------------*/
.content-sidebar-menu-mobile ul ul {
    display: none;
    padding: 10px 10px 10px 15px;
}

/* Dropdown menu styling
--------------------------------------------------------------*/
.mobile-menu .dropdown-menu {
    position: absolute;
    right: 10px;
    top: 15px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid var(--fc_color_nav_menu);
}

/* Styling for links inside the sidebar menu
--------------------------------------------------------------*/
.content-sidebar-menu-mobile ul li a {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 20px;
    color: #334155 !important;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

/* Bottom border styling for sidebar menu links
--------------------------------------------------------------*/
.content-sidebar-menu-mobile ul li a:after {
    display: none !important;
}

/* Category headers / non-clickable header links */
.content-sidebar-menu-mobile ul li:not(.menu-item-has-children) > a[href="#"],
.content-sidebar-menu-mobile ul li.menu-item-header > a {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b !important;
    letter-spacing: 0.5px;
    padding-top: 18px;
    padding-bottom: 8px;
    background: transparent !important;
    pointer-events: none;
    border-bottom: none;
}

/* Hide the bottom border for nested submenu links
--------------------------------------------------------------*/
.content-sidebar-menu-mobile ul ul a:after {
    display: none;
}

/* Hover effect for links in the sidebar menu
--------------------------------------------------------------*/
.content-sidebar-menu-mobile ul li a:hover {
    color: var(--fc-v5-blue-dark, #1d4ed8) !important;
    background: #f8fafc;
    padding-left: 24px;
}

/* Hover effect for dropdown menu when the link is hovered
--------------------------------------------------------------*/
.content-sidebar-menu-mobile ul li a:hover .dropdown-menu {
    border-top-color: var(--fc-v5-blue-dark, #1d4ed8) !important;
}

/* Hover effect for nested submenu links
--------------------------------------------------------------*/
.content-sidebar-menu-mobile ul li ul li a:hover {
    background: transparent;
    color: var(--fc_color_nav_menu);
}

/* Footer Clean Styling
-------------------------------------------------------------- */
.footer-template {
    background: var(--fc_background_footer);
    color: var(--fc_color_footer);
    padding: 80px 0px;
}

.row-footer-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
}
@media (min-width: 576px) {
    .row-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}
@media (min-width: 992px) {
    .row-footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 30px;
    }
}
.row-footer-grid > .item-footer {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    padding: 0;
}

.footer-logo img {
    width: 150px;
    height: auto;
    object-fit: contain;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
}

/* Titles */
.footer-title {
    color: #fff;
    letter-spacing: 0.05em;
    padding-bottom: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid #374151;
}

/* Menus */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-menu li {
    margin-bottom: 12px;
}
.footer-menu li a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.2s ease;
}
.footer-menu li a::before {
    content: "";
    width: 12px;
    height: 12px;
    margin-right: 8px;
    background-color: #9ca3af;
    -webkit-mask-image: url("assets/icons/icon-read-more.svg");
    mask-image: url("assets/icons/icon-read-more.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.footer-menu li a:hover {
    color: #facc15;
    padding-left: 5px;
}
.footer-menu li a:hover::before {
    background-color: #facc15;
}

/* Contact Info */
.footer-contact-info .contact-line {
    gap: 12px;
    margin-bottom: 15px;
    color: #9ca3af;
}
.footer-contact-info .contact-line::before {
    content: "";
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    background-color: #facc15; /* This colors the icons yellow */
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.footer-contact-info .contact-address::before {
    -webkit-mask-image: url("assets/icons/icon-contact-branch.svg");
    mask-image: url("assets/icons/icon-contact-branch.svg");
}
.footer-contact-info .contact-phone::before {
    -webkit-mask-image: url("assets/icons/icon-phone.svg");
    mask-image: url("assets/icons/icon-phone.svg");
}
.footer-contact-info .contact-email::before {
    -webkit-mask-image: url("assets/icons/icon-email.svg");
    mask-image: url("assets/icons/icon-email.svg");
}
.footer-contact-info a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-contact-info a:hover {
    color: #facc15;
}

/* Newsletter */
.newsletter-label {
    color: #9ca3af;
}
.newsletter-form-inner .wpcf7-form {
    gap: 8px;
}
.newsletter-form-inner input[type="email"] {
    flex: 1;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 8px 12px;
    color: #fff;
    outline: none;
}
.newsletter-form-inner .wpcf7-submit {
    background-color: #eab308;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0;
    position: relative;
}
.newsletter-form-inner .wpcf7-submit::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background-color: #1f2937;
    -webkit-mask-image: url("assets/icons/icon-submit.svg");
    mask-image: url("assets/icons/icon-submit.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Social Box Box */
.footer-social-wrap .item-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    transition: all 0.2s;
    position: relative;
}
.footer-social-wrap .item-social a::before {
    content: "";
    width: 18px;
    height: 18px;
    background-color: #fff;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.footer-social-wrap .item-social a:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

/* Specific Social Icons from assets/icons/ using Mask */
.footer-social-wrap .item-social a.social-facebook::before {
    -webkit-mask-image: url("assets/icons/icon-facebook.svg");
    mask-image: url("assets/icons/icon-facebook.svg");
}
.footer-social-wrap .item-social a.social-youtube::before {
    -webkit-mask-image: url("assets/icons/icon-youtube.svg");
    mask-image: url("assets/icons/icon-youtube.svg");
}
.footer-social-wrap .item-social a.social-tiktok::before {
    -webkit-mask-image: url("assets/icons/icon-tiktok.svg");
    mask-image: url("assets/icons/icon-tiktok.svg");
}

/* Copyright section */
.copyright-template {
    background: var(--fc_background_copyright);
    color: var(--fc_color_copyright);
    padding: 20px 0;
    line-height: 1.5;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-template p {
    margin: 0;
    opacity: 0.8;
}
/* End Copyright section */
/* Footer loading
-------------------------------------------------------------- */
#loading_page{
    display: none !important;
    z-index:9999;
}
#loading_page.active{
    display: flex !important;
}

.loading-spinner{
    border-color:var(--fc_color_primary);
}
.loading-spinner:after{
    border-color:#FF0000 transparent;
}
/* breadcrumb style
-------------------------------------------------------------- */
.breadcrumb-template{
    background:#FFF;
    color:#434343;
}
.breadcrumb-template a{
    color:#434343;
}

/* 
Product Tab Section Header & Nav - Design v5
--------------------------------------------------------------*/
.builder-product-tab-section {
    padding-block: clamp(48px, 6vw, 80px);
}
.builder-product-tab-section .product-tab-price {
    font-weight: 700;
    font-size: 14px;
}
.btn-catalogue-download {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    border: 2px solid #2b3a7b;
    color: #2b3a7b;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    text-decoration: none;
}
.btn-catalogue-download:hover {
    background: #2b3a7b;
    color: #fff !important;
    border-color: #2b3a7b;
}

.builder-product-tab-nav {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    padding: 5px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
}

.builder-product-tab-nav .btn-tab-pill {
    background: transparent;
    border: none;
    color: #666;
    border-radius: 12px;
    padding: 10px 25px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.builder-product-tab-nav .btn-tab-pill:hover {
    color: var(--fc_color_primary);
}

.builder-product-tab-nav .btn-tab-pill.active {
    background: var(--fc_color_primary);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}



body.single.single-post .content-single-full .breadcrumb-template .container{
    max-width:800px;
}
/* Redundant single-post breadcrumb background removed */
/* Content editor style
-------------------------------------------------------------- */
.content-editor img{
    width:100%;
    max-width:100%;
    margin:15px 0px;
}

/* Button back to top Style
-------------------------------------------------------------- */
.btn-to-top{
    width: 40px;
    height: 40px;
    right: 20px;
    top: 90%;
    z-index:99999;
}
/* Styling for pagination links and current page
--------------------------------------------------------------*/
.fc-pagination ul li span,
.fc-pagination ul li a,
.fc-pagination ul li span:hover,
.fc-pagination ul li a:hover,
.fc-pagination ul li span.current {
    background: none;
    color: var(--fc_color_primary);
    border: 0px;
    padding: 2px 10px;
}

/* Styling for pagination link elements
--------------------------------------------------------------*/
.fc-pagination ul li span,
.fc-pagination ul li a {
    position: relative;
    font-weight: 500;
}

/* Adding a vertical line to the right of pagination links
--------------------------------------------------------------*/
.fc-pagination ul li span:after,
.fc-pagination ul li a:after {
    content: "";
    position: absolute;
    right: 0px;
    top: 15%;
    width: 1px;
    height: 70%;
    background: var(--fc_color_primary);
}

/* Hiding the line for the "next" button in pagination
--------------------------------------------------------------*/
.fc-pagination ul li a.next:after {
    display: none;
}

/* Styling for the current page number in pagination
--------------------------------------------------------------*/
.fc-pagination ul li span.current {
    color: #000;
}
/* style newsletter
-------------------------------------------------------------- */
/* Styling for the newsletter form container */
.content-form-newsletter {
    padding: 20px 50px;
    background: #F1EACE !important;
}
.row-newsletter{
    margin-left:-10px;
    margin-right:-10px;
}

/* Wrapping style for form control newsletter
--------------------------------------------------------------*/
.content-form-newsletter .wpcf7-form-control-wrap {
    margin: 0px;
    position: relative;
}

/* Styling for the input controls inside the form newsletter
--------------------------------------------------------------*/
.content-form-newsletter .wpcf7-form .wpcf7-form-control {
    border-color: var(--fc_color_secondary);
    color: var(--fc_color_secondary);
    padding-left: 50px;
}

/* Styling for the submit button inside the form newsletter
--------------------------------------------------------------*/
.content-form-newsletter .wpcf7-form .wpcf7-submit {
    background: var(--fc_color_secondary);
    color: #FFF !important;
    width: 100% !important;
    min-width: auto !important;
    padding: 12px 18px;
}

/* Adding an email icon inside the input field newsletter
--------------------------------------------------------------*/
.content-form-newsletter .wpcf7-form .wpcf7-form-control-wrap:after {
    content: "";
    background: url("assets/icons/icon-email.svg");
    position: absolute;
    left: 10px;
    width: 22px;
    height: 18px;
    top: 50%;
    transform: translate(0, -50%);
}

/* Styling for breadcrumb template on non-woocommerce pages
--------------------------------------------------------------*/
body.page:not(.woocommerce) .breadcrumb-template,
body.single.single-post:not(.woocommerce) .breadcrumb-template,
body.search:not(.woocommerce) .breadcrumb-template,
body.archive:not(.woocommerce) .breadcrumb-template {
    padding-top: 30px;
    padding-bottom: 20px;
}

/* Styling for the post loop item separator line
--------------------------------------------------------------*/
.item-post-loop:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 1px;
    background: var(--fc_color_primary);
    opacity: 0.5;
}

/* Hiding the separator line for the first post item
--------------------------------------------------------------*/
.item-post-loop.first-item-post-loop:after {
    display: none;
}
/* Style Thumbnail Item Post Date
-------------------------------------------------------------- */
.item-post-loop .date-item-post-loop{
    color:#B5B5B5;
}
/* Styling for list items within the thumbnail item post loop
--------------------------------------------------------------
*/
.item-blog-builder ul.post-categories,
.item-blog-builder ul.post-categories li,
.item-post-loop .thumbnail-item-post-loop ul,
.item-post-loop .thumbnail-item-post-loop ul li {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

/* Positioning and styling of the thumbnail item post loop list
 --------------------------------------------------------------
 */
.item-blog-builder ul.post-categories,
.item-post-loop .thumbnail-item-post-loop ul {
    position: absolute;
    bottom: -5px;
    left: 0px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.item-blog-builder ul.post-categories{
    bottom: 10px;
}

/* Styling for links inside the thumbnail item post loop list
 --------------------------------------------------------------
 */
.item-blog-builder ul.post-categories a,
.item-post-loop .thumbnail-item-post-loop ul a {
    color: #FFF;
    background: var(--fc_color_primary);
    font-size: 11px;
    display: inline-block;
    padding: 5px 10px;
    margin-right: 10px;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
}
/* Single style
-------------------------------------------------------------- */
.information-single-post{
    color:#B5B5B5;
}

/* Styling for individual tag links
--------------------------------------------------------------*/
.tags-post a {
    display: inline-block;
    padding: 2px 10px 2px 30px;
    background: #ECECEC;
    color: #333333a8;
    margin: 2px;
    position: relative;
}

/* Styling for tag links when hover
--------------------------------------------------------------*/
.tags-post a:hover {
    background: var(--fc_color_primary);
    color: #FFF;
}

/* Adding a tag icon before the tag link
--------------------------------------------------------------*/
.tags-post a:before {
    content: "";
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translate(0, -50%);
    background-image: url("assets/icons/icon-tag.png");
    display: inline-block;
    width: 12px;
    height: 12px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* Invert tag icon on hover
--------------------------------------------------------------*/
.tags-post a:hover:before {
    filter: invert(1);
}

/* Styling for the related post list
--------------------------------------------------------------*/
.content-relate-post ul,
.content-relate-post ul li {
    list-style: none;
    margin: 0px;
    display: block;
    position: relative;
    padding: 0px;
}

/* Styling for individual list items in the related posts
--------------------------------------------------------------*/
.content-relate-post ul li {
    padding: 7px 15px 7px 30px;
}

/* Adding an icon before each related post item
--------------------------------------------------------------*/
.content-relate-post ul li:before {
    content: "";
    position: absolute;
    left: 0px;
    background-image: url("assets/icons/icon-relate.svg");
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
/* 404 page
-------------------------------------------------------------- */
.four-zero-four-bg{
    background-image: url("assets/images/dribbble.gif");
    height: 400px;
    background-position: center;
    max-width:700px;
    background-repeat: no-repeat;
}
/* Style Blog Woocommerce
-------------------------------------------------------------- */
.content-item-blog-wc{
    transition: all 0.3s;
    border:1px solid #EEE;
}
.content-item-blog-wc:hover{
    background: var(--fc_color_tertiary);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}
.woocommerce-checkout #order_review,
.cart-collaterals .cart_totals{
    border-color:var(--fc_color_primary);
}

/* Style Header Product Category Woocommerce
-------------------------------------------------------------- */
.header-product-category{
    background-color: var(--fc_background_header_top);
    padding-top:10%;
    padding-bottom: 10%;
}
.header-product-category:after{
    content:"";
    position: absolute;
    background: var(--fc_background_header_top);
    opacity: 0.6;
    width:100%;
    height:100%;
    left:0px;
    top:0px;
}
.header-product-category *{
    color:var(--fc_color_tertiary);
}
.header-product-category .container{
    z-index: 1;
}
/* Style Header Description Product Category Woocommerce
-------------------------------------------------------------- */
.description-product-category{
    background-color: var(--fc_background_header_top);
    padding-top:70px;
    padding-bottom:30px;
}
.description-product-category *{
    color:var(--fc_color_tertiary);
}
.description-product-category .container{
    z-index:1;
}

/* Style Header Product Tags , and Search Woocommerce
-------------------------------------------------------------- */
body.post-type-archive-product.woocommerce .header-product-category,
body.tax-product_tag.woocommerce .header-product-category{
    padding-top:40px;
    padding-bottom: 40px;
}
body.tax-product_tag.woocommerce .woocommerce-products-header__title,
body.post-type-archive-product.woocommerce .woocommerce-products-header__title{
    font-size: 24px;
}
/* Style Sidebar Cart
-------------------------------------------------------------- */
#cart-sidebar .woocommerce-mini-cart__buttons .button.wc-forward{
    background: var(--fc_color_primary);
    border-color: var(--fc_color_primary);
    color:#FFF;
}
#cart-sidebar .woocommerce-mini-cart__buttons .button.checkout.wc-forward{
    background: var(--fc_color_secondary);
    border-color: var(--fc_color_secondary);
}
#cart-sidebar .woocommerce-mini-cart__buttons .button.wc-forward:hover{
    background: #FFF;
    color: var(--fc_color_primary);
}
#cart-sidebar .woocommerce-mini-cart__buttons .button.checkout.wc-forward:hover{
    color: var(--fc_color_secondary);
}
/* Style Order Link Product Category
-------------------------------------------------------------- */
ul.orderby-links li a:hover,
ul.orderby-links li.active a{
    background: var(--fc_color_primary) !important;
    border-color: var(--fc_color_primary) !important;
}
/* Style Sidebar Woocommerce mini cart button and Price filter
-------------------------------------------------------------- */
.widget.woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons.buttons a,
.widget.woocommerce.widget_price_filter .button {
    background: var(--fc_color_primary) !important;
    border-color: var(--fc_color_primary) !important;
}

/* Hover effect for the buttons in the shopping cart widget
--------------------------------------------------------------*/
.widget.woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons.buttons a:hover,
.widget.woocommerce.widget_price_filter .button:hover {
    background: #FFF !important;
}

/* Styling for the price slider background Sidebar
--------------------------------------------------------------*/
.widget.woocommerce.widget_price_filter .price_slider {
    background: var(--fc_color_secondary) !important;
}

/* Hover effect for various widget links Sidebar
--------------------------------------------------------------*/
.woocommerce .widget_layered_nav ul li a:hover,
.woocommerce .widget_product_tag_cloud a:hover,
.widget.woocommerce.widget_price_filter .price_slider .ui-slider-range {
    background: var(--fc_color_primary) !important;
}

/* Styling for the slider handle Sidebar
--------------------------------------------------------------*/
.widget.woocommerce.widget_price_filter .price_slider .ui-slider-handle {
    border-color: var(--fc_color_primary) !important;
}
/* Style Item Loop Product
-------------------------------------------------------------- */
.content-product-loop .action-item-product-loop a{
    background: #FFF;
    color:var(--fc_color_primary);
    border-color: var(--fc_color_primary);
}
.content-product-loop:hover .action-item-product-loop a{
    background: var(--fc_color_primary);
    color:#FFF;
}
/* Style item title loop product and category
--------------------------------------------------------------*/
.content-product-loop .woocommerce-loop-category__title,
.content-product-loop .title-item-product-loop,
.content-product-loop .woocommerce-loop-product__title {
    font-size: 14px;
}

/* Style FlexSlider Dots
-------------------------------------------------------------- */
.woocommerce .flex-control-nav li a.flex-active{
    background: var(--fc_color_primary);
}
.woocommerce .flex-control-nav li a{
    border-color: var(--fc_color_primary);
}
/* Style Modal Image Single Product
-------------------------------------------------------------- */
.pswp__bg{
    background: var(--fc_color_primary) !important;
    opacity: 0.5 !important;
}
/* Style Product Gallery
--------------------------------------------------------------*/
.woocommerce-product-gallery .flex-control-nav img.flex-active{
    border-color: var(--fc_color_primary);
}
/* Style Title Tab in Single Product
 --------------------------------------------------------------*/
.single-product .title-tab-single-product{
    border:0px;
}
/* Style Woocommerce Reviews
--------------------------------------------------------------*/
.woocommerce-Reviews #title-review-modal,
.woocommerce-Reviews #review-modal #submit-review-modal,
.woocommerce-Reviews #open-review-modal{
    background: var(--fc_color_primary);
}
.woocommerce-Reviews .item-review-breakdown div{
    background: #FFD900;
}
.woocommerce-Reviews .list-reviews-product .comment_container .comment-text{
    background: var(--fc_color_tertiary);
    border-color:var(--fc_color_tertiary);
}
.woocommerce-Reviews .list-reviews-product li .meta strong{
    color: var(--fc_color_primary);
}
.woocommerce-Reviews .review-breakdown:after,.woocommerce-Reviews .review-average:after{
    border-color: var(--fc_color_primary);
}

/*
Style Buy Contact Modal Product
--------------------------------------------------------------*/
.button-quick-contact-us a,
.right-quick-contact-us .wpcf7-form .wpcf7-submit{
    background: var(--fc_color_primary);
}
.description-quick-contact-us{
    border-color: var(--fc_color_primary);
}
/*
Style Customer Review
--------------------------------------------------------------*/
.customer-review .item-customer-review{
    background:#F1EACE;
}
.customer-review .header-item-customer-review img{
    position: absolute;
    left:0px;
    max-width:65px !important;
    top:5px;
}
.customer-review .header-item-customer-review{
    padding-left: 80px;
    min-height: 70px;
}
.customer-review .header-item-customer-review .title-item-customer-review{
    padding-bottom: 2px;
    padding-top:2px;
}
.customer-review .star-rating:before,.customer-review .star-rating span:before{
    font-size: 15px;
    line-height: 15px;
}
.customer-review .star-rating,
.customer-review .star-rating span{
    height:15px;
}
.customer-review .star-rating{
    width:75px;
}
.customer-review .flex-control-nav{
    margin-top:30px;
}
.customer-review .flex-control-nav li a{
    width:40px;
    height:5px;
    border-radius: 0px;
    background:#F1EACE;
    border:0px;
}
.customer-review .flex-control-nav li a.flex-active{
    background:var(--fc_color_secondary);
}
.customer-review .icon-quote:after{
    bottom: -5px;
    color: #957951;
    opacity: 0.1;
    font-size: 150px;
    left: 20px;
    top:inherit;
    transform:none;
}
/*
Style Statics Builder
--------------------------------------------------------------*/
.wrapper-builder-statics{
    width: 20%;
}
/*
Style Shortcode Woocommerce tabs category
--------------------------------------------------------------*/
.woo-category-tabs .tabs li{
    display: inline-flex;
    padding: 0px;
}

.woo-category-tabs .tabs{
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.woo-category-tabs .tabs li a{
    font-weight: 500;
    font-size: 15px;
    padding: 0px 20px 15px 20px;
    position: relative;
}

.woo-category-tabs .tabs li a:after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: transparent;
    transition: background 0.3s ease-in-out;
}

.woo-category-tabs .tabs li a:hover:after{
    background: var(--fc_color_primary);
}

.woo-category-tabs .tabs li a.active{
    font-weight: 600;
}



.woo-category-tabs .products-in-category .item-category-tab{
    display: inline-flex !important;
    flex: 0 0 auto;
    width: calc(100% / 3);
}

.woo-category-tabs .tab-content .products-in-category{
    margin-left: -10px;
    margin-right: -10px;
}

.woo-category-tabs .item-category-tab .image-item-category-tab img{
    max-width: 90px;
    border-radius: 5px;
    max-height: 65px;
}


/*
overwrite CSS
--------------------------------------------------------------*/
.container-full{
    max-width:1750px;
    margin:0px auto;
}
.container-full-small{
    max-width: 1320px;
    margin:0px auto;
}
.builder-content .container{
    max-width:980px;
}
#review-summary{
    background: #F4F2E9;
        color: #957951;
}
#content-reviews #comments{
    padding: 20px;
    background: #FFFDF6;
}
.woocommerce-Reviews .list-reviews-product li{
    padding:15px 0px;
    border-bottom: 1px solid #3A7920;
}
.woocommerce-Reviews .list-reviews-product li .woocommerce-review__dash,
.woocommerce-Reviews .list-reviews-product li img{
    display: none;
}
.woocommerce-Reviews .list-reviews-product li .woocommerce-review__published-date{
    display: block;
    color:#B5B5B5;
}
.woocommerce-Reviews .list-reviews-product li .woocommerce-review__author{
    font-size: 18px;
}
.woocommerce-Reviews .list-reviews-product li .description{
    padding:0px 20px;
    font-size: 14px;
}
.woocommerce-Reviews .list-reviews-product .comment_container .comment-text{
    background: transparent;
    border:0px;
    padding: 0px;
}
.woocommerce-Reviews .review-breakdown:after, .woocommerce-Reviews .review-average:after{
        height: 70%;
        top:15%;
        border-right: 1px solid #957951;
}
.woocommerce-Reviews .list-reviews-product li .meta strong{
    text-transform: inherit;
    font-size: 16px;
}
.woocommerce-Reviews .list-reviews-product li:last-child{
    border-bottom: 0px;
}
.woocommerce-Reviews .number-review-product,
.woocommerce-Reviews #open-review-modal{
    background: transparent;
    color: #957951;
    border:1px solid #957951;
}
.woocommerce-Reviews .number-review-product{
    height: 38px;
}

.search-form-desktop button.btn-search-submit{
    background: transparent;
    padding: 0px;
    border-radius: 0px;
    right: 5px;
}
.search-form-desktop .search-form .input-search{
    width:0px;
    border:0px;
    border-radius: 0px;
    background: transparent;
    transition: all 0.4s;
    overflow: hidden;
}
.search-form-desktop .search-form{
    border-radius: 5px;
}
.search-form-desktop:hover .search-form .input-search{
    width:180px;
    background: #F1EACE;
}
.woocommerce-info{
    background-color: #fffdf6;
}
.content-single-product{
    border-top:1px solid #3A7920;
}
.title-tab-single-product{
    margin-bottom: 0px;
}

.list-relate-product-sidebar li,
.list-relate-product-sidebar{
    list-style: none;
    margin:0px;
    padding: 0px;
}
.list-relate-product-sidebar li{
    margin-bottom: 20px;
}
.list-relate-product-sidebar img{
    width:100%;
}

.button-quick-contact-us img{
    filter:none;
}
.background-zalo{
    background: #0F8CE5 !important;
}
.background-phone{
    background: #00A806 !important;
}
.background-facebook{
    background: #16428F !important;
}

#description-quick-contact-us {
    border-top: 2px solid #3a7920;
}

#button-quick-contact-us {
    gap: 10px;
}
.builder-blog .woocommerce .flex-control-nav{
    display: none;
}
.title-customer-review {
	padding-left: 10px;
}
.header-menu-main .language-switch {
	display: flex;
	gap: 5px;
	padding-left: 5px;
        }
.header-menu-main  .language-btn {
    padding: 5px 6px;
    border: 1px solid #2e5d1b;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    color: #2e5d1b;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3sease;
}

 .header-menu-main .language-switch .active {
     background-color: #2e5d1b;
       color: white;
        }
.sub-product-category .read-more-content {
	display: none;
}
.iconPlayVideo {
    width: 80px;
    height: 80px;
    background-image: url(assets/icons/icon-play.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain; 
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer; 
    transition: transform 0.3s ease-in-out;
}
.iconPlayVideo:hover {
    transform: translate(-50%, -50%) scale(1.1); 
}

.description-brand {
    color: #4A7A2F; 
    font-size: 15px;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.container.position-relative.description-brand {
    padding: 20px;
}

.category-description p {
    color: #3A7920; 
    font-size: 16px; 
    font-weight: 400;
    line-height: 1.6;
    border-left: 4px solid #3A7920; 
    padding-left: 10px;
    margin-top: 5px;
}
.content-quick-contact-us #messenger-contact-now1 {
    display: none;
}


/* Style CEFITICATE
-------------------------------------------------------------- */
.builder-cefiticate {
    background-color: #F4F2E9;
    }
    .builder-cefiticate .container {
            max-width: 980px;
    }
    .fixed-image-frame {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 250px;
    }
    .main-image {
        max-width: 350px;
        border-radius: 10px;
        box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease-in-out;
    }
    .side-image {
        max-width: 270px;
        border-radius: 10px;
        opacity: 0.8;
        transition: transform 0.3s ease-in-out;
    }
    .thumb-container {
        display: flex;
        align-items: center;
        overflow-x: hidden;
        gap: 10px;
        padding: 5px 10px;
        max-width: 100%;
    }
    .thumb-item img {
        width: 60px;
        height: 60px;
        border-radius: 5px;
        object-fit: cover;
        transition: transform 0.3s ease-in-out;
        cursor: pointer;
    }
    .thumb-item:hover img {
        transform: scale(1.1);
    }
    .thumb-nav {
        display: flex;
    }
/* ======================================================
   Builder – Tiêu đề chung (dùng cho mọi section)
   ====================================================== */
.builder-section-title {
    font-size: clamp(28px, 3vw, 44px);
}

/* ======================================================
   Builder – Sản phẩm theo danh mục (Tab)
   ====================================================== */
.btn-product-tab {
    padding: 8px 20px;
    border: 1px solid var(--fc_color_primary);
    background: transparent;
    color: var(--fc_color_primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s;
}
.btn-product-tab:hover,
.btn-product-tab.active {
    background: var(--fc_color_primary);
    color: #fff;
}
.builder-product-tab-panel { display: none; }
.builder-product-tab-panel.active { display: block; }

.builder-product-tab-card {
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.25s;
    height: 100%;
}
.builder-product-tab-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.builder-product-tab-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.35s;
}
.builder-product-tab-card:hover .builder-product-tab-img img {
    transform: scale(1.04);
}
.btn-product-tab-detail {
    padding: 8px 0;
    border: 1px solid var(--fc_color_primary);
    color: var(--fc_color_primary);
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.25s;
}
.btn-product-tab-detail:hover {
    background: var(--fc_color_primary);
    color: #fff;
}
.btn-product-tab-all {
    padding: 10px 28px;
    border: 2px solid var(--fc_color_primary);
    color: var(--fc_color_primary);
    border-radius: 4px;
    transition: all 0.25s;
    gap: 6px;
    display: inline-flex;
    align-items: center;
}
.btn-product-tab-all:hover {
    background: var(--fc_color_primary);
    color: #fff;
}

/* ======================================================
   Builder – Khách hàng tiêu biểu
   ====================================================== */
.builder-clients-grid {
    margin-left: -8px;
    margin-right: -8px;
}
.builder-clients-grid > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}
.builder-client-item {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    min-height: 60px;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.builder-client-item:hover {
    border-color: var(--fc_color_primary);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.builder-client-item a,
.builder-client-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 10px 8px;
    text-align: center;
    font-size: 13px;
    line-height: 1.4;
}

/* ======================================================
   V5 CATEGORY BLOG LAYOUT
   ====================================================== */

/* --- Category Hero v5 --- */
.category-hero-v5 {
    height: 380px;
    background-size: cover;
    background-position: center;
}
.cat-hero-overlay-v5 {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(30,58,138,0.95) 0%, rgba(30,58,138,0.7) 50%, rgba(30,58,138,0.1) 100%);
}
.cat-hero-breadcrumb-v5 a {
    color: #93c5fd;
    text-decoration: none;
    transition: color 0.3s ease;
}
.cat-hero-breadcrumb-v5 a:hover {
    color: #ffffff;
}
.cat-hero-badge-v5 {
    background-color: rgba(234, 179, 8, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #facc15;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(234, 179, 8, 0.4);
}

/* --- Featured Posts v5 --- */
.blog-fc-large-overlay-v5 {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(15,23,42,0.4) 40%, rgba(15,23,42,0.95) 100%) !important;
    z-index: 1 !important;
}
.blog-featured-card-large-v5:hover .blog-fc-large-bg-v5 {
    transform: scale(1.05);
}
.blog-featured-card-large-v5 {
    position: relative !important;
    min-height: 380px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.blog-fc-large-content-v5 {
    position: absolute !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    z-index: 2 !important;
}
@media (min-width: 992px) {
    .blog-fc-large-content-v5 {
        padding: 40px !important;
    }
}
.blog-featured-card-small-v5 {
    background-color: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 20px !important;
    padding: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.blog-featured-card-small-v5:hover {
    box-shadow: 0 12px 30px rgba(30, 58, 138, 0.08) !important;
    transform: translateY(-3px) !important;
    border-color: #cbd5e1 !important;
}
.blog-fc-small-img-v5 {
    width: 100px !important;
    height: 100px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}
.blog-fc-small-img-inner-v5 {
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 10px !important;
    transition: transform 0.5s ease !important;
}
.blog-featured-card-small-v5:hover .blog-fc-small-img-inner-v5 {
    transform: scale(1.08) !important;
}
.blog-featured-card-small-v5 .badge {
    border-radius: 14px !important;
}
.blog-cta-box-v5 {
    border-radius: 20px !important;
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.15) !important;
}
.blog-cta-box-v5 .btn {
    background-color: #dc2626 !important;
}

/* --- Blog Grid v5 --- */
.blog-card-v5:hover {
    box-shadow: 0 12px 30px rgba(15,23,42,0.08);
    transform: translateY(-5px);
    border-color: #e2e8f0 !important;
}
.blog-card-v5:hover .blog-card-img-wrap-v5 img {
    transform: scale(1.05);
}

.product-highlights-box-v5 .about-check-icon-v5 {
    width: 14px;
	height: 14px; }
/* Responsive Adjustments v5 */
@media (max-width: 991px) {
    .category-hero-v5 { height: auto; padding: 40px 0; }
    .cat-hero-overlay-v5 { background: rgba(30,58,138,0.85); }
    .blog-featured-card-large-v5 { min-height: 380px; }
}
@media (max-width: 767px) {
    .blog-featured-card-large-v5 { min-height: 320px; }
}

/* ================================================================
   3-Level Navigation Menu Styles (PC & Mobile)
   ================================================================ */

/* ─── PC/Desktop Menu Dropdowns ─── */
.header-navigation {
    position: relative; /* ensure dropdown container positions correctly */
}

/* Left-align the main menu on PC and override legacy center alignment */
.fc-menu-header ul.nav-list {
    display: flex !important;
    justify-content: flex-start !important;
    width: 100% !important;
}

/* Hide JS-appended dropdown spans inside PC navigation to avoid duplicate carets */
.fc-menu-header .nav-list li a span.dropdown-menu {
    display: none !important;
}

/* Ensure the main navigation list does not have bullet points */
.fc-menu-header .nav-list,
.fc-menu-header .nav-list ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Parent list items positioning */
.fc-menu-header .nav-list li {
    position: relative;
    list-style: none !important;
}

/* 2nd Level Dropdown (Sub-menu) */
.fc-menu-header .nav-list li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: #ffffff !important;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 8px 0 !important;
    margin-top: 2px !important;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
    display: block !important;
}

/* Hover parent -> Show 2nd Level Dropdown */
.fc-menu-header .nav-list li:hover > ul.sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Dropdown items padding and border reset */
.fc-menu-header .nav-list li ul.sub-menu li {
    width: 100%;
    padding: 0 !important;
}

/* Dropdown links styling */
.fc-menu-header .nav-list li ul.sub-menu li a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px !important;
    color: #334155 !important;
    font-size: 14px;
    font-weight: 500;
    background: transparent !important;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

/* Last link border reset */
.fc-menu-header .nav-list li ul.sub-menu li:last-child > a {
    border-bottom: none;
}

/* Hover dropdown links */
.fc-menu-header .nav-list li ul.sub-menu li a:hover {
    background: #f8fafc !important;
    color: var(--fc-v5-blue-dark, #1d4ed8) !important;
    padding-left: 24px !important;
}

/* 3rd Level Dropdown (Nested sub-menu) */
.fc-menu-header .nav-list li ul.sub-menu li ul.sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 4px !important;
    margin-top: -9px !important;
    transform: translateX(10px);
}

/* Hover parent -> Show 3rd Level Dropdown */
.fc-menu-header .nav-list li ul.sub-menu li:hover > ul.sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

/* Desktop dropdown indicator carets */
.nav-list li.menu-item-has-children > a::after {
    content: "" !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    border-right: 1.5px solid currentColor !important;
    border-bottom: 1.5px solid currentColor !important;
    transform: rotate(45deg) !important;
    margin-left: 6px !important;
    margin-bottom: 3px !important;
    transition: transform 0.2s ease !important;
}

/* 2nd level parent chevron pointing right instead of down */
.nav-list ul.sub-menu li.menu-item-has-children > a::after {
    transform: rotate(-45deg) !important;
    margin-bottom: 0 !important;
    margin-left: auto !important;
}


/* ─── Mobile Accordion Menu Dropdowns ─── */

/* Clean submenus on mobile */
.content-sidebar-menu-mobile ul ul {
    display: none;
    background: #f8fafc !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* Indent Level 2 items */
.content-sidebar-menu-mobile ul ul li a {
    padding-left: 32px !important;
    font-size: 13.5px;
    color: #475569 !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #f1f5f9;
    position: relative !important;
}

/* Indent Level 3 items */
.content-sidebar-menu-mobile ul ul ul li a {
    padding-left: 48px !important;
    font-size: 13px;
    color: #64748b !important;
    background: #f1f5f9 !important;
    position: relative !important;
}

/* Mobile dropdown arrow indicators styling */
.content-sidebar-menu-mobile .dropdown-menu {
    position: absolute !important;
    display: block !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
    border-top: 5px solid #64748b !important;
    margin-left: 0 !important;
    transition: transform 0.2s ease, border-top-color 0.2s ease !important;
    pointer-events: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Rotate arrow when open */
.content-sidebar-menu-mobile li.menu-item-has-children.open > a > .dropdown-menu {
    transform: translateY(-50%) rotate(180deg) !important;
    border-top-color: var(--fc-v5-blue-dark, #1d4ed8) !important;
}