body {
    background-color: #f5f5f5;
    font-family: 'Arial', sans-serif;
}

.nav-tabs-custom .nav-link {
    border: none;
    color: #666;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.nav-tabs-custom .nav-link.active {
    color: #d32f2f;
    /* Màu đỏ cho tab active */
    border-bottom: 3px solid #d32f2f;
    background-color: transparent;
}

.nav-tabs-custom .nav-link:hover {
    border-bottom: 3px solid #ccc;
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.image-container {
    position: relative;
}

.fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    border: none;
    cursor: pointer;
}

.fav-btn:hover {
    background: #fff;
    color: #e74c3c;
}

.fav-btn.active i {
    color: #e74c3c;
    font-weight: bold;
    /* Biểu tượng tim đặc */
}

.time-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.75rem;
}

.card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.price {
    color: #d32f2f;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 4px;
}

.attributes {
    font-size: 13px;
    color: #666;
    margin-bottom: auto;
    /* Đẩy location xuống dưới cùng */
}

.location {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

.section-title {
    font-weight: bold;
    margin-bottom: 15px;
}
/* ============================================================
   NAVBAR (BDS)
   ============================================================ */
.bds-navbar {
    background-color: #2c3e50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    padding: 0 0;
    min-height: 60px;
}
.bds-navbar-brand {
    padding: 8px 0;
    text-decoration: none;
}
.bds-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}
.bds-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}
.bds-logo-dot { color: #e74c3c; }

.bds-nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 18px 14px !important;
    transition: color 0.2s;
}
.bds-nav-link:hover,
.bds-nav-link:focus {
    color: #fff !important;
}
.bds-dropdown {
    border: none;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    min-width: 180px;
    padding: 6px 0;
}
.bds-dropdown-item {
    font-size: 13px;
    color: #2c3e50;
    padding: 8px 18px;
    transition: background 0.15s;
}
.bds-dropdown-item:hover {
    background: #f4f6f9;
    color: #d32f2f;
}
.bds-phone {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s;
}
.bds-phone:hover { color: #fff; }
.bds-btn-admin {
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    transition: background 0.2s;
    text-decoration: none;
}
.bds-btn-admin:hover {
    background: #c0392b;
    color: #fff;
}
.bds-toggler {
    border-color: rgba(255,255,255,0.3);
    padding: 4px 8px;
}
.bds-toggler .navbar-toggler-icon {
    filter: invert(1);
}

/* Khoảng cách sau navbar */
body { padding-top: 0; }

/* ============================================================
   NAVBAR (BDS)
   ============================================================ */
.bds-navbar {
    background-color: #2c3e50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    padding: 0 0;
    min-height: 60px;
}
.bds-navbar-brand {
    padding: 8px 0;
    text-decoration: none;
}
.bds-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}
.bds-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}
.bds-logo-dot { color: #e74c3c; }

.bds-nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 18px 14px !important;
    transition: color 0.2s;
}
.bds-nav-link:hover,
.bds-nav-link:focus {
    color: #fff !important;
}
.bds-dropdown {
    border: none;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    min-width: 180px;
    padding: 6px 0;
}
.bds-dropdown-item {
    font-size: 13px;
    color: #2c3e50;
    padding: 8px 18px;
    transition: background 0.15s;
}
.bds-dropdown-item:hover {
    background: #f4f6f9;
    color: #d32f2f;
}
.bds-phone {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s;
}
.bds-phone:hover { color: #fff; }
.bds-btn-admin {
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    transition: background 0.2s;
    text-decoration: none;
}
.bds-btn-admin:hover {
    background: #c0392b;
    color: #fff;
}
.bds-toggler {
    border-color: rgba(255,255,255,0.3);
    padding: 4px 8px;
}
.bds-toggler .navbar-toggler-icon {
    filter: invert(1);
}

/* Khoảng cách sau navbar */
body { padding-top: 0; }
