/* CSS resets and variables */
:root {
    --primary-black: #111111;
    --primary-yellow: #f1c40f;
    --primary-white: #ffffff;
    --text-dark: #333333;
    --text-light: #777777;
    --bg-light: #f5f5f5;
    --border-color: #e0e0e0;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Header */
header {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}
.logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-yellow);
    text-decoration: none;
    letter-spacing: 2px;
}
.search-bar {
    display: flex;
    flex: 1;
    margin: 0 40px 0 10px;
    max-width: 600px;
}
.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 14px;
}
.search-bar button {
    padding: 10px 20px;
    background-color: var(--primary-yellow);
    border: none;
    border-radius: 0 4px 4px 0;
    color: var(--primary-black);
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}
.search-bar button:hover {
    opacity: 0.9;
}
.header-actions {
    display: flex;
    gap: 20px;
}
.action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.action-item span {
    color: var(--primary-yellow);
    font-size: 18px;
}

/* Navigation */
nav {
    background-color: var(--primary-yellow);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center; 
    padding: 8px 15px; 
    gap: 12px; 
}
.nav-container a {
    padding: 10px 18px;
    color: var(--primary-black);
    background-color: rgba(255, 255, 255, 0.3); 
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 8px; 
    transition: all 0.3s ease; 
}
.nav-container a:first-child {
    background-color: var(--primary-black);
    color: var(--primary-yellow);
}
.nav-container a:hover {
    background-color: var(--primary-white); 
    color: var(--primary-black);
    transform: translateY(-4px); 
    box-shadow: 0 6px 12px rgba(0,0,0,0.15); 
}
.nav-container a:first-child:hover {
    background-color: #333333; 
    color: var(--primary-yellow);
}

/* Banner Hero */
.hero {
    background: linear-gradient(135deg, var(--primary-black) 40%, #2a2a2a 100%);
    color: var(--primary-white);
    text-align: center;
    padding: 70px 20px;
    border-bottom: 5px solid var(--primary-yellow);
}
.hero h1 {
    font-size: 42px;
    color: var(--primary-yellow);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero p {
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
    color: #ddd;
}
.hero-btn {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    padding: 12px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.4);
}


/* Main Image Banner - Tràn viền 100% */
.main-banner {
    width: 100%;
    background-color: var(--primary-black); 
    border-bottom: 5px solid var(--primary-yellow); /* Thêm dòng này để tạo viền vàng */
}
.main-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; 
}

/* Layout 2 cột: Sidebar và Product Content */
.category-layout {
    max-width: 1200px;
    margin: 30px auto;
    display: flex;
    gap: 30px;
    padding: 0 15px;
}

/* Sidebar Danh Mục */
.sidebar {
    width: 250px;
    flex-shrink: 0;
    background-color: var(--primary-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    align-self: flex-start;
}
.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary-yellow);
    padding-bottom: 10px;
}

.category-group {
    margin-bottom: 25px;
}
.category-group-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.category-group-title:hover {
    color: #d35400;
}
.category-group-title::after {
    content: '▾';
    font-size: 12px;
    color: var(--text-light);
}

.category-list {
    list-style: none;
    padding-left: 10px;
}
.category-list li {
    margin-bottom: 8px;
}
.category-list a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 14px;
    display: block;
    transition: color 0.2s;
}
.category-list a:hover {
    color: #d35400;
    padding-left: 5px;
}

/* Main Content Area */
.main-content {
    flex: 1;
}

/* Category Section Header */
.category-section {
    margin-bottom: 40px;
    background-color: var(--primary-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.category-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}
.category-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-black);
}
.view-more-btn {
    padding: 6px 15px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: #fff;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s;
}
.view-more-btn:hover {
    border-color: var(--primary-yellow);
    color: var(--primary-black);
}

/* Product Grid inside section */
.grid-5-cols {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

/* Product Card Style based on image */
.product-card {
            background-color: var(--primary-white);
            border: 1px solid var(--border-color);
            border-radius: 4px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; /* Hiệu ứng mượt mà hơn */
            cursor: pointer;
            display: flex;
            flex-direction: column;
        }
.product-card:hover {
            transform: translateY(-8px); /* Kéo thẻ sản phẩm trượt lên trên 8px */
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15); /* Đổ bóng to và đậm hơn tạo cảm giác nổi 3D */
            border-color: var(--primary-yellow); /* Đổi màu viền sang vàng cho nổi bật */
        }
