/**
 * VNPT Store - Modern, High-Performance Stylesheet
 * Identical look & feel to Flatsome on vnpt.quangninh.vn
 */

:root {
    --primary-color: #02055a;
    --primary-light: #0005af;
    --secondary-color: #d20808;
    --accent-blue: #0084ff;
    --text-dark: #282828;
    --text-muted: #666666;
    --bg-light: #f7f9fa;
    --border-color: #e5e7eb;
    --footer-bg: #140047;
    --footer-bottom: #0026a3;
    --container-max-width: 1170px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: #1e73be;
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: #d20808;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================================
   HEADER
   ========================================================== */
#header {
    background-color: var(--primary-light);
    color: #ffffff;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header-logo img {
    max-height: 70px;
    width: auto;
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.header-nav > li > a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 6px;
    text-transform: uppercase;
    display: block;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-nav > li > a:hover,
.header-nav > li.active > a {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-header-register {
    background-color: #27ae60;
    background-image: url(/assets/images/yeu-cau-bao-gia-icon.png);
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 20px;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px 10px 42px;
    border-radius: 6px;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s, background-color 0.2s;
    cursor: pointer;
    border: none;
}

.btn-header-register:hover {
    background-color: #219653;
    transform: translateY(-1px);
}

.search-trigger-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
    padding: 8px;
}

/* ==========================================================
   HERO SLIDER
   ========================================================== */
.hero-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    background-color: #0a0a0a;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: auto;
}

.hero-slide {
    display: none;
    width: 100%;
    animation: fadeIn 0.6s ease-in-out;
}

.hero-slide.active {
    display: block;
}

.hero-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 480px;
    margin: 0 auto;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}

.slider-nav-btn:hover {
    background: var(--primary-light);
}

.slider-nav-btn.prev { left: 15px; }
.slider-nav-btn.next { right: 15px; }

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s;
}

.slider-dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

/* ==========================================================
   PROMO BANNERS
   ========================================================== */
.promo-banners-section {
    padding: 20px 0;
}

.promo-banners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.promo-banner-item {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-bottom: 5px solid #888888;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.promo-banner-item:hover {
    border-bottom-color: #d20808;
    transform: translateY(-3px);
}

.promo-banner-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================
   SECTION TITLE
   ========================================================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e1e8ed;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    position: relative;
}

.section-header::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 120px;
    height: 2px;
    background-color: var(--primary-light);
}

