/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
/* ============================
   FIXED HEADER – FULL WHITE
   ============================ */

/* 1. Cho header FULL-WIDTH thật sự */
.site-header,
.main-header-bar,
.ast-container {
    max-width: 90!important;
    width: 90 !important;
}

/* Tăng padding để header thoáng hơn */
.main-header-bar {
    padding-left: 40px !important;
    padding-right: 40px !important;
}


/* 2. Sticky Header – luôn hiện khi lướt */
.site-header {
    position: sticky !important;
    top: 0;
    z-index: 9999;
    width: 100%;
}


/* 3. Nền header đẹp – gradient trắng → cam nhạt */
.site-header,
.main-header-bar {
    background: linear-gradient(180deg, #ffffff 70%, #fff3e8) !important;
    box-shadow: 0 4px 18px rgba(255, 120, 0, 0.12) !important;
    border-bottom: 1px solid rgba(255, 120, 0, 0.25) !important;
}


/* 4. Logo đẹp hơn khi sticky */
.site-header.sticky-active .custom-logo,
.main-header-bar.sticky-active .custom-logo {
    transform: scale(0.92);
    transition: 0.3s ease;
}

/* Logo mặc định */
.custom-logo {
    transition: 0.3s ease;
}


/* 5. Menu Link Style */
.main-header-menu > li > a {
    font-weight: 600;
    font-size: 15px;
    padding: 14px 18px !important;
    color: #333 !important;
    transition: 0.25s;
    position: relative;
}

/* Hover màu cam */
.main-header-menu > li > a:hover {
    color: #ff6200 !important;
}

/* Underline animation khi hover */
.main-header-menu > li > a:after {
    content: "";
    position: absolute;
    height: 2px;
    width: 0;
    left: 50%;
    bottom: 6px;
    background: #ff6200;
    transition: 0.3s ease;
}

.main-header-menu > li > a:hover:after {
    width: 60%;
    left: 20%;
}


/* 6. Active Menu – trang đang xem */
.main-header-menu .current-menu-item > a,
.main-header-menu .current_page_item > a {
    color: #ff6200 !important;
    font-weight: 700;
}

.main-header-menu .current-menu-item > a:after {
    width: 60%;
    left: 20%;
}


/* 7. Fix Search Box trong header */
.ast-search-menu {
    margin-left: 25px;
}

.ast-search-menu input {
    border-radius: 6px;
    background: #ffffff !important;
    border: 1px solid #ffd1b3 !important;
}

.ast-search-menu input:focus {
    border-color: #ff6a00 !important;
    box-shadow: 0 0 6px rgba(255, 120, 0, 0.4);
}


/* 8. Responsive đẹp hơn */
@media (max-width: 1024px) {
    .main-header-bar {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 768px) {
    .main-header-menu > li > a {
        padding: 12px 10px !important;
    }
}