.product-image-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background-color: #f9f9f9;
}
.product-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.badge-doanh-nghiep {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom-right-radius: 4px;
    z-index: 2;
}

.product-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-title {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-price-range {
    color: #e74c3c;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}
.negotiable-text {
    color: #e67e22;
    font-size: 11px;
    margin-bottom: 6px;
}
.min-order {
    font-size: 12px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 600;
}
.supplier-info {
    margin-top: auto;
    border-top: 1px dotted #eee;
    padding-top: 8px;
}
.supplier-name {
    font-size: 11px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}
.location-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #999;
}
.contact-count {
    color: #2ecc71;
}
.rating {
    color: #f39c12;
}

/* =========================================
   FOOTER (GIAO DIỆN MỚI)
========================================= */
footer {
    background-color: #0d121c; /* Màu xanh đen sang trọng như ảnh */
    color: #cbd5e1; /* Màu xám sáng cho chữ */
    padding: 60px 0 20px 0;
    margin-top: 60px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1.2fr 1fr 1fr;
    gap: 40px;
    padding: 0 15px;
}

/* Logo Footer */
.footer-logo {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.footer-logo .text-white { color: #ffffff; }
.footer-logo .text-yellow { color: var(--primary-yellow); }

.footer-desc {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 12px;
}
.social-circle {
    width: 38px;
    height: 38px;
    background-color: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-circle:hover {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    transform: translateY(-3px);
}

/* Titles có viền vàng */
.footer-title {
    color: #ffffff;
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.footer-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 2px;
    background-color: var(--primary-yellow);
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
}
.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #e2e8f0;
}
.footer-contact-list li strong {
    color: #ffffff;
    font-size: 15px;
}
.footer-contact-list .icon {
    color: var(--primary-yellow);
    display: flex;
    align-items: center;
}
.footer-contact-list .icon svg {
    width: 18px;
    height: 18px;
}

/* Links Danh Mục */
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links a::before {
    content: '›'; /* Dấu mũi tên nhỏ */
    font-size: 18px;
    color: #94a3b8;
    line-height: 1;
}
.footer-links a:hover {
    color: var(--primary-yellow);
    padding-left: 5px; /* Hiệu ứng đẩy sang phải */
}
.footer-links a:hover::before {
    color: var(--primary-yellow);
}

/* Payment Boxes */
.payment-methods {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.pay-box {
    background-color: #cbd5e1;
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Copyright Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    margin-top: 40px;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-5-cols {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 768px) {
    .category-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
    .grid-5-cols {
        grid-template-columns: repeat(2, 1fr);
    }
    .header-container {
        flex-wrap: wrap;
        gap: 15px;
    }
    .search-bar {
        order: 3;
        margin: 0;
        min-width: 100%;
    }
    .nav-container {
        overflow-x: auto;
        white-space: nowrap;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* =========================================
   GIAO DIỆN TRANG YÊU CẦU BÁO GIÁ 
========================================= */
.quote-page {
    background-color: var(--bg-light);
    padding: 30px 15px;
}
.quote-container {
    max-width: 900px;
    margin: 0 auto;
}
.quote-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px;
}
.quote-warning {
    background-color: #fff8dc;
    border: 1px solid #f9e29c;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 13px;
    color: #8a6d3b;
    margin-bottom: 20px;
    line-height: 1.5;
}
.quote-form-box {
    background-color: var(--primary-white);
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.quote-form-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}
.quote-form-header h3 {
    font-size: 18px;
    font-weight: normal;
    color: #333;
}
.form-row {
    display: flex;
    padding: 20px;
    border-bottom: 1px dashed #eee;
}
.form-row:last-child {
    border-bottom: none;
}
.form-row label {
    width: 150px;
    font-size: 13px;
    color: #333;
    text-align: right;
    padding-right: 20px;
    margin-top: 8px; /* Căn cho nhãn nằm ngang với chữ trong ô input */
}
.form-input {
    flex: 1;
}
.form-input input[type="text"],
.form-input input[type="number"],
.form-input select,
.form-input textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 13px;
    color: #555;
    outline: none;
}
.form-input input:focus, .form-input textarea:focus, .form-input select:focus {
    border-color: #66afe9;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}
.category-selects {
    display: flex;
    gap: 15px;
}
.category-selects select {
    width: 250px;
}
.quantity-inputs {
    display: flex;
    gap: 15px;
}
.quantity-inputs input {
    width: 150px !important;
}
.quantity-inputs select {
    width: 150px;
}
.form-input textarea {
    height: 100px;
    resize: vertical;
}
.textarea-helper {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #777;
    margin-top: 5px;
}
.upload-box {
    width: 70px;
    height: 70px;
    border: 1px dashed #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    cursor: pointer;
    background-color: #fafafa;
}
.upload-box:hover {
    background-color: #f0f0f0;
}
.upload-icon {
    font-size: 24px;
    line-height: 1;
}
.upload-box span:last-child {
    font-size: 11px;
    margin-top: 5px;
}
.quote-submit-area {
    padding: 20px;
    text-align: center;
    background-color: #fbfbfb;
    border-top: 1px solid #e0e0e0;
}
.btn-submit-quote {
    background-color: #f39c12; /* Màu cam giống thiết kế */
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}
.btn-submit-quote:hover {
    background-color: #e67e22;
}

/* =========================================
   HIỆU ỨNG LOGO NỔI VÀ PHÁT SÁNG
========================================= */
.header-container .logo img {
    transition: all 0.3s ease; /* Tạo độ mượt khi thay đổi trạng thái */
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.4)); /* Viền sáng trắng mờ lúc bình thường */
}

.header-container .logo:hover img {
    transform: scale(1.05) translateY(-3px); /* Phóng to nhẹ và nảy lên trên 3px */
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 1)); /* Sáng rực rỡ lên khi giữ/di chuột vào */
}

/* =========================================
   NÚT LIÊN HỆ NỔI (FLOATING CONTACT)
========================================= */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 20px; /* Đặt ở góc dưới bên phải màn hình */
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999; /* Đảm bảo luôn nổi trên cùng, không bị đè */
}

.contact-btn {
    width: 55px;
    height: 55px;
    background-color: #f39c12; /* Màu cam chủ đạo */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 4px solid #e0e0e0; /* Viền xám sáng bao quanh */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    position: relative;
    transition: transform 0.3s ease;
}

.contact-btn:hover {
    transform: scale(1.1); /* Phóng to nhẹ lên khi rê chuột vào */
}

/* Định dạng riêng cho chữ Zalo màu xanh nền trắng */
.zalo-inner {
    width: 36px;
    height: 36px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zalo-text {
    color: #0068ff;
    font-weight: 900;
    font-size: 12px;
    font-family: Arial, sans-serif;
    margin-top: 1px;
}

/* Hiệu ứng sóng tỏa ra (Ripple) cho nút Messenger trên cùng */
.fb-btn::before, .fb-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #f39c12;
    animation: ripple 1.5s infinite ease-out;
    z-index: -1;
}
.fb-btn::after {
    animation-delay: 0.5s; /* Tạo 2 vòng sóng đuổi nhau */
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* --- HIỆU ỨNG SỐ ĐIỆN THOẠI TRƯỢT RA BÊN CẠNH --- */
.phone-tooltip {
    position: absolute;
    right: 70px; /* Cách ra khỏi nút điện thoại 70px về bên trái */
    background-color: #f39c12;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap; /* Không cho chữ rớt dòng */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    
    /* Cài đặt trạng thái lúc bình thường: Ẩn và lùi về bên phải */
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none; /* Không cản trở việc click chuột */
}

/* Tạo hình tam giác (mũi tên) nhỏ chỉ vào nút */
.phone-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px; /* Đẩy ra khỏi viền bên phải */
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #f39c12;
}

/* Khi hover chuột vào nút gọi điện -> Hộp số điện thoại hiện ra và trượt tới */
.contact-btn:hover .phone-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* =========================================
   GIAO DIỆN TRANG BÀI VIẾT (GIỚI THIỆU, CHÍNH SÁCH)
========================================= */
.article-page {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background-color: var(--primary-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    line-height: 1.8;
    color: #444;
}
.article-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-black);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-yellow);
    text-transform: uppercase;
}
.article-content h3 {
    color: #d35400; /* Màu cam nổi bật cho tiêu đề phụ */
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 18px;
}
.article-content p {
    margin-bottom: 15px;
}
.article-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}
.article-content li {
    margin-bottom: 10px;
}
/* =========================================
   CSS CHO POPUP DANH MỤC HIỆN ĐẠI
========================================= */
.category-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.category-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}
.category-popup-content {
    background-color: #ffffff;
    width: 100%;
    max-width: 900px;
    margin-top: 80px;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}
