﻿.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}
#autocompleteList {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-top: none;
}
.card-img-top {
    border: none !important;
    box-shadow: none !important;
}
/*------------------------------------*/
.breadcrumb-item + .breadcrumb-item::before {
    content: " » ";
    color: #6c757d; /* Màu xám giống Bootstrap */
}

.breadcrumb-item a.custom-link {
    color: blue;
    font-weight: bold;
    font-size: 1.05rem;
}
.textDecoration {
    color: white;
    text-decoration: none;
}

.address-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

    .address-link:hover {
        text-decoration: underline;
        color: yellow;
    }
/*---------------------------------------------*/
.carousel-caption h5 {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
    font-size: 1rem;
}
.banner-carousel {
    height: 180px;
}
.banner-img {
    height: 180px;
    object-fit: cover;
}
.carousel-caption h5 {
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 1rem;
}
.carousel-indicators [data-bs-target] {
    background-color: #fff;
}
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 0-.708 0L4.5 8l6.146 6.354a.5.5 0 0 0 .708-.708L5.707 8l5.647-5.646a.5.5 0 0 0 0-.708z'/%3E%3C/svg%3E") !important;
}
.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0L11.5 8l-6.146 6.354a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
}
.bg-darkgreen {
    background-color: #0077b3;
}
/*--------------------------------------------*/
footer ul li {
    padding: 4px 0;
    color: #f1f1f1;
    font-size: 0.95rem;
}
.footer {
    background-color: #183544;
    color: white;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.footer-col {
    flex: 1 1 220px;
    margin: 10px;
}

    .footer-col h4 {
        color: #f6d65b;
        margin-bottom: 10px;
        border-bottom: 1px solid #f6d65b;
        padding-bottom: 5px;
    }

    .footer-col ul {
        list-style: none;
        padding: 0;
    }

        .footer-col ul li {
            margin-bottom: 8px;
            font-size: 14px;
            color: #fff;
        }

    .footer-col p {
        font-size: 14px;
        line-height: 1.6;
    }

.footer-logo {
    max-width: 120px;
    margin-bottom: 10px;
}

.footer-social a {
    color: #f6d65b;
    font-size: 20px;
    margin-right: 10px;
}

.footer i {
    margin-right: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-col {
        width: 100%;
    }

    .footer-logo {
        max-width: 100px;
    }
}
.HeaderGridView {
    background-image: url(/IMAGES/ADMIN/Title.png);
    background-repeat: repeat-x;
    margin-top: 1px;
    padding: 0px;
    height: 40px;
    border: 1px solid whitesmoke;
    text-align: center;
    top: 0;
    z-index: 10;
    /*position: sticky;*/
    /*font-family: "UTM_Gill_Sans_Con";
        font-size: 18px;*/
}
.ddlLeft {
    display: flex;
    align-items: center; /* Căn giữa theo chiều dọc */
    justify-content: flex-start; /* Đẩy nội dung sang phải */
    height: 30px;
    font-weight: bold;
    font-size: 15px;
    font-style: italic;
    color: blue;
    width: 100%;
    border: solid 1px blue; /* Viền màu xanh dương */
}
.Note {
    background-color: #0077b3;
    /*background-image: url('/images/goods_grain1.jpg');*/
    height: auto;
    width: 100%;
    color: yellow;
    text-align: left;
    font-size: 14px;
    padding: 5px;
    margin-bottom: 2px;
}
.OrderCode {
    background-color: #0077b3;
    /*background-image: url('/images/goods_grain1.jpg');*/
    height: auto;
    width: 100%;
    color: yellow;
    text-align: left;
    font-size: 14px;
    padding: 5px;
    margin-bottom: -1px;
}
.scroll-box {
    max-width: 100%; /* Giới hạn theo chiều rộng màn hình */
    white-space: nowrap; /* Giữ tất cả nội dung trên 1 dòng */
    overflow-x: auto; /* Thêm thanh cuộn ngang khi quá dài */
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    display: block; /* Đảm bảo chiếm toàn bộ chiều ngang */
    color: blue;
    font-size: 15px;
    font-style: italic;
    font-weight: bold;
}
/* wwwroot/CSS/frontend.css — thêm class chung */
.static-page-box {
    background: linear-gradient(135deg, rgba(0,136,255,.15), rgba(0,85,204,.15));
    border: 1px solid rgba(0,136,255,.35);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,136,255,.1);
    padding: 2rem;
}
    .static-page-box h1 {
        color: #0088ff;
        font-weight: 700;
    }
