/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* --- TỔNG THỂ TRANG SẢN PHẨM --- */
.product-main {
    background-color: #eaf6fa; /* Màu nền xanh nhạt đáng yêu */
    padding: 40px 20px;
    font-family: 'Quicksand', 'Poppins', sans-serif;
}

.product-main .content-row {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 30px;
    max-width: 1000px;
    margin: 0 auto !important;
}

/* --- CỘT BÊN TRÁI: HÌNH ẢNH --- */
.product-gallery {
    padding-right: 30px !important;
}

.woocommerce-product-gallery__image img {
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 2px solid #e0f2f1;
}

.image-tools {
    display: none !important; /* Ẩn nút zoom để giao diện gọn gàng giống mẫu */
}

/* --- CỘT BÊN PHẢI: THÔNG TIN SẢN PHẨM --- */
.product-info {
    padding-left: 20px !important;
}

.woocommerce-breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}
.box-image {border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid #e0f2f1;}
.product-title {color: #2b4b7c !important;font-size: 20px;font-weight: 700}
.product-info .product-title {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #2b4b7c !important; /* Màu xanh navy */
    margin-bottom: 20px;
    border-bottom: none !important;
    text-transform: capitalize;
}

/* --- NÚT BẤM DOWNLOAD --- */
.single_add_to_cart_button {
    background-color: #208b8c !important; /* Màu xanh Teal giống phương án 1 */
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 15px 30px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    width: 100% !important;
    text-transform: none !important;
    box-shadow: 0 6px 15px rgba(32, 139, 140, 0.3) !important;
    transition: all 0.3s ease !important;
    margin-bottom: 20px !important;
}

.single_add_to_cart_button:hover {
    background-color: #166a6b !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(32, 139, 140, 0.4) !important;
}

/* --- THÔNG TIN DANH MỤC & MẠNG XÃ HỘI --- */
.product_meta {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed #e0e0e0;
    font-size: 14px;
    color: #555;
}

.product_meta a {
    color: #208b8c;
    font-weight: 600;
}

.social-icons {
    margin-top: 20px;
}
/* Nút Print (Vừa thêm qua Hook) */
.logiqmath-print-btn {
    display: block;
    text-align: center;
    background-color: #4caf50 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 13px 30px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    width: 100% !important;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    margin-bottom: 25px;
}
.logiqmath-print-btn:hover {
    background-color: #388e3c !important;
    transform: translateY(-2px) !important;
    color: #fff !important;
}
/***************/
.mobile-scan {background:url(/wp-content/uploads/2023/02/smartphone3.png) no-repeat;background-size: contain;min-height: 700px;}
.mobile-scan ul li a {color:#C24456!important;font-family: Play, sans-serif;}
.tinhnang-home {min-height:500px}
.QRapplication-home {border:2px solid #C24456;border-radius:10px;padding: 50px 50px 20px 50px;}
.QRapplication-home h2, .info-home h2 {margin-bottom:50px;}
.info-home {margin-top:50px;}
.entry-content.single-page a {color:#1A57B2}
/***************** Archive *******************/
.blog-wrapper.blog-archive h5.post-title {text-transform: uppercase;color: #666666;}
.blog-wrapper.blog-archive .box-text-inner.blog-post-inner .from_the_blog_excerpt {font-size: 16px;color: #666;}
/***************** Single *******************/
.blog-wrapper.blog-single.page-wrapper {padding-top: 0px;}
.blog-wrapper.blog-single .bredc {margin-bottom:20px;}
.blog-wrapper.blog-single .bredc .col {padding-bottom: 7px;padding-top: 5px;}
.blog-wrapper.blog-single p#breadcrumbs {margin-bottom:0px;color:#666}
.single-post .entry-header-text h1.entry-title {color: #54C5D0;font-size: 20px;}
.single-post .entry-header-text .entry-divider {display:none}
.below-title {position:relative;font-size: 13px;color: #888;}
.below-title:after {
	content: "";
    position: absolute;
    bottom: -14px;
    border-bottom: 1px solid #d7d7d7;
    width: 100%;
    left: 0px;
}
.below-title a {margin-left:5px;}
.entry-content.single-page h3 {color:#666;font-size: 17px;}
.feature {
    position: relative;
    overflow: hidden;
}
.single-post .feature::before {
	content: "";
	display: block;
	padding-top: 56.25%;
}
.single-post .feature .image{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background-size: cover;
    background-position: center;
}
.single-post ul.row.related-post li {
    list-style: none;
}
.single-post .related-title {
    line-height: 1.3 !important;
    margin-top: 10px !important;
	max-height: 40px;
    overflow: hidden;
}
.single-post .relatedcat p.title-bvlq {color:#666;font-size: 20px;font-weight: 700;position:relative}
.single-post .relatedcat p.title-bvlq:after {
	content: "";
    position: absolute;
    bottom: 12px;
    border-bottom: 4px solid #54C5D0;
    width: 78%;
    right: 0px;
}
h6.entry-category.is-xsmall {display:none}
.blog-wrapper.blog-archive p#breadcrumbs {margin-bottom:0px;color:#666}
.blog-wrapper.blog-archive .bredc .col {padding-bottom: 7px;}
.blog-wrapper.blog-archive.page-wrapper {padding-top: 7px;}
.bredc i[class^="icon-"] {vertical-align:middle}
.bredc a {color: #54C5D0}
.mdqr-footer {
        color: #94a3b8; 
        padding: 30px 20px 30px; 
        font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    }
    .mdqr-footer-container {
        max-width: 1200px; 
        margin: 0 auto; 
        display: grid; 
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
        gap: 40px; 
    }
    .mdqr-footer h3 {
        color: #ffffff; 
        font-size: 22px; 
        margin-top: 0; 
        margin-bottom: 15px; 
        font-weight: 700;
    }
    .mdqr-footer h4 {
        color: #ffffff; 
        font-size: 16px; 
        margin-top: 0; 
        margin-bottom: 20px;
        font-weight: 600;
    }
    .mdqr-footer p {
        font-size: 14px; 
        line-height: 1.6; 
        margin-bottom: 20px;
    }
    .mdqr-footer ul {
        list-style: none; 
        padding: 0; 
        margin: 0; 
    }
    .mdqr-footer ul li {
        margin-bottom: 12px;
    }
    .mdqr-footer ul li a {
        color: #94a3b8; 
        text-decoration: none; 
        font-size: 14px;
        transition: color 0.2s ease-in-out;
    }
    .mdqr-footer ul li a:hover {
        color: #3b82f6; /* Đổi sang màu xanh dương khi trỏ chuột */
    }
    .mdqr-footer-bottom {
        max-width: 1200px; 
        margin: 0 auto; 
        text-align: center; 
        padding-top: 30px; 
        font-size: 13px;
    }
/**** Menu ****/
.header-nav-main > li.has-dropdown {
    position: static !important;
}
.header-nav-main {
    position: relative;
}
.header-nav-main > li > .nav-dropdown {
    width: 100%;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto;
    padding: 20px; 
}
.nav-dropdown-has-arrow li.has-dropdown:after,.nav-dropdown-has-arrow li.has-dropdown:before {display:none;}
.header-nav-main > li > ul.nav-dropdown {border-radius: 15px;}
ul.header-nav-main li ul li a,ul.header-nav-main li ul li ul li a  {font-weight:normal;color:#333;font-size:15px;text-transform:inherit}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.bannertop-home {height:111vh}
}