@charset "UTF-8";
/* =============================================
   KARAOKE NỘI THẤT TRỌN GÓI - MAIN STYLESHEET
   Clone of noithatkaraoketrongoi.com
   ============================================= */

/* ---- CSS Variables ---- */
:root {
    --color-red: #149B8E;
    --color-main: #CF1B19;
    --color-dark-red: #c31829;
    --color-red-hover: #CF1B19;
    --color-green: #28a745;
    --color-green-dark: #207d36;
    --color-text: #333333;
    --color-text2: #444444;
    --color-gray: #6c757d;
    --color-border: #DDDDDD;
    --color-bg: #f8f9fa;
}

/* ---- Reset ---- */
::-webkit-scrollbar { background: #fff; width: 10px; height: 11px; }
::-webkit-scrollbar-thumb { background: #BBBBBB; }
* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }
html { font-size: 16px; }
body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.6;
    background: #fff;
}
a { text-decoration: none; color: var(--color-text); transition: color 0.2s; }
a:hover { color: var(--color-main); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ---- Layout ---- */
.main_fix {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.wapper { max-width: 1920px; margin: 0 auto; }
.flex { display: flex; flex-wrap: wrap; }
.clearfix::after { content: ''; display: table; clear: both; }

/* =============================================
   HEADER
   ============================================= */
.wap_header {
    background: #ffffff;
    position: relative;
    width: 100%;
    z-index: 100;
    padding: 10px 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header .logo img {
    max-height: 70px;
    width: auto;
}
.header .hotline {
    display: flex;
    align-items: center;
    gap: 20px;
}
.hotline-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hotline-item .icon {
    width: 45px;
    height: 45px;
    line-height: 45px;
    border: 1px solid var(--color-main);
    color: var(--color-main);
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    flex-shrink: 0;
}
.hotline-item .info small {
    display: block;
    font-size: 12px;
    color: var(--color-gray);
}
.hotline-item .info strong {
    font-size: 17px;
    color: var(--color-main);
    font-weight: 700;
}
.hotline-item .info a {
    color: var(--color-main);
    font-size: 17px;
    font-weight: 700;
}

/* =============================================
   MENU
   ============================================= */
.wap_menu {
    position: sticky;
    background: var(--color-red);
    height: 50px;
    line-height: 50px;
    width: 100%;
    top: 0;
    z-index: 200;
}
.menu ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
}
.menu > ul > li {
    position: relative;
}
.menu ul li a {
    color: #ffffff;
    font-size: 14px;
    padding: 0 10px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    white-space: nowrap;
}
.menu ul li a:hover,
.menu ul li a.active {
    color: yellow;
}
/* Dropdown */
.menu ul li ul {
    position: absolute;
    top: 50px;
    left: 0;
    display: none;
    min-width: 230px;
    background: #ffffff;
    line-height: 1.5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 300;
}
.menu ul li:hover > ul { display: block; }
.menu ul li ul li a {
    color: #333;
    padding: 8px 15px;
    font-size: 14px;
    text-transform: none;
    font-weight: normal;
    border-bottom: 1px solid #f0f0f0;
}
.menu ul li ul li a:hover { color: var(--color-main); background: #f8f8f8; }
/* Sub-sub menu */
.menu ul li ul li {
    position: relative;
}
.menu ul li ul li ul {
    top: 0;
    left: 100%;
}

/* Hamburger (mobile) */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

/* Cart icon in menu */
.menu-cart {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    cursor: pointer;
    padding: 0 10px;
    font-size: 14px;
}
.menu-cart .count {
    background: var(--color-main);
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* =============================================
   BREADCRUMB
   ============================================= */
.breadCrumbs {
    background: #eeeeee;
    padding: 8px 0;
}
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
}
.breadcrumb a {
    color: var(--color-gray);
    font-size: 13px;
}
.breadcrumb a:hover { color: var(--color-main); }
.breadcrumb span {
    color: var(--color-gray);
    font-size: 13px;
}
.breadcrumb .separator { color: #aaa; }
.breadcrumb .current { color: var(--color-text); font-size: 13px; }

/* =============================================
   BANNER / SLIDER
   ============================================= */
.wap_banner { position: relative; overflow: hidden; }
.banner-slider { position: relative; }
.banner-slider .slide { display: none; }
.banner-slider .slide.active { display: block; }
.banner-slider img { width: 100%; height: 500px; object-fit: cover; }
.banner-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.banner-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
}
.banner-dots span.active { background: #fff; }
.banner-prev, .banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
}
.banner-prev { left: 10px; }
.banner-next { right: 10px; }

/* =============================================
   SECTION TITLES
   ============================================= */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0 15px;
}
.section-title h2 {
    font-size: 24px;
    color: var(--color-text);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    font-family: 'tieude', 'Roboto', Arial, sans-serif;
    font-weight: 700;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-red);
}
.section-title p {
    color: var(--color-gray);
    font-size: 14px;
    margin-top: 10px;
}

/* Section headers with link */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-red);
}
.section-header h2 {
    font-size: 20px;
    color: var(--color-text);
    font-weight: 700;
    text-transform: uppercase;
}
.section-header a {
    color: var(--color-main);
    font-size: 13px;
}

