.label-success {
    padding: .4em .6em .5em;
    background-color: #5cb85c;
    color: white;
    font-size: 12px;
}

.ui-autocomplete {
    z-index: 2147483647;
}

.label-primary {
    padding: .4em .6em .5em;
    background-color: #0d6efd;
    color: white;
    font-size: 12px;
}

.label-default {
    padding: .4em .6em .5em;
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    font-size: 12px;
}

.label-danger {
    padding: .4em .6em .5em;
    background-color: #dc3545;
    color: white;
    font-size: 12px;
}

.label-warning {
    padding: .4em .6em .5em;
    background-color: #ffca2c;
    color: white;
    font-size: 12px;
}

.label-info {
    padding: .4em .6em .5em;
    background-color: #0dcaf0;
    color: white;
    font-size: 12px;
}

.label-success:hover {
    color: white;
}

.label-primary:hover {
    color: white;
}

.label-danger:hover {
    color: white;
}
.contact-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.float-button {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #0084ff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s;
}

.float-button img {
    width: 28px;
    height: 28px;
}

.float-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .mobile-center {
        text-align: center !important;
    }

    .mobile-center .d-flex {
        justify-content: center !important; /* đưa logo + text vào giữa */
    }

    .contact-float {
        bottom: 60px;
        right: 15px;
        gap: 10px;
    }

    .float-button {
        width: 50px;
        height: 50px;
    }

    .float-button img {
        width: 25px;
        height: 25px;
    }
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
    opacity: 0.8;
    color:white;
    text-decoration:none!important;
}

/* Màu từng mạng xã hội */
.facebook {
    background-color: #3b5998;
}

.tiktok {
    background-color: #000000;
}

.twitter {
    background-color: #1da1f2;
}

.pinterest {
    background-color: #e60023;
}

.youtube {
    background-color: #cc0000;
}

.title-line {
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size:16px;
}

.title-line::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px; /* khoảng cách giữa chữ và line */
    width: 60px; /* độ dài gạch */
    height: 3px; /* độ dày */
    background-color: #f57c00; /* màu cam */
    border-radius: 2px;
}

.section_footer {
    padding-top: 15px;    
    background-color: rgb(236, 245, 246);
}
.section-title {
    text-align: center;
    position: relative;
    margin: 0 0 15px 0;
}

.section-title h2 {
    display: inline-block;
    position: relative;
    font-weight: 700;
    color: #105f54;
    font-size: 20px!important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title h2::before,
.section-title h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 150px; /* độ dài 2 đường */
    height: 1.5px; /* độ mảnh */
    background-color: #d9e3e2; /* màu xám nhạt cho line */
    line-height:20px;
}

.section-title h2::before {
    right: 100%;
    margin-right: 20px;
}

.section-title h2::after {
    left: 100%;
    margin-left: 20px;
}

.row .container {
    padding-left: 0;
    padding-right: 0;
}

.red {
    color:red;
}

.green {
    color:green;
}

.giagoc {
    opacity: .6;
    font-weight: normal;
    font-size: 14px;
    text-decoration: line-through;
}

.images_1_of_4 h2 {
    color: #6A82A4;
    font-family: Tahoma;
    font-size: 0.9em;
    font-weight: normal;
    height: 30px;
}

.content h2 {
    color: #105f54;
    margin-bottom: 2px; margin-top:6px!important;
    font-size: 13px;
    line-height: 1.4;
    font-family: Tahoma;
    font-weight: normal;    
    height: auto; font-weight:bold;
}

a:focus, a:hover {
    color: #23527c;
    text-decoration: underline;
}

.content {
    padding: 10px 2px 0 20px;
    background: #FFF;
}

.content_top {
    padding: 10px 10px;
    border: 1px solid #EBE8E8;
    border-radius: 3px;
}

.group {
    zoom: 1;
}

