.product-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
}

.product-search-wrap {
    flex: 1 1 280px;
    max-width: 420px;
}

.product-search-input {
    width: 100%;
    height: 54px;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    padding: 0 18px;
    font-size: 15px;
    background: #fff;
    transition: all 0.3s ease;
}

.product-search-input:focus {
    outline: none;
    border-color: #6c8c3c;
    box-shadow: 0 0 0 3px rgba(108, 140, 60, 0.10);
}

.product-filter-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.filter-btn {
    border: 1px solid #e3e3e3;
    background: #fff;
    color: #232323;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    transform: translateY(-2px);
    border-color: #6c8c3c;
    color: #6c8c3c;
}

.filter-btn.active {
    background: #6c8c3c;
    border-color: #6c8c3c;
    color: #fff;
    box-shadow: 0 8px 20px rgba(108, 140, 60, 0.20);
}

.product-grid {
    margin-top: 10px;
}

.product-item.hidden {
    display: none !important;
}

.product-list-card {
    display: flex;
    align-items: center;
    gap: 22px;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
}

.product-list-thumb {
    width: 140px;
    min-width: 140px;
    height: 110px;
    overflow: hidden;
    border-radius: 14px;
    background: #f5f5f5;
}

.product-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-list-card:hover .product-list-thumb img {
    transform: scale(1.05);
}

.product-list-content {
    flex: 1;
    min-width: 0;
}

.product-list-top {
    margin-bottom: 10px;
}

.product-list-brand-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(108, 140, 60, 0.12);
    color: #6c8c3c;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.product-list-title {
    font-size: 24px;
    line-height: 1.3;
    margin: 0;
    font-weight: 800;
    color: #1d1d1d;
}

.product-list-title a {
    color: inherit;
}

.product-list-title a:hover {
    color: #6c8c3c;
}

.product-list-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.product-list-action {
    min-width: 150px;
    display: flex;
    justify-content: flex-end;
}

.btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #6c8c3c;
    color: #fff;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-detail:hover {
    background: #232323;
    color: #fff;
}

.product-empty {
    display: none;
    text-align: center;
    padding: 35px 20px 10px;
    color: #666;
    font-size: 16px;
    font-weight: 600;
}

.product-detail-wrap {
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.product-detail-image-wrap {
    width: 100%;
    height: 520px;
    overflow: hidden;
    border-radius: 18px;
    background: #f5f5f5;
}

.product-detail-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-brand {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(108, 140, 60, 0.12);
    color: #6c8c3c;
    font-size: 13px;
    font-weight: 800;
}

.product-detail-title {
    font-size: 36px;
    line-height: 1.25;
    margin-bottom: 18px;
    font-weight: 800;
}

.product-detail-text {
    font-size: 16px;
    line-height: 1.9;
    color: #666;
    margin-bottom: 24px;
}

@media (max-width: 991px) {
    .product-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .product-search-wrap {
        max-width: 100%;
    }

    .product-filter-groups {
        justify-content: flex-start;
    }

    .product-list-card {
        align-items: flex-start;
    }

    .product-detail-image-wrap {
        height: 420px;
    }
}

@media (max-width: 767px) {
    .product-list-card {
        flex-direction: column;
        align-items: stretch;
    }

    .product-list-thumb {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }

    .product-list-action {
        min-width: 100%;
        justify-content: flex-start;
        margin-top: 16px;
    }

    .btn-detail {
        width: 100%;
        justify-content: center;
    }

    .product-list-title {
        font-size: 20px;
    }

    .product-detail-image-wrap {
        height: 280px;
    }

    .product-detail-title {
        font-size: 28px;
    }
}