.category-popup-overlay.active .category-popup-content {
    transform: translateY(0);
}
.category-popup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.popup-item {
    display: block;
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid #eaeaea;
    transition: 0.2s;
}
.popup-item:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}
.popup-item-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}
.popup-close-area {
    text-align: center;
    margin-top: 25px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}
#btn-close-category {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 8px 25px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
}
#btn-close-category:hover {
    background-color: #f39c12;
    color: #000;
}
/* Hiệu ứng tương tác cho nút Danh Mục trên thanh Nav */
#btn-open-category:hover {
    background-color: #333333 !important;
    color: var(--primary-yellow) !important;
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2) !important;
}
/* =========================================
   HERO BANNER PHÔI SỈ (ẢNH 1)
========================================= */

.hero-phoi-si {
    background-color: #0b0f17; /* Nền đen xanh sang trọng */
    padding: 60px 20px;
    text-align: center;
    border-radius: 12px;
    max-width: 1600px;
    margin: 30px auto;
    border: 1px solid #1e293b;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.hero-phoi-si-container {
    max-width: 800px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-block;
    background-color: #f39c12;
    color: #000;
    font-size: 11px;
    font-weight: 850;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.hero-phoi-si h1 {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}
.hero-phoi-si h1 .text-yellow {
    color: #f39c12;
}
.hero-phoi-si p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.btn-primary-yellow {
    background: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
    color: #000;
    padding: 12px 25px;
    font-weight: 800;
    font-size: 14px;
    border-radius: 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    transition: 0.2s;
}
.btn-primary-yellow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
}
.btn-secondary-white {
    background-color: #ffffff;
    color: #000;
    padding: 12px 25px;
    font-weight: 800;
    font-size: 14px;
    border-radius: 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
    transition: 0.2s;
}
.btn-secondary-white:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}
/* =========================================
   CHỈNH KÍCH THƯỚC CHỮ CHO BANNER PHÔI SỈ
========================================= */

