﻿
/* ==========================================
   GENERAL
========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: #263238;
    background: #fff;
    line-height: 1.7;
    font-size: 15px;
    font-weight: 400;
}

a {
    text-decoration: none;
}

/* ==========================================
   NAVBAR
========================================== */

.main-navbar {
    background: #211f20;
    padding: 12px 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    padding: 0;
}

.company-logo {
    height: 55px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.main-navbar .nav-link {
    color: #fff;
    font-weight: 500;
    padding: 10px 15px !important;
}

    .main-navbar .nav-link:hover {
        color: #e6bd69;
    }

.btn-contact {
    background: #c9a65c;
    color: #10263f;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 3px;
}

    .btn-contact:hover {
        background: #e6bd69;
        color: #10263f;
    }

/* ==========================================
   HERO BANNER
========================================== */

.hero-section {
    width: 100%;
    min-height: 570px;
    background-image: url('/images/Bia.png');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 70px;
    padding-bottom: 70px;
}

.hero-text {
    max-width: 700px;
    color: #fff;
}

.hero-label {
    color: #e6bd69;
    font-weight: bold;
    letter-spacing: 4px;
}

.hero-text h1 {
    font-size: clamp(34px, 5vw, 55px);
    font-weight: 800;
    line-height: 1.25;
    margin: 20px 0;
}

    .hero-text h1 span {
        display: block;
        color: #e6bd69;
    }

.hero-text p {
    font-size: 17px;
    max-width: 600px;
    margin-bottom: 30px;
}

.btn-gold {
    background: #c9a65c;
    color: #10263f;
    padding: 13px 28px;
    font-weight: bold;
    border-radius: 3px;
}

/* ==========================================
   ABOUT / SECTION
========================================== */

.about-section,
.products-section {
    padding: 85px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

    .section-heading span {
        color: #b28b43;
        font-size: 13px;
        font-weight: bold;
        letter-spacing: 3px;
    }

    .section-heading h2 {
        color: #10263f;
        font-weight: 800;
        margin-top: 10px;
    }

.heading-line {
    width: 65px;
    height: 3px;
    background: #c9a65c;
    margin: 18px auto;
}

.about-section h3 {
    color: #10263f;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-section p {
    color: #66727e;
    text-align: justify;
}

.about-image-placeholder {
    min-height: 300px;
    background: #e9edf1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7b8792;
    font-weight: bold;
    letter-spacing: 2px;
}

/* ==========================================
   PRODUCTS / PRODUCT CARD
========================================== */

.products-section {
    background: #f5f7f9;
}

.product-card {
    background: #fff;
    padding: 35px 25px;
    min-height: 210px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.25s;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
    }

.product-icon {
    color: #c9a65c;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.product-card h5 {
    color: #10263f;
    font-weight: bold;
}

.product-card p {
    color: #78838d;
    margin-bottom: 0;
}

/* COMMITMENT */

.commitment-section {
    padding: 65px 0;
    background: #10263f;
    color: #fff;
}

    .commitment-section span {
        color: #e6bd69;
        letter-spacing: 3px;
        font-weight: bold;
    }

    .commitment-section h2 {
        margin: 15px 0;
        font-weight: bold;
    }

/* ==========================================
   PRODUCT HEADING
========================================== */

.product-heading {
    text-align: center;
    margin-bottom: 35px;
}

    .product-heading .section-label {
        color: #c49a45;
        font-weight: 700;
        letter-spacing: 3px;
        font-size: 13px;
    }

    .product-heading h2 {
        color: #10263f;
        font-weight: 800;
        margin-top: 12px;
        font-size: 26px;
    }

    .product-heading p {
        color: #777;
        margin: 0;
    }

/* ==========================================
   PRODUCT SEARCH
========================================== */

.product-search {
    max-width: 700px;
    margin: 0 auto;
}

    .product-search .form-control {
        min-height: 46px;
        border-radius: 5px;
    }

.btn-search {
    background: #c9a65c;
    color: #10263f;
    font-weight: 700;
    min-width: 110px;
}

    .btn-search:hover {
        background: #10263f;
        color: #fff;
    }

/* ==========================================
   PRODUCT LIST PAGE
========================================== */

.product-page {
    padding: 20px 0 40px;
}

    .product-page .product-heading {
        margin-bottom: 24px;
    }

/* ==========================================
   PRODUCT FILTER
========================================== */

.product-filter-panel {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 30px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.product-search-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.product-search-input {
    flex: 1;
}

    .product-search-input .form-control {
        height: 44px;
        border-radius: 7px;
        border: 1px solid #ddd;
    }

.btn-product-search {
    min-width: 115px;
    border: none;
    border-radius: 7px;
    padding: 0 18px;
    background: #222;
    color: #fff;
    font-weight: 600;
}

    .btn-product-search:hover {
        background: #444;
    }

/* BỐ CỤC 4 BỘ LỌC */

.product-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product-filter-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .product-filter-item label {
        font-size: 14px;
        font-weight: 600;
        color: #444;
    }

    .product-filter-item .form-select {
        height: 42px;
        border-radius: 7px;
        border-color: #ddd;
        font-size: 14px;
        color: #444;
    }

        .product-filter-item .form-select:focus,
        .product-search-input .form-control:focus {
            border-color: #777;
            box-shadow: 0 0 0 0.15rem rgba(0, 0, 0, 0.08);
        }

/* NÚT BỘ LỌC */

.product-filter-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.btn-product-apply {
    background: #222;
    color: #fff;
    border: 1px solid #222;
    border-radius: 7px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

    .btn-product-apply:hover {
        background: #444;
        color: #fff;
    }

.btn-product-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 7px;
    padding: 10px 18px;
    font-size: 14px;
    text-decoration: none;
}

    .btn-product-reset:hover {
        background: #f5f5f5;
        color: #222;
    }

/* ==========================================
   PRODUCT RESULT
========================================== */

.product-result-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .product-result-heading h3 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .product-result-heading p {
        color: #777;
        font-size: 14px;
        margin: 0;
    }

/* ==========================================
   PRODUCT GRID
========================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.product-image {
    width: 100%;
    height: 210px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 12px;
    }

.product-info {
    padding: 16px;
}

.product-code {
    font-size: 12px;
    color: #888;
}

.product-name {
    color: #10263f;
    font-weight: 700;
    margin-top: 10px;
    min-height: 42px;
}

.product-description {
    color: #777;
    font-size: 13px;
    min-height: 58px;
}

.product-price {
    color: #b68a32;
    font-size: 19px;
    font-weight: 800;
    margin: 12px 0;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #777;
    font-size: 12px;
    margin-bottom: 12px;
}

.product-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

    .product-status.available {
        background: #e5f5e9;
        color: #218044;
    }

    .product-status.out {
        background: #fde8e8;
        color: #c0392b;
    }

/* ==========================================
   PRODUCT EMPTY
========================================== */

.product-empty {
    text-align: center;
    padding: 55px 20px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
}

    .product-empty h4 {
        font-size: 19px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .product-empty p {
        color: #777;
        margin-bottom: 18px;
    }

/* ==========================================
   PRODUCT PAGINATION
========================================== */

.product-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 30px 0;
}

    .product-pagination .page-item {
        margin: 0;
    }

    .product-pagination .page-link {
        min-width: 38px;
        height: 38px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
        color: #333;
        background-color: #fff;
        font-size: 14px;
        text-decoration: none;
        transition: all 0.2s ease;
    }

        .product-pagination .page-link:hover {
            background-color: #f2f2f2;
            border-color: #bbb;
            color: #111;
        }

    .product-pagination .page-item.active .page-link {
        background-color: #222;
        border-color: #222;
        color: #fff;
    }

    .product-pagination .page-item.disabled .page-link {
        color: #aaa;
        background-color: #f8f8f8;
        pointer-events: none;
    }

/* ==========================================
   FOOTER
========================================== */

.main-footer {
    background: #091a2b;
    color: #c5cdd5;
    padding: 55px 0 20px;
}

    .main-footer h4,
    .main-footer h5 {
        color: #e6bd69;
        font-weight: bold;
        margin-bottom: 18px;
    }

    .main-footer p {
        margin-bottom: 8px;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

    .main-footer a {
        text-decoration: none;
    }

        .main-footer a:hover {
            text-decoration: underline;
        }

    .main-footer hr {
        border-color: #536171;
    }

/* Hàng thông tin chính */

.footer-main-row {
    padding-bottom: 25px;
}

/* Hàng hotline và thanh toán */

.footer-bottom-row {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Hotline */

.footer-hotline {
    font-size: 19px;
    font-weight: 700;
}

/* Facebook */

.footer-social {
    margin-top: 25px;
    margin-bottom: 0;
}

    .footer-social h5,
    .footer-payment h5 {
        color: #e6bd69;
        font-weight: bold;
        margin-bottom: 20px;
    }

.social-images {
    display: flex;
    align-items: center;
}

    .social-images img {
        width: 55px;
        height: 55px;
        object-fit: contain;
    }

/* Phương thức thanh toán */

.footer-payment {
    margin-top: 0;
    margin-bottom: 0;
}

.payment-images {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

    .payment-images img {
        height: 42px;
        width: auto;
        max-width: 110px;
        object-fit: contain;
        background: #fff;
        padding: 5px;
        border-radius: 5px;
    }

/* Thương hiệu */

.footer-brands {
    margin-top: 45px;
    margin-bottom: 25px;
}

    .footer-brands h5 {
        color: #e6bd69;
        font-weight: bold;
        margin-bottom: 20px;
    }

.brand-images {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

    .brand-images img {
        width: auto;
        height: 42px;
        max-width: 110px;
        object-fit: contain;
        background: #fff;
        padding: 5px;
        border-radius: 5px;
    }

/* Bản quyền */

.copyright {
    font-size: 13px;
    padding-top: 10px;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 992px) {
    .product-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 250px;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .section-heading h2 {
        font-size: 23px;
    }

    .main-navbar .navbar-nav {
        align-items: flex-start !important;
        padding-top: 15px;
    }

    .company-logo {
        height: 45px;
        max-width: 160px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-filter-panel {
        padding: 15px;
    }

    .brand-images {
        gap: 12px;
    }

        .brand-images img {
            height: 35px;
        }

    .footer-main-row,
    .footer-bottom-row {
        row-gap: 25px;
    }

    .footer-bottom-row {
        padding-top: 10px;
    }
}

@media (max-width: 480px) {
    .product-search-row {
        flex-direction: column;
    }

    .btn-product-search {
        height: 42px;
    }

    .product-filter-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-filter-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .product-heading h2 {
        font-size: 22px;
    }
}