.section {
    clear: both;  
    margin:0; padding:0;
}
section {
    background: #fff;
    margin: 10px auto;
    padding: 10px 20px !important;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.titleSP {
    color: #105f54 !important;
    font-size: 20px !important;
    font-weight: normal !important;
    height: auto;
    font-weight: bold;
}

ul, ol {
    list-style: none !important;    
    line-height:45px;
}

.highlight {
    color: #e63946 !important;
    font-weight: bold;
}

.cta-btn {
    display: inline-block;
    background: #e63946;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.cta-btn:hover {
    background: #d62828;
}

.icon {
    margin-right: 6px;
}

.center {
    text-align: center;
}

img {
    max-width: 100%;
}

.footer {
    text-align: center;
    font-size: 15px;
    color: #666;
    padding-top: 20px;
}

p, span {
    font-size: 18px;
}

.bigText {
    font-size: 26px;
    color: #222 !important;
}

.midText {
    font-size: 24px;    
}

.grid_1_of_4:first-child {
    margin-left: 0;
}

.images_1_of_4 {
    width: 23.8%;
    padding: 10px;
    text-align: center;
    position: relative;    
    margin-bottom:6px;
}

.grid_1_of_4 {
    display: block;
    float: left;
    margin: 1% 1.2% 0% 0%;
    box-shadow: 0px 0px 3px rgb(150, 150, 150);
    -webkit-box-shadow: 0px 0px 3px rgb(150, 150, 150);
    -moz-box-shadow: 0px 0px 3px rgb(150, 150, 150);
    -o-box-shadow: 0px 0px 3px rgb(150, 150, 150);
}
a {
    text-decoration: none;
}
.price-details {
    margin-top: 10px;
    border-top: 1px solid #CD1F25;
}
.price-number {
    float: left;
    padding-top: 5px;
}
.add-cart {
    float: right;
    display: inline-block;
}
.add-cart h4 a {
    font-size: 15px;
    display: block;
    padding: 10px 15px;
    font-family: Tahoma;
    background: #CD1F25;
    color: #FFF;
    text-decoration: none;
    outline: 0;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
/* --- SLIDER --- */
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nút điều hướng */
.btn-slider {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    padding: 10px 14px;
    font-size: 22px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    transition: background 0.3s;
}

.btn-slider:hover {
    background-color: rgba(0,0,0,0.6);
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

/* Dấu chấm */
.slider-dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.slider-dots button {
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dots button.active {
    background-color: #ff4747;
}

a[href^="tel:"]:hover span {
    color: #b30000!important;
}
.titleH1{
    font-size:28px;
}
.titleH2 {
    font-size: 26px;
    margin-top:10px;
}
/* ===== HEADER MOBILE OPTIMIZE ===== */
@media (max-width: 768px) {
    section {       
        padding: 10px 15px !important;
    }
    #div_footer1, #div_footer2, #div_footer3, #div_search {
        display: none!important;
    }
    .titleH1 {
        font-size: 16px;
        line-height: 22px;
    }
    .titleH2 {
        font-size: 16px;
        line-height: 22px;
    }
    .midText {
        font-size: 16px;
        line-height:30px;
        margin-top:5px;
        margin-bottom:unset!important;
    }
    ul {
        padding-left:unset;
        line-height:20px;
    }
    .bigText {
        color: #222 !important;
        font-size: 18px;
    }
    .images_1_of_4 {
        width: 48.5%;
        padding: 10px;
        text-align: center;
        position: relative;
        margin-bottom: 6px;
    }

    .header .container {
        /*flex-direction: column;*/
        align-items: start;
        text-align: start;
    }

    /* Logo và chữ "THU MUA HÀNG THANH LÝ" */
    .header .logo {
        max-height: 68px;
        margin-bottom: 4px;
    }

    .header .logo-text h5,
    .header .logo-text h4 {
        margin: 0;
        line-height: 1.2;
        text-align:center!important;
    }

    .header .logo-text h5 {
        font-size: 1.1rem;
        color: #c00000;
        font-weight: 700;
    }

    .header .logo-text h4 {
        font-size: 1.5rem;
        color: #c00000;
        font-weight: 800;
    }

    /* Search box nhỏ gọn */
    .header .flex-grow-1 {
        width: 100%;
        max-width: 90%;
        margin: 10px auto;
    }

    .header .input-group input {
        font-size: 0.9rem;
    }

    /* Hotline trên 1 dòng, căn giữa */
    .header .hotline {
        text-align: center !important;
        margin-top: 4px;
    }

    .header .hotline small {
        display: inline;
        font-size: 1.0rem;
        color: #198754;
        font-weight: 600;
        text-transform: uppercase;
    }

    .header .hotline span {
        display: inline;
        margin-left: 5px;
        font-size: 1.1rem;
        color: #c00000;
        font-weight: 700;
    }

    /* Ẩn bóng đổ để header gọn hơn */
    .header.shadow-sm {
        box-shadow: none !important;
    }

    /* Menu mobile */
    .navbar {
        margin-top: 8px;
    }
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}
@media (min-width: 768px) {
    html {
    font-size: 16px;
  }    
}
.logo-phuongmai {
    height: 120px;    
}

@media (max-width: 576px) {
    .logo-phuongmai {
        height: 80px;        
    }
    .images_1_of_4 {
        width: 95%;
        padding: 10px;
        text-align: center;
        position: relative;
        margin-bottom: 6px;
    }
}
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    margin: unset;
    padding: unset;
    font-family: 'Segoe UI', sans-serif !important;
    line-height: 1.6;
    color: #333;
    background: #fafafa;
}
/* ===== Header & Navbar ===== */
.bg-teal {
    background-color: #0f5d57 !important;
}

.logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.navbar-dark .nav-link {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .navbar-dark .nav-link:hover,
    .navbar-dark .nav-link.active {
        color: #ffeb3b;
        transform: translateY(-2px);
    }

/* Dropdown menu */
/* Hiệu ứng dropdown mượt mà */
.dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    background-color: #fff;
    padding: 8px 0;
}

/* Khi hover vào .dropdown */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }

    .navbar .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* Item bên trong dropdown */
.dropdown-menu .dropdown-item {
    font-weight: 500;
    color: #333;
    padding: 8px 20px;
    transition: all 0.25s ease;
    border-radius: 6px;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #0f5d57;
    color: #fff;
    transform: translateX(4px);
}

/* Animation fallback (optional) */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search */
.input-group input {
    border-radius: 30px 0 0 30px;
}

.input-group .btn {
    border-radius: 0 30px 30px 0;
}

/* Responsive */
@media (max-width: 992px) {
    .logo-text h5, .logo-text h4 {
        font-size: 0.9rem;
    }

    .hotline span {
        font-size: 1rem;
    }
}