.privacy-card {
    background: #fff;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    border-top: 5px solid #0d6efd;
}
.privacy-title {
    color: #0d6efd;
    font-weight: 700;
    margin-bottom: 10px;
}
.privacy-divider {
    width: 80px;
    height: 4px;
    background: #0d6efd;
    margin: 0 auto;
    border-radius: 20px;
}
.privacy-section {
    margin-top: 30px;
}
    .privacy-section h3 {
        color: #0d6efd;
        font-weight: 600;
        margin-bottom: 15px;
    }
    .privacy-section p,
    .privacy-section li {
        line-height: 1.9;
        text-align: justify;
        color: #444;
    }

    .privacy-section ul {
        padding-left: 25px;
    }

.lead {
    color: #555;
    line-height: 1.8;
}

.policy-card {
    background: linear-gradient( 135deg, rgba(255,255,255,1), rgba(248,250,252,1) );
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    border-top: 5px solid #dc3545;
}

.policy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: rgba(220,53,69,.1);
    color: #dc3545;
    font-size: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-title {
    color: #dc3545;
    font-weight: 700;
    margin-bottom: 10px;
}

.policy-subtitle {
    color: #6c757d;
    margin-bottom: 30px;
}

.policy-section h3 {
    font-weight: 600;
    margin-bottom: 20px;
}

.policy-item {
    background: #fff;
    border-left: 4px solid #dc3545;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
}

    .policy-item h5 {
        color: #dc3545;
        font-weight: 600;
        margin-bottom: 12px;
    }

    .policy-item ul {
        margin-bottom: 0;
    }

    .policy-item li {
        line-height: 1.8;
    }

/* ============================================================ */
/* SECTION HEADER — tối giản sang trọng, dùng chung cho 3 khu vực */
/* ============================================================ */
/* wwwroot/CSS/frontend.css — thêm */
.content-section-block {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 1rem 1rem 1rem;
}
    .content-section-block .section-header {
        margin-bottom: 1.5rem;
    }