/* =============================================
   STATS (intro section)
   ============================================= */
.wap_stats { background: var(--color-red); padding: 30px 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-item { color: #fff; }
.stat-item .number {
    font-size: 36px;
    font-weight: 700;
    display: block;
}
.stat-item .label { font-size: 14px; opacity: 0.9; }

/* =============================================
   PRODUCT ITEMS
   ============================================= */
.wap_item {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 15px 0;
}
.wap_item.cols-3 { grid-template-columns: repeat(3, 1fr); }
.wap_item.cols-2 { grid-template-columns: repeat(2, 1fr); }

.item {
    position: relative;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.item .img_sp {
    overflow: hidden;
    border: 1px solid var(--color-border);
    margin-bottom: 10px;
    position: relative;
}
.item .img_sp img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.3s;
}
.item:hover .img_sp img { transform: scale(1.05); }
.item .phantram {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    background: var(--color-main);
    font-size: 11px;
    border-radius: 2px;
    padding: 2px 6px;
    z-index: 5;
}
.item .name_sp {
    min-height: 2.8em;
    display: flex;
    align-items: flex-start;
}
.item .name_sp a {
    text-decoration: none;
    color: var(--color-text2);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 5px 0;
}
.item .name_sp a:hover { color: var(--color-main); }
.item .gia_sp {
    margin: 5px 0;
    color: var(--color-main);
    font-weight: 700;
    font-size: 15px;
}
/* Item actions — luôn căn đáy để các card thẳng hàng */
.item-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-top: auto;
    padding-top: 8px;
}
.btn-cart, .btn-buy {
    padding: 7px 5px;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
    text-align: center;
    display: block;
    border-radius: 2px;
    transition: opacity 0.2s;
}
.btn-cart { background: var(--color-red); }
.btn-buy  { background: var(--color-green); }
.btn-cart:hover { opacity: 0.85; }
.btn-buy:hover  { background: var(--color-green-dark); }

/* Quickview overlay */
.item .quickview {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: bottom 0.3s;
}
.item:hover .quickview { bottom: 0; }

/* =============================================
   NEWS / BLOG CARDS
   ============================================= */
.wap_news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 15px 0;
}
.wap_news.cols-4 { grid-template-columns: repeat(4, 1fr); }
.news-card { position: relative; }
.news-card .img-news {
    overflow: hidden;
    border: 1px solid var(--color-border);
    margin-bottom: 10px;
}
.news-card .img-news img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.3s;
}
.news-card:hover .img-news img { transform: scale(1.05); }
.news-card .news-title a {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card .news-title a:hover { color: var(--color-main); }
.news-card .news-date {
    font-size: 12px;
    color: var(--color-gray);
    margin: 5px 0;
}
.news-card .news-summary {
    font-size: 13px;
    color: var(--color-gray);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =============================================
   PROJECT CARDS
   ============================================= */
.wap_project {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 15px 0;
}
.project-card .img-proj {
    overflow: hidden;
    position: relative;
}
.project-card .img-proj img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.3s;
}
.project-card:hover .img-proj img { transform: scale(1.05); }
.project-card .proj-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20,155,142,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.project-card:hover .proj-overlay { opacity: 1; }
.project-card .proj-overlay span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.project-card .proj-name {
    padding: 10px 0 5px;
    font-size: 14px;
    font-weight: 600;
}
.project-card .proj-name a:hover { color: var(--color-main); }

/* =============================================
   SIDEBAR
   ============================================= */
.layout-sidebar {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 25px;
    align-items: start;
}
.sidebar { position: sticky; top: 60px; }
.sidebar-box {
    border: 1px solid var(--color-border);
    margin-bottom: 20px;
}
.sidebar-title {
    background: var(--color-red);
    color: #fff;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}
.sidebar-list a {
    display: block;
    padding: 8px 15px;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    color: var(--color-text);
}
.sidebar-list a:hover,
.sidebar-list a.active { color: var(--color-main); background: #fff8f8; }

/* =============================================
   PRODUCT DETAIL
   ============================================= */
.product-detail-wrap {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 30px;
    padding: 20px 0;
}
.product-gallery { position: relative; }
.gallery-main {
    border: 1px solid var(--color-border);
    margin-bottom: 10px;
    overflow: hidden;
}
.gallery-main img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    cursor: zoom-in;
}
.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
}
.gallery-thumbs img {
    border: 2px solid transparent;
    cursor: pointer;
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
}
.gallery-thumbs img.active,
.gallery-thumbs img:hover { border-color: var(--color-main); }
.product-info .product-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 15px;
    line-height: 1.4;
}
.product-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--color-gray);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}
.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-main);
    margin-bottom: 20px;
}
.product-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.btn-add-cart, .btn-order-now {
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}
.btn-add-cart { background: var(--color-red); color: #fff; }
.btn-order-now { background: var(--color-main); color: #fff; }
.btn-add-cart:hover, .btn-order-now:hover { opacity: 0.85; }
.product-contact {
    background: #fff8e1;
    border: 1px solid #ffe082;
    padding: 12px 15px;
    border-radius: 3px;
    font-size: 14px;
    margin-bottom: 15px;
}
.product-contact a { color: var(--color-main); font-weight: 700; }

/* Product tabs */
.product-tabs { margin-top: 30px; }
.tab-nav {
    display: flex;
    border-bottom: 2px solid var(--color-border);
}
.tab-nav button {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}
.tab-nav button.active {
    color: var(--color-main);
    border-bottom-color: var(--color-main);
}
.tab-content { padding: 20px 0; display: none; }
.tab-content.active { display: block; }
.tab-content h2, .tab-content h3 { color: var(--color-red); margin: 20px 0 10px; }
.tab-content p { margin-bottom: 12px; line-height: 1.8; }
.tab-content img { max-width: 100%; margin: 10px 0; }

/* Related products */
.related-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text);
    padding: 15px 0 10px;
    border-bottom: 2px solid var(--color-red);
    margin-bottom: 20px;
}