/* 1. Chữ tiêu đề chính (CHUYÊN CUNG CẤP HÀNG PHÔI SỈ) */
.hero-phoi-si h1 {
    font-size: 38px !important; /* Tăng từ 38px lên 48px (hoặc tùy chỉnh số bạn muốn) */
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* 2. Chữ đoạn mô tả bên dưới tiêu đề */
.hero-phoi-si p {
    color: #94a3b8;
    font-size: 18px !important; /* Tăng từ 15px lên 18px cho dễ đọc */
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* 3. Chữ huy hiệu nhỏ phía trên (XƯỞNG SỈ TRỰC TIẾP) */
.hero-badge {
    display: inline-block;
    background-color: #f39c12;
    color: #000;
    font-size: 13px !important; /* Tăng kích thước huy hiệu lên một chút */
    font-weight: 850;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* 4. Chữ ở các nút bấm (Xem báo giá & Gọi tư vấn) */
.btn-primary-yellow, 
.btn-secondary-white {
    font-size: 16px !important; /* Tăng kích thước chữ trong nút từ 14px lên 16px */
    padding: 14px 28px; /* Tăng nhẹ padding nút cho cân đối */
}

/* =========================================
   SỬA LỖI SLIDESHOW BANNER & KHUNG NỀN ĐEN
========================================= */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 12px;
    /* Xóa bỏ height cố định để khung tự co giãn theo tỷ lệ ảnh, loại bỏ khoảng trống đen */
}

.slide-banner {
    position: relative; /* Chuyển thành relative để đẩy khung tự giãn theo ảnh */
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.slide-banner.active {
    opacity: 1;
    visibility: visible;
    position: absolute; /* Giữ absolute cho ảnh đang active để không bị giật layout */
}