/* ===== FIX DROPDOWN SORT SIZE ISSUE ===== */

/* Giới hạn min-width cho dropdown để tránh bị bung to quá mức */
.tf-dropdown-sort .dropdown-menu {
    min-width: 160px !important;
    max-width: 180px !important;
    width: auto !important;
}

/* ===== RESPONSIVE GRID LAYOUT ===== */
/* Desktop: 4 columns, Tablet: 3 columns, Mobile: 2 columns, Small Mobile: 2 column */
@media (max-width: 1024px) and (min-width: 769px) {
    .tf-grid-layout.tf-col-4 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .tf-grid-layout.tf-col-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .tf-grid-layout.tf-col-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ===== CSS PRICE ===== */
.card-product .card-product-info .price {
    /* font-weight: 300 !important;
    color: #db1215 !important; */
}


.card-product {
    margin-bottom: 10px !important;
    margin-top: 10px !important;
}

.tf-shop-control {
    margin-bottom: 5px !important;
}

/* ===== COLLECTION TITLES SECTION ===== */
.collection-titles-section {
    padding: 20px 0;
    background-color: #f8f9fa;
}

.collection-title-item {
    margin-top: 20px;
}

.collection-title {
    font-size: 30px;
    font-weight: 400;
    /* color: #333; */
    margin: 0;
    padding: 10px 20px;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    display: inline-block;
}

@media (max-width: 768px) {
    .card-product .card-product-info .title {
        font-size: 14px !important;
        font-weight: 300 !important;
    }

    .card-product .card-product-wrapper .list-product-btn.absolute-2 {
        display: none !important;
    }

    .list-product-btn {
        display: none !important;
    }

    .collection-title {
        font-size: 24px;
        padding: 8px 16px;
    }

}

/* ===== FULL WIDTH TITLES IN INTERLEAVED LAYOUT ===== */
/* Grid layout: full width titles */
.tf-grid-layout.wrapper-shop .collection-title-item {
    grid-column: 1 / -1 !important;
}

/* ===== COLLECTION BANNERS SECTION ===== */
.collection-banner-item {
    margin-bottom: 15px;
}

.collection-banner-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: inline-block;
}

@media (max-width: 768px) {
    .collection-banner-item {
        margin-bottom: 10px;
    }
}

/* ===== FULL WIDTH BANNERS IN GRID LAYOUT ===== */
/* Grid layout: full width banners - same as titles */
.tf-grid-layout.wrapper-shop .collection-banner-item {
    grid-column: 1 / -1 !important;
}