
    /* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}
.desktop-only { display: block; }
.mobile-only { display: none; }

/* Hide tracking images */
img[src*="drt.zoosnet.net/js/m_blue/1.gif"],
img[src*="drt.zoosnet.net/lr/images/online_en3.gif"],
img[width="1"][height="1"] { display: none !important; visibility: hidden !important; }

/* Desktop Top Section */
#top {
    background: linear-gradient(135deg, #663399 0%, #7B4AA3 100%);
    color: white;
    padding: 4px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
#top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.address, .hours {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
}
.address strong, .hours strong { font-weight: 700; color: #FFE4B5; }
.hours { text-align: center; }
.search { flex: 1; display: flex; justify-content: flex-end; }
.search-form {
    display: flex;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    width: 280px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.search-form input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    outline: none;
    font-size: 14px;
}
.search-form button {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: white;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 16px;
}

/* Desktop Header */
.main-header {
    background: white;
    padding: 25px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.hotline-section {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(102, 51, 153, 0.1);
}
.phone-icon { font-size: 42px; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.hotline-info label {
    display: block;
    font-size: 15px;
    color: #663399;
    font-weight: 700;
    text-transform: uppercase;
}
.hotline-info a {
    font-size: 28px;
    font-weight: 800;
    color: #663399;
    text-decoration: none;
}

/* Navigation */
.main-nav {
    background: #663399;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.main-nav .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
}
.nav-menu li { position: relative; }
.nav-menu a {
    display: block;
    padding: 12px 18px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.nav-menu a:hover { background: rgba(255,255,255,0.1); }

/* Dropdown Styles */
.dropdown { position: relative; }
.dropdown:hover .sub-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    min-width: 320px;
    max-width: 380px;
    box-shadow:
            0 10px 30px rgba(0,0,0,0.15),
            0 4px 8px rgba(0,0,0,0.1),
            inset 0 1px 0 rgba(255,255,255,0.8);
    border-radius: 12px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(102, 51, 153, 0.1);
    visibility: hidden;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.sub-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(102, 51, 153, 0.1);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    z-index: -1;
}
.sub-menu .category-item {
    list-style: none;
    margin: 0;
    position: relative;
    overflow: hidden;
}
.sub-menu .category-item:first-child a {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.sub-menu .category-item:last-child a {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom: none;
}
.sub-menu .category-item a {
    display: block;
    padding: 16px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: relative;
    background: transparent;
}
.sub-menu .category-item a::before {
    content: '📋';
    margin-right: 12px;
    font-size: 16px;
    opacity: 0.7;
    transition: all 0.3s ease;
}
.sub-menu .category-item a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(102, 51, 153, 0.1) 0%, rgba(102, 51, 153, 0.05) 100%);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}
.sub-menu .category-item a:hover {
    color: #663399;
    transform: translateX(8px);
    background: rgba(102, 51, 153, 0.05);
    border-left: 4px solid #663399;
    padding-left: 16px;
}
.sub-menu .category-item a:hover::before {
    opacity: 1;
    transform: scale(1.1);
}
.sub-menu .category-item a:hover::after {
    width: 100%;
}

/* Animation cho từng item */
.dropdown:hover .category-item {
    animation: slideInFromLeft 0.3s ease forwards;
}
.dropdown:hover .category-item:nth-child(1) { animation-delay: 0.1s; }
.dropdown:hover .category-item:nth-child(2) { animation-delay: 0.15s; }
.dropdown:hover .category-item:nth-child(3) { animation-delay: 0.2s; }
.dropdown:hover .category-item:nth-child(4) { animation-delay: 0.25s; }
.dropdown:hover .category-item:nth-child(5) { animation-delay: 0.3s; }

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cta-button a {
    background: #E53E3E !important;
    border-radius: 4px !important;
    margin: 6px 4px !important;
    font-weight: 800 !important;
}

/* Mobile Header */
.mobile-header {
    background: linear-gradient(135deg, #663399 0%, #7B4AA3 100%);
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: white;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.hamburger {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 8px;
    margin-right: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}
.hamburger span {
    width: 22px;
    height: 3px;
    background: white;
    margin: 2px 0;
    border-radius: 2px;
    transition: 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }
.contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}
.phone-section, .hours-section {
    display: flex;
    align-items: center;
    gap: 8px;
}
.phone-icon, .hours-icon {
    font-size: 20px;
}
.phone-label, .hours-label {
    display: block;
    font-size: 11px;
    opacity: 0.9;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.2;
}
.phone-number {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #FFD700;
    text-decoration: none;
    line-height: 1.2;
}
.hours-time {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

/* Mobile Navigation */
.mobile-nav {
    background: linear-gradient(180deg, #663399 0%, #7B4AA3 100%);
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-nav.active { transform: translateX(0); }
.mobile-nav-menu { list-style: none; padding: 25px 0; }
.mobile-nav-menu li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-nav-menu a {
    display: block;
    padding: 20px 25px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.mobile-nav-menu a:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 35px;
}

/* Mobile Dropdown Styles */
.mobile-dropdown { position: relative; }
.mobile-dropdown > a::after {
    content: '▼';
    float: right;
    font-size: 12px;
    transition: transform 0.3s ease;
    font-weight: 400;
}
.mobile-dropdown.active > a::after {
    transform: rotate(180deg);
}
.mobile-sub-menu {
    display: none;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.1);
    animation: slideDown 0.3s ease;
}
.mobile-sub-menu.active {
    display: block;
}
.mobile-category-item {
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}
.mobile-category-item a {
    padding: 15px 45px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0.3px;
    position: relative;
    background: transparent;
}
.mobile-category-item a::before {
    content: '📋';
    margin-right: 10px;
    font-size: 14px;
    opacity: 0.8;
}
.mobile-category-item a:hover {
    background: rgba(255,255,255,0.15) !important;
    padding-left: 55px !important;
    color: #FFD700;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.mobile-nav-menu .cta-button a {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    margin: 15px 25px !important;
    border-radius: 30px !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3) !important;
    font-weight: 800 !important;
}
.mobile-nav-menu .cta-button a:hover {
    padding-left: 25px !important;
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%) !important;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 998;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.mobile-overlay.active { display: block; }

/* Banner */
#banner .banner-image img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

/* POPUP CHAT - HIỆN CẢ DESKTOP VÀ MOBILE */
.popup-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    padding: 20px 25px;
    z-index: 9999;
    text-align: center;
    opacity: 0;
    transition: 0.4s ease;
    max-width: 90%;
    width: 320px;
}

/* Hiển thị popup */
.popup-container.show {
    display: block !important;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Tiêu đề popup */
.popup-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.4;
}

/* Hàng nút bấm */
.popup-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* Nút chung */
.btn-accept,
.btn-decline {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    color: #fff;
    transition: all 0.3s ease;
}

/* Nút đồng ý */
.btn-accept {
    background: #f9a825;
}
.btn-accept:hover {
    background: #f57f17;
    transform: translateY(-1px);
}

/* Nút từ chối */
.btn-decline {
    background: #009688;
}
.btn-decline:hover {
    background: #00796b;
    transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: flex !important; }
    .mobile-nav { display: block !important; }

    /* POPUP RESPONSIVE CHO MOBILE */
    .popup-container {
        width: 85%;
        max-width: 300px;
        padding: 18px 20px;
        top: 45%;
    }

    .popup-title {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .btn-accept,
    .btn-decline {
        padding: 12px 14px;
        font-size: 13px;
    }

    /* Điều chỉnh contact info cho màn hình nhỏ */
    .contact-info {
        gap: 12px;
    }

    .phone-section .phone-content,
    .hours-section .hours-content {
        line-height: 1.1;
    }

    .phone-label, .hours-label {
        font-size: 10px;
    }

    .phone-number {
        font-size: 14px;
    }

    .hours-time {
        font-size: 13px;
    }
}

/* Điều chỉnh cho màn hình rất nhỏ */
@media (max-width: 480px) {
    .contact-info {
        gap: 8px;
    }

    .phone-label, .hours-label {
        font-size: 9px;
    }

    .phone-number {
        font-size: 13px;
    }

    .hours-time {
        font-size: 12px;
    }

    /* Popup còn nhỏ hơn cho màn hình rất nhỏ */
    .popup-container {
        width: 90%;
        max-width: 280px;
        padding: 15px 18px;
    }

    .popup-title {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .btn-accept,
    .btn-decline {
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (min-width: 769px) {
    .mobile-only { display: none !important; }
}
