/**
 * Phusa Header Styles
 * Navigation bar only (hero section moved to separate CSS file)
 */

/* Font Face */
@font-face {
    font-family: 'SVN-Shape';
    src: url('../fonts/SVN-Shape.woff2') format('woff2'),
        url('../fonts/SVN-Shape.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'SVN-Shape', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* ===== HEADER STYLES ===== */
.phusa-header-wrapper {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1600px;
    z-index: 1000;
    /* Giữ nguyên kích thước khi zoom */
    transform-origin: center top;
}

/* ===== CONTENT SPACING ===== */
/* Add top margin to main content to prevent header overlap */
.main-wrapper {
    margin-top: 85px; /* 75px header height + 10px spacing */
}

/* Specific spacing for all page types */
.product-container,
.product-catalogue,
.page-wrapper,
.page-breadcrumb,
.page-agency,
.panel-agency,
.panel-body,
.uk-container-center,
.contact-container,
.distribution-container,
.post-container,
.blog-container,
.news-container,
.about-container,
.service-container,
.workshop-container,
.lab-container,
.order-container,
.cart-container,
.auth-container {
    margin-top: 20px;
}

/* Breadcrumb specific spacing */
.page-breadcrumb {
    margin-top: 20px;
}

/* Homepage specific - no extra margin needed as hero section handles spacing */
.phusa-hero-section {
    margin-top: 0;
}

/* Auth pages specific spacing */
.auth-container,
.login-container,
.register-container {
    margin-top: 30px;
}

/* Lab booking pages specific spacing */
.lab-container,
.booking-container,
.checkin-container {
    margin-top: 25px;
}

/* Cart and order pages specific spacing */
.cart-container,
.order-container,
.my-order-container {
    margin-top: 25px;
}

/* Special cases for pages with different layouts */
/* Auth pages that don't use main-wrapper */
body.auth-page,
body.login-page,
body.register-page {
    padding-top: 100px;
}

/* Lab booking pages that might have different structure */
.lab-booking-page,
.checkin-page {
    padding-top: 90px;
}

/* Pages with full-width content */
.full-width-page {
    margin-top: 90px;
}

/* Modal and popup pages */
.modal-page,
.popup-page {
    margin-top: 90px;
}

/* Pages with custom containers */
.custom-container {
    margin-top: 20px;
}

/* Ensure all direct content containers have proper spacing */
[main-content] {
    margin-top: 20px;
}

/* Special handling for pages that extend different layouts */
.page-content {
    margin-top: 20px;
}

/* Blog and news specific spacing */
.blog-post,
.news-article,
.post-content {
    margin-top: 20px;
}

/* Contact and about pages */
.contact-form,
.about-content,
.service-content {
    margin-top: 20px;
}

.phusa-header-top {
    background: transparent;
    backdrop-filter: blur(15px);
    border-radius: 50px;
    height: 75px;
    padding: 0 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.phusa-header-top:hover {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.phusa-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 30px;
}

.phusa-logo-header {
    display: flex;
    align-items: center;
    min-width: 150px;
}

.phusa-logo-header a {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.phusa-logo-header a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.phusa-logo-header img {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* ===== NAVIGATION MENU ===== */
.phusa-nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.phusa-nav-menu li {
    position: relative;
}

.phusa-nav-menu a {
    text-decoration: none;
    color: #1B2E59;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
    position: relative;
}

.phusa-nav-menu a:hover,
.phusa-nav-menu a:focus,
.phusa-nav-menu li:hover > a {
    color: #F4763E;
    text-decoration: underline !important;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.phusa-dropdown-toggle:hover,
.phusa-dropdown-toggle:focus,
.phusa-dropdown:hover .phusa-dropdown-toggle {
    text-decoration: underline !important;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    color: #F4763E !important;
}

.phusa-nav-menu a i {
    font-size: 10px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.phusa-dropdown.active .phusa-dropdown-toggle i {
    transform: rotate(180deg);
}

/* ===== HEADER ACTIONS ===== */
.phusa-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phusa-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.phusa-search-box i {
    position: absolute;
    left: 15px;
    color: #fff;
    font-size: 14px;
    z-index: 2;
    cursor: pointer;
}

.phusa-search-box input {
    padding: 10px 20px 10px 40px;
    border: none;
    border-radius: 25px;
    background: #72ACD6;
    color: white;
    font-size: 14px;
    width: 160px;
    height: 42px;
    outline: none;
    transition: all 0.3s ease;
}

.phusa-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.85);
}

.phusa-search-box input:focus {
    width: 220px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.phusa-search-box button {
    display: none;
}

/* ===== LOGIN BUTTON ===== */
.phusa-login-btn {
    position: relative;
}

.phusa-btn-login {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #72ACD6;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(114, 172, 214, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.phusa-btn-login:hover {
    background: #5a8bb8;
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(114, 172, 214, 0.4);
    transform: translateY(-2px);
}

.phusa-btn-login i {
    font-size: 15px;
}

/* Hide login text on smaller screens - show only icon */
@media (max-width: 1200px) {
    .phusa-btn-login {
        padding: 10px 14px !important;
        gap: 0 !important;
    }
    
    .phusa-btn-login span {
        display: none !important;
    }
    
    .phusa-btn-login i {
        font-size: 16px !important;
    }
}

/* ===== PROFILE BUTTON ===== */
.phusa-btn-profile {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #72ACD6;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(114, 172, 214, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.phusa-btn-profile:hover {
    background: #5a8bb8;
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(114, 172, 214, 0.4);
    transform: translateY(-2px);
}

.phusa-btn-profile i {
    font-size: 15px;
}

/* Hide profile text on smaller screens - show only icon */
@media (max-width: 1200px) {
    .phusa-btn-profile {
        padding: 10px 14px !important;
        gap: 0 !important;
    }
    
    .phusa-btn-profile span {
        display: none !important;
    }
    
    .phusa-btn-profile i {
        font-size: 16px !important;
    }
}

/* ===== CART BUTTON ===== */
.phusa-cart-btn {
    position: relative;
}

.phusa-btn-cart {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #72ACD6;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(114, 172, 214, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.phusa-btn-cart:hover {
    background: #5a8bb8;
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(114, 172, 214, 0.4);
    transform: translateY(-2px);
}

.phusa-btn-cart i {
    font-size: 15px;
}

.phusa-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    min-width: 18px;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

/* ===== LANGUAGE TOGGLE ===== */
.phusa-language-toggle {
    position: relative;
    width: 90px;
    height: 42px;
    background: #72ACD6;
    border-radius: 21px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0 3px;
}

.phusa-language-toggle:hover {
    box-shadow: 0 4px 15px rgba(114, 172, 214, 0.3);
}

.phusa-toggle-slider {
    position: absolute;
    left: 3px;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.phusa-toggle-slider span {
    font-size: 14px;
    font-weight: 700;
    color: #3B4A7A;
    user-select: none;
}

.phusa-language-options {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    position: relative;
}

.phusa-lang-option {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    user-select: none;
    z-index: 1;
    text-decoration: none;
    display: block;
    padding: 6px 8px;
    border-radius: 4px;
}

.phusa-lang-option:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.phusa-lang-option.phusa-active {
    color: transparent;
}

.phusa-lang-option.active {
    color: transparent;
}

.phusa-language-toggle.phusa-en-active .phusa-toggle-slider {
    left: 48px;
}

.phusa-language-toggle.phusa-en-active .phusa-lang-option.phusa-en {
    color: transparent;
}

.phusa-language-toggle.phusa-en-active .phusa-lang-option.phusa-vi {
    color: rgba(255, 255, 255, 0.9);
}

.phusa-language-toggle .phusa-lang-option.phusa-vi {
    color: transparent;
}

/* ===== HEADER HOVER/SCROLL STATES - ELEMENT COLORS ===== */
.phusa-header-top:hover .phusa-nav-menu a,
.phusa-header-wrapper.phusa-scrolled .phusa-nav-menu a {
    text-shadow: none;
}

/* Ensure underline shows on hover even when header is hovered */
.phusa-header-top:hover .phusa-nav-menu a:hover,
.phusa-header-wrapper.phusa-scrolled .phusa-nav-menu a:hover {
    text-decoration: underline !important;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.phusa-header-top:hover .phusa-search-box input,
.phusa-header-wrapper.phusa-scrolled .phusa-search-box input {
    background: #72ACD6;
    color: white;
}

.phusa-header-top:hover .phusa-language-toggle,
.phusa-header-wrapper.phusa-scrolled .phusa-language-toggle {
    background: #72ACD6;
}

/* ===== HEADER SCROLL EFFECT ===== */
.phusa-header-wrapper.phusa-scrolled .phusa-header-top {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* ===== SOCIAL SIDEBAR ===== */
.phusa-social-sidebar {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 2000;
    transition: all 0.3s ease;
    overflow: visible;
}

/* Toggle Button */
.phusa-social-toggle {
    width: 56.65px;
    height: 56.65px;
    background: #F4763E;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(244, 118, 62, 0.3);
}

.phusa-social-toggle:hover {
    background: #e55a2b;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(244, 118, 62, 0.4);
}

.phusa-social-toggle i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

/* Social Icons Container */
.phusa-social-icons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateX(0);
    overflow: visible;
}

/* Collapsed State */
.phusa-social-sidebar.collapsed .phusa-social-icons {
    opacity: 0;
    transform: translateX(-100%);
    pointer-events: none;
}

.phusa-social-sidebar.collapsed .phusa-social-toggle i {
    transform: rotate(180deg);
}

.phusa-social-icon {
    width: 56.65px;
    height: 56.65px;
    background: #1B2E59;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.phusa-social-icon:hover {
    background: #4FC3D4;
    transform: scale(1.1);
}

/* ===== NOTIFICATION CONTAINER ===== */
.phusa-notification-container {
    position: relative;
    display: inline-block;
    overflow: visible;
}

.phusa-notification-btn {
    position: relative;
    cursor: pointer;
}

.phusa-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

/* ===== NOTIFICATION DROPDOWN ===== */
.phusa-notification-dropdown {
    position: fixed;
    top: 50%;
    left: calc(2rem + 56.65px + 1rem);
    transform: translateY(-50%);
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 380px;
    max-width: calc(100vw - 150px);
    max-height: calc(100vh - 280px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phusa-notification-dropdown.show {
    opacity: 1;
    visibility: visible;
}

/* Arrow pointing to notification button */
.phusa-notification-dropdown::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
    filter: drop-shadow(-2px 0 2px rgba(0, 0, 0, 0.1));
}

/* Responsive cho mobile */
@media (max-width: 768px) {
    .phusa-notification-dropdown {
        position: fixed;
        top: auto;
        bottom: 10px;
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
        max-height: 50vh;
        transform: none;
    }
    
    .phusa-notification-dropdown::before {
        display: none;
    }
}

@media (max-width: 1024px) {
    .phusa-notification-dropdown {
        left: calc(2rem + 56.65px + 0.5rem);
        max-width: calc(100vw - 120px);
    }
}

.phusa-notification-header {
    padding: 20px 20px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phusa-notification-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.phusa-mark-all-read {
    background: #72ACD6;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.phusa-mark-all-read:hover {
    background: #5a8bb8;
}

.phusa-notification-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 150px;
    max-height: calc(100vh - 250px);
}

/* Scrollbar styling */
.phusa-notification-list::-webkit-scrollbar {
    width: 6px;
}

.phusa-notification-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.phusa-notification-list::-webkit-scrollbar-thumb {
    background: #72ACD6;
    border-radius: 10px;
}

.phusa-notification-list::-webkit-scrollbar-thumb:hover {
    background: #5a8bb8;
}

/* Mobile scrollbar */
@media (max-width: 768px) {
    .phusa-notification-list {
        max-height: calc(50vh - 150px);
    }
}

.phusa-notification-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.phusa-notification-item:hover {
    background: #f8f9fa;
}

.phusa-notification-item.unread {
    background: #f0f8ff;
    border-left: 3px solid #72ACD6;
}

.phusa-notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
}

.phusa-notification-icon.order,
.phusa-notification-icon.order_created {
    background: #28a745;
}

.phusa-notification-icon.order_paid {
    background: #17a2b8;
}

.phusa-notification-icon.order_shipped {
    background: #fd7e14;
}

.phusa-notification-icon.order_delivered {
    background: #20c997;
}

.phusa-notification-icon.order_cancelled {
    background: #dc3545;
}

.phusa-notification-icon.booking {
    background: #007bff;
}

.phusa-notification-icon.payment_success,
.phusa-notification-icon.deposit_success {
    background: #28a745;
}

.phusa-notification-icon.promotion {
    background: #ffc107;
}

.phusa-notification-icon.system {
    background: #17a2b8;
}

.phusa-notification-icon.news {
    background: #6f42c1;
}

.phusa-notification-icon.message {
    background: #e83e8c;
}

.phusa-notification-icon.custom {
    background: #6c757d;
}

.phusa-notification-content {
    flex: 1;
}

.phusa-notification-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.4;
}

.phusa-notification-message {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 4px;
}

.phusa-notification-time {
    font-size: 12px;
    color: #999;
}

.phusa-notification-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.phusa-view-all {
    color: #72ACD6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.phusa-view-all:hover {
    color: #5a8bb8;
    text-decoration: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== MOBILE MENU ===== */
.phusa-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.phusa-mobile-toggle span {
    width: 28px;
    height: 3px;
    background: #1B2E59;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.phusa-mobile-toggle.phusa-active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.phusa-mobile-toggle.phusa-active span:nth-child(2) {
    opacity: 0;
}

.phusa-mobile-toggle.phusa-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.phusa-mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.phusa-mobile-sidebar.phusa-open {
    right: 0;
}

.phusa-mobile-sidebar-content {
    padding: 100px 30px 30px;
}

.phusa-mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.phusa-mobile-nav-menu li {
    margin-bottom: 8px;
}

.phusa-mobile-nav-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    text-decoration: none;
    color: #1B2E59;
    font-weight: 600;
    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(27, 46, 89, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.phusa-mobile-nav-menu a:hover {
    background: rgba(79, 195, 212, 0.15);
    color: #4FC3D4;
    transform: translateX(5px);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.phusa-mobile-nav-menu a i {
    font-size: 12px;
}

.phusa-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid rgba(27, 46, 89, 0.1);
}

.phusa-mobile-search-box {
    position: relative;
}

.phusa-mobile-search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

.phusa-mobile-search-box input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: none;
    border-radius: 25px;
    background: #72ACD6;
    color: white;
    font-size: 16px;
    outline: none;
}

.phusa-mobile-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.85);
}

.phusa-mobile-search-box button {
    display: none;
}

/* ===== MOBILE LOGIN BUTTON ===== */
.phusa-mobile-login-btn {
    width: 100%;
}

.phusa-mobile-btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: #72ACD6;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(114, 172, 214, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
}

.phusa-mobile-btn-login:hover {
    background: #5a8bb8;
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(114, 172, 214, 0.4);
    transform: translateY(-2px);
}

.phusa-mobile-btn-login i {
    font-size: 18px;
}

/* ===== MOBILE PROFILE ===== */
.phusa-mobile-btn-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #72ACD6;
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(114, 172, 214, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
}

.phusa-mobile-btn-profile:hover {
    background: #5a8bb8;
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(114, 172, 214, 0.4);
    transform: translateY(-2px);
}

.phusa-mobile-btn-profile i {
    font-size: 24px;
}

.phusa-mobile-profile-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.phusa-mobile-profile-name {
    font-size: 16px;
    font-weight: 600;
}

.phusa-mobile-profile-status {
    font-size: 12px;
    opacity: 0.8;
}

/* ===== MOBILE CART BUTTON ===== */
.phusa-mobile-cart-btn {
    width: 100%;
}

.phusa-mobile-btn-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: #72ACD6;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(114, 172, 214, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    position: relative;
}

.phusa-mobile-btn-cart:hover {
    background: #5a8bb8;
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(114, 172, 214, 0.4);
    transform: translateY(-2px);
}

.phusa-mobile-btn-cart i {
    font-size: 18px;
}

.phusa-mobile-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    min-width: 22px;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

.phusa-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.phusa-mobile-overlay.phusa-active {
    opacity: 1;
    visibility: visible;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1400px) {
    .phusa-header-wrapper {
        width: 96%;
    }
    
    .phusa-nav-menu {
        gap: 30px;
    }
    
    .phusa-header-content {
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    .phusa-header-top {
        height: auto;
        border-radius: 35px;
        padding: 15px 25px;
    }
    
    .phusa-header-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .phusa-nav-menu {
        display: none;
    }
    
    .phusa-login-btn,
    .phusa-cart-btn {
        display: none;
    }
    
    .phusa-mobile-toggle {
        display: flex;
    }
    
    /* Adjust content spacing for mobile */
    .main-wrapper {
        margin-top: 100px; /* Increased for mobile header */
    }
    
    /* Mobile spacing for all page types */
    .product-container,
    .product-catalogue,
    .page-wrapper,
    .page-breadcrumb,
    .page-agency,
    .panel-agency,
    .panel-body,
    .uk-container-center,
    .contact-container,
    .distribution-container,
    .post-container,
    .blog-container,
    .news-container,
    .about-container,
    .service-container,
    .workshop-container,
    .lab-container,
    .order-container,
    .cart-container,
    .auth-container {
        margin-top: 25px;
    }
    
    /* Mobile spacing for special cases */
    body.auth-page,
    body.login-page,
    body.register-page {
        padding-top: 110px;
    }
    
    .lab-booking-page,
    .checkin-page {
        padding-top: 100px;
    }
    
    .full-width-page,
    .modal-page,
    .popup-page {
        margin-top: 100px;
    }
    
    [main-content],
    .page-content,
    .blog-post,
    .news-article,
    .post-content,
    .contact-form,
    .about-content,
    .service-content {
        margin-top: 25px;
    }
}

@media (max-width: 768px) {
    .phusa-header-wrapper {
        top: 10px;
        width: 94%;
    }
    
    .phusa-header-top {
        border-radius: 30px;
        padding: 12px 20px;
    }
    
    .phusa-header-actions {
        display: none;
    }
    
    .phusa-mobile-sidebar {
        width: 280px;
    }
    
    /* Responsive Social Sidebar trên mobile */
    .phusa-social-sidebar {
        left: 1rem;
        gap: 0.6rem;
    }
    
    .phusa-social-toggle {
        width: 45px;
        height: 45px;
    }
    
    .phusa-social-toggle i {
        font-size: 16px;
    }
    
    .phusa-social-icon {
        width: 45px;
        height: 45px;
    }
    
    /* Mặc định collapsed trên mobile */
    .phusa-social-sidebar .phusa-social-icons {
        opacity: 0;
        transform: translateX(-100%);
        pointer-events: none;
    }
    
    .phusa-social-sidebar .phusa-social-toggle i {
        transform: rotate(180deg);
    }
    
    /* Adjust content spacing for smaller mobile */
    .main-wrapper {
        margin-top: 110px; /* Further increased for smaller mobile */
    }
    
    /* Smaller mobile spacing for all page types */
    .product-container,
    .product-catalogue,
    .page-wrapper,
    .page-breadcrumb,
    .page-agency,
    .panel-agency,
    .panel-body,
    .uk-container-center,
    .contact-container,
    .distribution-container,
    .post-container,
    .blog-container,
    .news-container,
    .about-container,
    .service-container,
    .workshop-container,
    .lab-container,
    .order-container,
    .cart-container,
    .auth-container {
        margin-top: 30px;
    }
    
    /* Smaller mobile spacing for special cases */
    body.auth-page,
    body.login-page,
    body.register-page {
        padding-top: 120px;
    }
    
    .lab-booking-page,
    .checkin-page {
        padding-top: 110px;
    }
    
    .full-width-page,
    .modal-page,
    .popup-page {
        margin-top: 110px;
    }
    
    [main-content],
    .page-content,
    .blog-post,
    .news-article,
    .post-content,
    .contact-form,
    .about-content,
    .service-content {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .phusa-mobile-sidebar {
        width: 85%;
        max-width: 300px;
    }
    
    .phusa-mobile-sidebar-content {
        padding: 90px 20px 20px;
    }
    
    /* Adjust content spacing for smallest mobile */
    .main-wrapper {
        margin-top: 120px; /* Maximum spacing for smallest screens */
    }
    
    /* Smallest mobile spacing for all page types */
    .product-container,
    .product-catalogue,
    .page-wrapper,
    .page-breadcrumb,
    .page-agency,
    .panel-agency,
    .panel-body,
    .uk-container-center,
    .contact-container,
    .distribution-container,
    .post-container,
    .blog-container,
    .news-container,
    .about-container,
    .service-container,
    .workshop-container,
    .lab-container,
    .order-container,
    .cart-container,
    .auth-container {
        margin-top: 35px;
    }
    
    /* Smallest mobile spacing for special cases */
    body.auth-page,
    body.login-page,
    body.register-page {
        padding-top: 130px;
    }
    
    .lab-booking-page,
    .checkin-page {
        padding-top: 120px;
    }
    
    .full-width-page,
    .modal-page,
    .popup-page {
        margin-top: 120px;
    }
    
    [main-content],
    .page-content,
    .blog-post,
    .news-article,
    .post-content,
    .contact-form,
    .about-content,
    .service-content {
        margin-top: 35px;
    }
}

/* ===== PRODUCT DROPDOWN MENU ===== */
.phusa-dropdown {
    position: relative;
}

.phusa-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
    padding: 15px 0;
    list-style: none;
    margin-left: 0;
}

.phusa-dropdown:hover .phusa-dropdown-menu,
.phusa-dropdown.active .phusa-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.phusa-dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.phusa-dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
}

.phusa-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.phusa-dropdown-menu li a:hover,
.phusa-dropdown-item:hover {
    background: #f8f9fa;
    color: #72ACD6;
    text-decoration: none;
}

.phusa-dropdown-item i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: #72ACD6;
    flex-shrink: 0;
}

.phusa-dropdown-item:hover i {
    color: #5a8bb8;
}

.phusa-dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.phusa-dropdown-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.phusa-dropdown-desc {
    font-size: 12px;
    color: #666;
    opacity: 0.8;
}

.phusa-dropdown-item:hover .phusa-dropdown-title {
    color: #72ACD6;
}

.phusa-dropdown-item:hover .phusa-dropdown-desc {
    color: #5a8bb8;
}

/* Mobile dropdown adjustments */
@media (max-width: 1024px) {
    .phusa-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        margin: 10px 0;
        border-radius: 10px;
        padding: 10px 0;
    }
    
    .phusa-dropdown-item {
        color: white;
        padding: 10px 20px;
    }
    
    .phusa-dropdown-item:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
    }
    
    .phusa-dropdown-item i {
        color: white;
    }
    
    .phusa-dropdown-item:hover i {
        color: white;
    }
}

/* ===== MOBILE DROPDOWN MENU ===== */
.phusa-mobile-dropdown {
    position: relative;
}

.phusa-mobile-dropdown-menu {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 10px 0;
    padding: 10px 0;
    margin-left: 20px;
    list-style: none;
}

.phusa-mobile-dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.phusa-mobile-dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
}

.phusa-mobile-dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

.phusa-mobile-dropdown.active .phusa-mobile-dropdown-menu {
    display: block;
}

.phusa-mobile-dropdown.active .phusa-mobile-dropdown-toggle i {
    transform: rotate(90deg);
}

.phusa-mobile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.phusa-mobile-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

.phusa-mobile-dropdown-item i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: white;
    flex-shrink: 0;
}

.phusa-mobile-dropdown-item:hover i {
    color: white;
}

.phusa-mobile-dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.phusa-mobile-dropdown-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.phusa-mobile-dropdown-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.phusa-mobile-dropdown-item:hover .phusa-mobile-dropdown-title {
    color: white;
}

.phusa-mobile-dropdown-item:hover .phusa-mobile-dropdown-desc {
    color: rgba(255, 255, 255, 0.9);
}