/* wwwroot/CSS/frontend.css — viết lại .section-sub đơn giản */
.section-header .section-sub {
    font-size: 2.15rem;
    font-weight: 600;
    margin: 6px 0 0;
    color: blue;
}
.section-header {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.75rem;
    padding-bottom: .9rem;
    border-bottom: 1px solid #e5e5e5;
}
    .section-header .icon-badge {
        width: 38px;
        height: 38px;
        border-radius: 8px;
        background: #fafafa;
        border: 1px solid #e5e5e5;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
        .section-header .icon-badge i {
            font-size: 17px;
            color: #333;
        }
    .section-header h2 {
        font-size: 1.35rem;
        font-weight: 600;
        color: #1a1a1a;
        margin: 0;
        letter-spacing: -.01em;
    }
    .section-header .section-sub {
        font-size: .85rem;
        color: #888;
        margin: 2px 0 0;
    }
/* ===== SECTION HEADER ĐẸP ===== */
.section-header-pro {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.5rem;
    padding: 14px 16px;
    background: linear-gradient(135deg, #e8f4ff 0%, #fff 60%);
    border-left: 5px solid #0088ff;
    box-shadow: 0 2px 12px rgba(0,136,255,.10);
    border-radius: 15px;
    /*background: linear-gradient(135deg, #fff7e6 0%, #fff 60%);
    border-left: 5px solid #e85d04;
    box-shadow: 0 2px 12px rgba(232,93,4,.10);*/
}

    .section-header-pro .sh-icon {
        width: 35px;
        height: 35px;
        background: linear-gradient(135deg, #0088ff, #00aaff);
        box-shadow: 0 4px 12px rgba(0,136,255,.35);
        /*background: linear-gradient(135deg, #e85d04, #f48c06);
        box-shadow: 0 4px 12px rgba(232,93,4,.35);*/
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        .section-header-pro .sh-icon i {
            color: #fff;
            font-size: 22px;
        }

    .section-header-pro h2 {
        margin: 0;
        font-size: 1.35rem;
        font-weight: 800;
        letter-spacing: .5px;
        background: linear-gradient(90deg, #0055cc, #0088ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        /*background: linear-gradient(90deg, #e85d04, #f48c06);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;*/
        text-transform: uppercase;
    }

    .section-header-pro .sh-line {
        flex: 1;
        height: 2px;
        background: linear-gradient(90deg, #0088ff 0%, transparent 100%);
        /*background: linear-gradient(90deg, #f48c06 0%, transparent 100%);*/
        border-radius: 2px;
        margin-left: 8px;
    }

@media (max-width: 576px) {
    .section-header-pro h2 {
        font-size: 1.1rem;
    }

    .section-header-pro .sh-icon {
        width: 30px;
        height: 30px;
    }

        .section-header-pro .sh-icon i {
            font-size: 18px;
        }
}
/* ============================================================ */
/* CARD — đồng bộ Sản phẩm / Tin tức / Đối tác */
/* ============================================================ */
.elegant-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
    height: 100%;
}

    .elegant-card:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,.07);
        transform: translateY(-3px);
        border-color: #d8d8d8;
    }

    .elegant-card .card-img-wrap {
        overflow: hidden;
        position: relative;
        background: #f0f0f0;
    }
        .elegant-card .card-img-wrap .img-bg-blur {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: blur(20px) brightness(.85);
            transform: scale(1.15); /* tránh viền trắng do blur kéo ra ngoài */
            z-index: 1;
        }

        .elegant-card .card-img-wrap .img-main {
            position: relative;
            z-index: 2;
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        .elegant-card .card-img-wrap img {
            width: 100%;
            display: block;
            transition: transform .35s ease;
        }

    .elegant-card:hover .card-img-wrap img {
        transform: scale(1.04);
    }

    .elegant-card .card-body-elegant {
        padding: 1rem 1.1rem 1.15rem;
    }

    .elegant-card .card-title-elegant {
        font-size: .98rem;
        font-weight: 600;
        color: #1a1a1a;
        line-height: 1.4;
        margin-bottom: .5rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-transform: none; /* bỏ uppercase mặc định để sang trọng hơn */
    }

    .elegant-card .card-meta {
        font-size: .82rem;
        color: #999;
        display: flex;
        align-items: center;
        gap: 5px;
    }

        .elegant-card .card-meta .meta-value {
            color: #555;
            font-weight: 500;
        }

    .elegant-card .card-price {
        font-size: .95rem;
        font-weight: 600;
        color: #1a1a1a;
    }

    .elegant-card .card-footer-link {
        font-size: .8rem;
        color: #999;
        margin-top: .6rem;
    }

        .elegant-card .card-footer-link a {
            color: #c0392b;
            font-weight: 600;
            text-decoration: none;
        }
.video-card-elegant .play-overlay {
    position: absolute;
    inset: 0;
    z-index: 3; /* trên cả img-bg-blur (1) và img-main (2) */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0);
    transition: background .25s ease;
}

.video-card-elegant:hover .play-overlay {
    background: rgba(0,0,0,.2);
}

.video-card-elegant .play-overlay i {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .25s ease, transform .25s ease;
}

.video-card-elegant:hover .play-overlay i {
    opacity: 1;
    transform: scale(1);
}
/* ============================================================ */
/* PARTNER LOGO — tối giản, viền mỏng */
/* ============================================================ */
.logo-card {
    width: 100%;
    height: 130px;
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow .25s ease, border-color .25s ease;
}

    .logo-card:hover {
        box-shadow: 0 6px 18px rgba(0,0,0,.06);
        border-color: #d8d8d8;
    }

    .logo-card img {
        max-width: 70%;
        max-height: 70%;
        object-fit: contain;
        filter: grayscale(15%);
        transition: filter .25s ease;
    }

    .logo-card:hover img {
        filter: grayscale(0%);
    }

/* Pagination tối giản */
.pagination .page-link {
    border: 1px solid #ececec;
    color: #555;
    margin: 0 3px;
    border-radius: 8px !important;
}

.pagination .page-item.active .page-link {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.pagination .page-link:hover {
    background: #fafafa;
    border-color: #d8d8d8;
}