/* =============================================
   NEWS DETAIL
   ============================================= */
.news-detail-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    padding: 20px 0;
}
.article-header { margin-bottom: 20px; }
.article-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.4;
    margin-bottom: 10px;
}
.article-meta {
    font-size: 13px;
    color: var(--color-gray);
    display: flex;
    gap: 15px;
}
.article-content { line-height: 1.8; }
.article-content h2 { font-size: 20px; color: var(--color-red); margin: 25px 0 12px; }
.article-content h3 { font-size: 17px; color: var(--color-text); margin: 20px 0 10px; }
.article-content p { margin-bottom: 15px; }
.article-content img { max-width: 100%; margin: 15px 0; border-radius: 3px; }
.article-content ul, .article-content ol { padding-left: 25px; margin-bottom: 15px; }
.article-content li { margin-bottom: 6px; }
.article-content table { width: 100%; border-collapse: collapse; margin: 15px 0; }
.article-content table th, .article-content table td {
    border: 1px solid var(--color-border);
    padding: 8px 12px;
    font-size: 14px;
}
.article-content table th { background: var(--color-red); color: #fff; }

/* Related articles sidebar */
.related-news-box { border: 1px solid var(--color-border); }
.related-news-box .box-title {
    background: var(--color-red);
    color: #fff;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 700;
}
.related-news-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.related-news-item img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    flex-shrink: 0;
}
.related-news-item a {
    font-size: 13px;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-news-item a:hover { color: var(--color-main); }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 30px 0;
}
.contact-info h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.contact-info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: flex-start;
}
.contact-info-item .icon {
    width: 40px;
    height: 40px;
    background: var(--color-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}
.contact-info-item .text strong { display: block; font-size: 14px; }
.contact-info-item .text span { font-size: 14px; color: var(--color-gray); }
.contact-map { margin-top: 20px; }
.contact-map iframe { width: 100%; height: 300px; border: none; }

/* Contact form */
.contact-form h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 14px; margin-bottom: 5px; font-weight: 500; }
.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: 3px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}
.form-control:focus { border-color: var(--color-red); }
textarea.form-control { height: 120px; resize: vertical; }
.btn-submit {
    background: var(--color-main);
    color: #fff;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    border-radius: 3px;
    transition: opacity 0.2s;
}
.btn-submit:hover { opacity: 0.85; }

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 30px 0 20px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #ccc;
    font-size: 14px;
    color: var(--color-text);
    transition: all 0.2s;
    border-radius: 2px;
}
.pagination a:hover { background: var(--color-red); color: #fff; border-color: var(--color-red); }
.pagination a.active { background: var(--color-main); color: #fff; border-color: var(--color-main); font-weight: 700; }
.pagination .prev, .pagination .next { font-size: 18px; font-weight: 700; }

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-box {
    background: #fff;
    border-radius: 4px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.modal-header {
    background: var(--color-red);
    color: #fff;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
}
.modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}
.modal-body { padding: 20px; }

/* Cart Modal */
.cart-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}
.cart-item img { width: 70px; height: 70px; object-fit: cover; border: 1px solid var(--color-border); }
.cart-item .info { flex: 1; }
.cart-item .info a { font-size: 14px; font-weight: 600; }
.cart-item .info .price { color: var(--color-main); font-size: 14px; }
.cart-item .remove-btn {
    background: none;
    border: 1px solid #ccc;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 16px;
    color: var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.btn-checkout {
    background: var(--color-main);
    color: #fff;
    padding: 10px 25px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    border-radius: 3px;
}

/* Notification Modal */
.notif-content { text-align: center; padding: 30px; }
.notif-content img { max-width: 100%; margin: 0 auto 15px; }

/* =============================================
   FIXED CONTACT BUTTONS
   ============================================= */
.fixed-contacts {
    position: fixed;
    right: 15px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}
.fixed-contacts a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s;
    animation: pulse 2s infinite;
}
.fixed-contacts a:hover { transform: scale(1.1); animation: none; }
.fixed-contacts .zalo-btn { background: #0068FF; }
.fixed-contacts .phone-btn { background: var(--color-main); }
.fixed-contacts img { width: 28px; height: 28px; }

@keyframes pulse {
    0%, 100% { box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
    50% { box-shadow: 0 2px 20px rgba(207,27,25,0.5); }
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    right: 15px;
    bottom: 50px;
    width: 40px;
    height: 40px;
    background: var(--color-red);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}
.scroll-top.visible { display: flex; }

/* =============================================
   FOOTER
   ============================================= */
.wap_footer {
    background: #f8f8f8;
    color: #555;
    padding: 40px 0 30px;
    margin-top: 30px;
    border-top: 1px solid #e5e5e5;
}
.footer {
    display: grid;
    grid-template-columns: 40% 20% 30%;
    gap: 20px 5%;
}
.footer-col h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-red);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-red);
}
.footer-col p { font-size: 14px; color: #555; line-height: 1.8; margin-bottom: 10px; }
.footer-col ul { padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: #555; }
.footer-col ul li a:hover { color: var(--color-main); }
.footer-col ul li a::before { content: '› '; color: var(--color-red); }
.footer-social { display: flex; gap: 8px; margin-top: 15px; flex-wrap: wrap; }
.footer-social a {
    display: inline-block;
    transition: opacity 0.2s;
}
.footer-social a:hover { opacity: 0.8; }
.footer-social img { display: block; }
.footer-logo img { max-height: 60px; margin-bottom: 15px; }

.wap_copy {
    background: var(--color-red);
    color: #ffffff;
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
}
.wap_copy a { color: #fff; }
.wap_copy a:hover { color: yellow; }

/* =============================================
   HOME PAGE SECTIONS
   ============================================= */
.wap_section { padding: 30px 0; }
.wap_section.bg-gray { background: #f8f9fa; }

/* About/Intro home section */
.intro-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 30px 0;
}
.intro-text h2 { font-size: 26px; font-weight: 700; color: var(--color-text); margin-bottom: 15px; }
.intro-text h2 span { color: var(--color-main); }
.intro-text p { font-size: 14px; line-height: 1.8; color: #555; margin-bottom: 12px; }
.intro-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f8f8;
    border-left: 3px solid var(--color-red);
}
.highlight-item .icon { font-size: 24px; color: var(--color-red); }
.highlight-item .text strong { display: block; font-size: 18px; color: var(--color-main); }
.highlight-item .text span { font-size: 13px; color: var(--color-gray); }
.intro-image img { width: 100%; border-radius: 5px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }

/* Services section on homepage */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.service-card {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.service-card:hover { box-shadow: 0 5px 20px rgba(0,0,0,0.1); border-color: var(--color-red); }
.service-card .icon {
    font-size: 40px;
    color: var(--color-red);
    margin-bottom: 15px;
}
.service-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 13px; color: var(--color-gray); }

/* Video section */
.video-section iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Category tabs */
.cat-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.cat-tab {
    padding: 7px 15px;
    background: #f0f0f0;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 13px;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.cat-tab:hover, .cat-tab.active {
    background: var(--color-red);
    color: #fff;
    border-color: var(--color-red);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
    transition: opacity 0.2s;
    text-decoration: none;
}
.btn-primary { background: var(--color-red); color: #fff; }
.btn-danger   { background: var(--color-main); color: #fff; }
.btn-success  { background: var(--color-green); color: #fff; }
.btn:hover { opacity: 0.85; }
.btn-xem-them {
    display: block;
    text-align: center;
    margin: 20px auto 0;
    padding: 10px 30px;
    background: transparent;
    border: 2px solid var(--color-red);
    color: var(--color-red);
    font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
    width: fit-content;
    transition: all 0.2s;
    text-decoration: none;
}
.btn-xem-them:hover { background: var(--color-red); color: #fff; }

/* =============================================
   ALERTS / NOTICES
   ============================================= */
.alert {
    padding: 12px 15px;
    border-radius: 3px;
    font-size: 14px;
    margin-bottom: 15px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info    { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* =============================================
   LOADING
   ============================================= */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--color-gray);
}

/* =============================================
   RESPONSIVE - TABLET (max 1024px)
   ============================================= */
@media (max-width: 1024px) {
    .wap_item { grid-template-columns: repeat(3, 1fr); gap: 15px; }
    .footer { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .intro-highlights { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   RESPONSIVE - MOBILE (max 768px)
   ============================================= */
@media (max-width: 768px) {
    .wap_item { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .wap_news { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .wap_project { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .footer { grid-template-columns: 1fr; }
    .hamburger { display: block; }
    .menu ul { display: none; flex-direction: column; height: auto; }
    .menu ul.open { display: flex; }
    .menu ul li ul { position: static; box-shadow: none; background: rgba(0,0,0,0.1); }
    .menu > ul > li { border-bottom: 1px solid rgba(255,255,255,0.1); }
    .menu ul li a { padding: 10px 15px; font-size: 13px; }
    .wap_menu { height: auto; line-height: 1; }
    .layout-sidebar { grid-template-columns: 1fr; }
    .product-detail-wrap { grid-template-columns: 1fr; }
    .news-detail-wrap { grid-template-columns: 1fr; }
    .contact-wrap { grid-template-columns: 1fr; }
    .intro-section { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .header .hotline { display: none; }
    .banner-slider img { height: 200px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title h2 { font-size: 18px; }
}

@media (max-width: 480px) {
    .wap_item { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