.section-header h2 {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0a0a0a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header .view-all-link {
    font-size: 14px;
    font-weight: 600;
    color: #1e73be;
    display: flex;
    align-items: center;
    gap: 4px;
}

.section-header .view-all-link:hover {
    color: var(--secondary-color);
}

/* ==========================================================
   PRODUCT CARDS GRID
   ========================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    border-color: #d0d7de;
}

.product-thumb {
    position: relative;
    padding-top: 85%;
    overflow: hidden;
    background-color: #f9fbfd;
}

.product-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.05);
}

.badge-speed {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 16px;
    font-weight: 700;
    color: #24292f;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-name a {
    color: #1a1a1a;
}

.product-name a:hover {
    color: var(--secondary-color);
}

.product-price-box {
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
}

.product-old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.product-excerpt {
    font-size: 13px;
    color: #555;
    margin-bottom: 12px;
    flex-grow: 1;
    line-height: 1.4;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}

.btn-card-reg {
    background-color: var(--secondary-color);
    color: #ffffff !important;
    text-align: center;
    padding: 7px 10px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-card-reg:hover {
    background-color: #b00606;
}

.btn-card-detail {
    background-color: #f1f5f9;
    color: #334155 !important;
    text-align: center;
    padding: 7px 10px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    transition: all 0.2s;
}

.btn-card-detail:hover {
    background-color: #e2e8f0;
}

/* ==========================================================
   BLOG / NEWS SECTION
   ========================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.news-card {
    display: flex;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.news-thumb {
    width: 40%;
    min-height: 140px;
    position: relative;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-thumb img {
    transform: scale(1.05);
}

.news-content {
    width: 60%;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
}

.news-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.news-title a {
    color: #111;
}

.news-title a:hover {
    color: var(--secondary-color);
}

.news-excerpt {
    font-size: 13px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================
   QUALITY GUARANTEE SECTION
   ========================================================== */
.quality-section {
    background-color: rgb(169, 202, 242);
    padding: 35px 0;
    margin-top: 30px;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.quality-item img {
    width: 90px;
    height: auto;
    margin: 0 auto 12px auto;
}

.quality-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.quality-item p {
    font-size: 13px;
    color: #334155;
    line-height: 1.4;
}

/* ==========================================================
   PROMO LEAD FORM SECTION
   ========================================================== */
.promo-form-section {
    background-color: rgb(236, 205, 96);
    background-image: url(/wp-content/uploads/2019/10/gia-xe-tai-isuzu.jpg);
    background-size: cover;
    background-position: center;
    padding: 40px 0;
    position: relative;
}

.promo-form-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.promo-left-img,
.promo-right-img {
    width: 18%;
    display: flex;
    justify-content: center;
}

.promo-left-img img,
.promo-right-img img {
    max-height: 200px;
    width: auto;
}

.promo-center-form {
    width: 64%;
    background: rgba(255, 255, 255, 0.95);
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    text-align: center;
}

.promo-center-form h3 {
    font-size: 22px;
    font-weight: 800;
    color: #d20808;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.promo-center-form p.des {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-control-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.form-control-input:focus {
    border-color: #02055a;
    box-shadow: 0 0 0 3px rgba(2, 5, 90, 0.1);
}

.btn-promo-submit {
    background-color: #d20808;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 35px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(210, 8, 8, 0.3);
}

.btn-promo-submit:hover {
    background-color: #b00606;
    transform: translateY(-1px);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer-main {
    background-color: var(--footer-bg);
    color: #ffffff;
    padding: 35px 0 25px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 5fr 5fr;
    gap: 30px;
    align-items: center;
}

.footer-logo img {
    max-height: 80px;
    width: auto;
}

.footer-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-info p {
    font-size: 14px;
    line-height: 1.6;
    color: #d1d5db;
}

.footer-links a {
    color: #d1d5db;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    background-color: var(--footer-bottom);
    color: #ffffff;
    padding: 15px 0;
    font-size: 14px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-hotline-badge {
    font-weight: 700;
    background: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 20px;
}

/* ==========================================================
   PRODUCT DETAIL PAGE
   ========================================================== */
.breadcrumbs-bar {
    padding: 15px 0;
    font-size: 13px;
    color: #777;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 25px;
}

.breadcrumbs-bar a {
    color: #555;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 35px;
    margin-bottom: 40px;
}

.product-gallery-box {
    border: 1px solid #ebebeb;
    border-radius: 8px;
    padding: 20px;
    background: #ffffff;
    text-align: center;
}

.product-gallery-box img {
    max-height: 420px;
    margin: 0 auto;
    object-fit: contain;
}

.product-detail-title {
    font-size: 26px;
    font-weight: 800;
    color: #02055a;
    margin-bottom: 10px;
}

.product-detail-price {
    font-size: 28px;
    font-weight: 800;
    color: #d20808;
    margin-bottom: 15px;
}

.product-short-specs {
    background: #f8fafc;
    border-left: 4px solid #0005af;
    padding: 15px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.7;
}

.product-short-specs ul {
    list-style: none;
    padding-left: 0;
}

.product-short-specs ul li {
    padding-left: 22px;
    background: url(/assets/images/checked.png) no-repeat 0 4px;
    background-size: 14px;
    margin-bottom: 6px;
}

.product-cta-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.cta-box-hotline {
    background: #1e88e5;
    color: #ffffff;
    padding: 12px 15px;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
    display: block;
}

.cta-box-hotline:hover {
    background: #1565c0;
    color: #ffffff;
}

.cta-box-hotline .title {
    font-size: 16px;
    font-weight: 700;
    display: block;
}

.cta-box-hotline .desc {
    font-size: 12px;
    opacity: 0.9;
}

.cta-box-reg {
    background: #d20808;
    color: #ffffff;
    padding: 12px 15px;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
    display: block;
}

.cta-box-reg:hover {
    background: #b00606;
    color: #ffffff;
}

.cta-box-reg .title {
    font-size: 16px;
    font-weight: 700;
    display: block;
}

.cta-box-reg .desc {
    font-size: 12px;
    opacity: 0.9;
}

.product-description-content {
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.product-description-content h2,
.product-description-content h3 {
    margin: 15px 0 10px 0;
    color: #02055a;
}

/* ==========================================================
   POPUP MODAL
   ========================================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    color: #111;
    background: #f1f5f9;
}

.modal-title {
    font-size: 20px;
    font-weight: 800;
    color: #02055a;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.modal-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

/* ==========================================================
   MOBILE MENU DRAWER
   ========================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: #ffffff;
    z-index: 10000;
    transition: left 0.3s ease;
    box-shadow: 4px 0 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    left: 0;
}

.mobile-drawer-header {
    background: var(--primary-light);
    color: #ffffff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-drawer-menu {
    list-style: none;
    padding: 15px 0;
    overflow-y: auto;
}

.mobile-drawer-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-drawer-menu li a:hover {
    background: #f7f9fa;
    color: var(--secondary-color);
}

.mobile-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}

.mobile-backdrop.open {
    display: block;
}

/* ==========================================================
   RESPONSIVE QUERIES
   ========================================================== */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .promo-center-form {
        width: 100%;
    }
    .promo-left-img, .promo-right-img {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    .menu-toggle-btn {
        display: block;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .promo-banners-grid {
        grid-template-columns: 1fr;
    }
    .quality-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
    .form-row-2col {
        grid-template-columns: 1fr;
    }
    .product-actions {
        grid-template-columns: 1fr;
    }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================
   PACKAGE SEARCH SECTION & LIVE AUTOCOMPLETE
   ========================================================== */
.package-search-section {
    margin: 25px 0 35px 0;
}
.package-search-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 10px 30px rgba(2, 5, 90, 0.08);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: visible;
}
.package-search-top {
    margin-bottom: 20px;
}
.search-badge {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    border: 1px solid #a7f3d0;
}
.package-search-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.package-search-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}
.package-search-form {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}
.package-search-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}
.search-input-icon {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 18px;
    pointer-events: none;
}
.package-search-input {
    width: 100%;
    height: 52px;
    padding: 0 45px 0 48px;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: all 0.2s ease;
    background: #f8fafc;
}
.package-search-input:focus {
    border-color: #0084ff;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 132, 255, 0.15);
}
.search-clear-btn {
    position: absolute;
    right: 14px;
    background: #e2e8f0;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    line-height: 22px;
    color: #64748b;
    cursor: pointer;
}
.search-clear-btn:hover {
    background: #cbd5e1;
    color: #1e293b;
}
.search-spinner {
    position: absolute;
    right: 14px;
    color: #0084ff;
    font-size: 16px;
}
.package-search-submit-btn {
    height: 52px;
    padding: 0 30px;
    background: linear-gradient(135deg, #d20808 0%, #b91c1c 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(210, 8, 8, 0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.package-search-submit-btn:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    box-shadow: 0 6px 16px rgba(210, 8, 8, 0.35);
    transform: translateY(-1px);
}
.package-quick-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.quick-tag-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-right: 4px;
}
.quick-tag {
    padding: 6px 14px;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.quick-tag:hover {
    background: #e2e8f0;
    color: var(--primary-color);
}
.quick-tag.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    font-weight: 600;
}
.package-search-results {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    margin-top: 15px;
    padding: 12px;
    max-height: 480px;
    overflow-y: auto;
    animation: fadeIn 0.2s ease-in-out;
    z-index: 100;
}
.package-search-results.in-modal {
    box-shadow: none;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}
.live-search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 8px;
    border-bottom: 1px solid #f1f5f9;
    gap: 12px;
    transition: background 0.15s ease;
}
.live-search-item:last-child {
    border-bottom: none;
}
.live-search-item:hover {
    background: #f8fafc;
}
.live-search-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.live-search-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}
.live-search-info {
    flex: 1;
    min-width: 0;
}
.live-search-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--primary-color);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.live-search-name:hover {
    color: var(--secondary-color);
}
.live-search-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
}
.live-search-cat {
    background: #e0f2fe;
    color: #0369a1;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}
.live-search-speed {
    background: #fef3c7;
    color: #b45309;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}
.live-search-price {
    font-weight: 800;
    color: var(--secondary-color);
    font-size: 15px;
}
.live-search-right {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.live-search-btn-reg {
    background: #d20808;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}
.live-search-btn-reg:hover {
    opacity: 0.9;
}
.live-search-btn-detail {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #475569;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
}
.live-search-btn-detail:hover {
    background: #f1f5f9;
    color: var(--primary-color);
}
.live-search-footer {
    padding: 10px 14px;
    text-align: center;
    background: #f8fafc;
    border-radius: 0 0 8px 8px;
    font-size: 13px;
    border-top: 1px dashed #e2e8f0;
}
.live-search-footer a {
    color: #0284c7;
    font-weight: 700;
}
@media (max-width: 768px) {
    .package-search-card {
        padding: 20px 16px;
    }
    .package-search-form {
        flex-direction: column;
    }
    .package-search-submit-btn {
        width: 100%;
        justify-content: center;
    }
    .live-search-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .live-search-right {
        width: 100%;
        justify-content: flex-end;
    }
}

