/**
 * Hero Banner & Breadcrumb Auto - Style sheet
 */

.hba-hero {
    position: relative;
    width: 100%;
    min-height: 300px; /* Tăng độ cao để ảnh hiện rõ hơn */
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-top: 0 !important;
    clear: both;
    z-index: 10;
}

.hba-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.hba-container {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
}

/* Match Flatsome container if possible */
.container .hba-container { width: 100%; padding:0; }

.hba-title {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
}

.hba-breadcrumb-bar {
    padding: 12px 0;
}

.hba-breadcrumb {
    font-size: 14px;
    color: #666;
}

.hba-breadcrumb-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.hba-toolbar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hba-toolbar .woocommerce-result-count,
.hba-toolbar .woocommerce-ordering {
    margin: 0 !important;
    float: none !important;
    display: inline-block;
}

.hba-breadcrumb a {
    color: #0b5e8c; /* Assuming a brand blue based on Hataco image */
    text-decoration: none;
    transition: color 0.3s;
}

.hba-breadcrumb a:hover {
    color: #ed1c24;
}

.hba-sep {
    margin: 0 8px;
    color: #ccc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hba-hero { min-height: 220px; }
    .hba-title { font-size: 24px; }
    .hba-breadcrumb-bar { padding: 8px 0; }
    .hba-breadcrumb { font-size: 13px; text-align: center; }
    .hba-breadcrumb-flex { flex-direction: column; gap: 10px; }
}

/* Hide default breadcrumbs and duplicate titles to avoid conflict */
.shop-page-title,
.page-title,
.category-page-title,
.woocommerce-breadcrumb,
.breadcrumb-wrapper,
.flatsome-breadcrumb {
    display: none !important;
}

/* Style the manually added filter button in hba-toolbar */
.hba-toolbar .filter-button {
    margin-right: 15px;
    padding: 4px 12px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    font-weight: bold;
}

.hba-toolbar .filter-button i {
    font-size: 14px;
}

.hba-toolbar .filter-button:hover {
    background: #eee;
    color: #0b5e8c;
}

.hba-toolbar {
    min-height: 34px;
}


